Get & variable declarations working

This commit is contained in:
Jason Turner
2011-09-24 14:21:21 -06:00
parent 425ca59a34
commit a28dfd8695
4 changed files with 59 additions and 13 deletions

View File

@@ -112,7 +112,7 @@ namespace chaiscript
struct AST_Node : std::enable_shared_from_this<AST_Node> {
public:
const std::string text;
const int identifier;
const int identifier; //< \todo shouldn't this be a strongly typed enum value?
std::shared_ptr<const std::string> filename;
File_Position start, end;
std::vector<AST_NodePtr> children;