]> git.localhorst.tv Git - l2e.git/commitdiff
set correct literal status in Value constructor
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 28 Aug 2012 20:50:17 +0000 (22:50 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 28 Aug 2012 20:50:17 +0000 (22:50 +0200)
src/loader/ParsedSource.h

index e33796aa8601c0560b476972163dd47ec3581863..6351ae43f90855b8786c57f2c2d23447817ef0bd 100644 (file)
@@ -78,7 +78,7 @@ public:
        explicit Value(const std::string &identifier)
        : literal(0), identifier(identifier), isLiteral(false) { }
        explicit Value(Literal *literal)
-       : literal(literal), isLiteral(false) { }
+       : literal(literal), isLiteral(true) { }
 
 public:
        bool IsLiteral() const { return isLiteral; }