summaryrefslogtreecommitdiff
path: root/src/parsers/stmt/expr_stmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsers/stmt/expr_stmt.cpp')
-rw-r--r--src/parsers/stmt/expr_stmt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parsers/stmt/expr_stmt.cpp b/src/parsers/stmt/expr_stmt.cpp
index 3cadbff..a17a2dc 100644
--- a/src/parsers/stmt/expr_stmt.cpp
+++ b/src/parsers/stmt/expr_stmt.cpp
@@ -21,6 +21,7 @@
parserDefine(ExprStmt);
+#include "parsers/base/expr.h"
#include "parsers/base/stmt.h"
#include "nodes/base/expr.h"
@@ -33,6 +34,7 @@ namespace Generic
void parseExprStmtNode(ExprStmtNode *node)
{
fillType(node);
+ fillExprLocation(node);
Log::dump(node);
if (!node->parseChilds)