diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-16 21:29:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-16 21:29:57 +0300 |
commit | 8fa600f92e2d50ace451eae7e658f762e6bf7136 (patch) | |
tree | f2ead1b7a6d0c07626211d283ed04b234653b7b6 /src/parsers/stmt/for_stmt.cpp | |
parent | aeba935c42c31e9f2cf557aaf69dda7cf91d7fdd (diff) | |
download | paranucker-8fa600f92e2d50ace451eae7e658f762e6bf7136.tar.gz paranucker-8fa600f92e2d50ace451eae7e658f762e6bf7136.tar.bz2 paranucker-8fa600f92e2d50ace451eae7e658f762e6bf7136.tar.xz paranucker-8fa600f92e2d50ace451eae7e658f762e6bf7136.zip |
Add parsing node CONTINUE_STMT.
Also add location reading for all statements.
Diffstat (limited to 'src/parsers/stmt/for_stmt.cpp')
-rw-r--r-- | src/parsers/stmt/for_stmt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parsers/stmt/for_stmt.cpp b/src/parsers/stmt/for_stmt.cpp index ba6e18b..d06be43 100644 --- a/src/parsers/stmt/for_stmt.cpp +++ b/src/parsers/stmt/for_stmt.cpp @@ -21,6 +21,7 @@ parserDefine(ForStmt); +#include "parsers/base/expr.h" #include "parsers/base/stmt.h" #include "nodes/stmt/for_stmt.h" @@ -31,6 +32,7 @@ namespace Generic void parseForStmtNode(ForStmtNode *node) { fillType(node); + fillExprLocation(node); Log::dump(node); node->init = static_cast<StmtNode*>(createParseNode( |