summaryrefslogtreecommitdiff
path: root/src/parsers/expr/minus_expr.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-09 21:46:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-09 21:46:06 +0300
commit22efb5610234bff03675608a7a1a953864427343 (patch)
tree171f8a5e6b7615e9564848d0ee0d02555340bc1c /src/parsers/expr/minus_expr.cpp
parent7744c07ec30e671a267929dde70277783a0447ed (diff)
downloadparanucker-22efb5610234bff03675608a7a1a953864427343.tar.gz
paranucker-22efb5610234bff03675608a7a1a953864427343.tar.bz2
paranucker-22efb5610234bff03675608a7a1a953864427343.tar.xz
paranucker-22efb5610234bff03675608a7a1a953864427343.zip
Add location detection for *_EXPR nodes.
Also fix line in warning for MODIFY_EXPR.
Diffstat (limited to 'src/parsers/expr/minus_expr.cpp')
-rw-r--r--src/parsers/expr/minus_expr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parsers/expr/minus_expr.cpp b/src/parsers/expr/minus_expr.cpp
index 19a18c7..9922b8e 100644
--- a/src/parsers/expr/minus_expr.cpp
+++ b/src/parsers/expr/minus_expr.cpp
@@ -31,6 +31,7 @@ namespace Generic
void parseMinusExprNode(MinusExprNode *node)
{
fillType(node);
+ fillExprLocation(node);
Log::dump(node);
fillExprOperands(node);