aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/build.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/build.y b/src/build.y
index 4190dbc..0a9111c 100644
--- a/src/build.y
+++ b/src/build.y
@@ -295,6 +295,11 @@ expr: value
295 } expr { 295 } expr {
296 bld.xAst.addNode( @3, AstNode::typeOpPlusEq ); 296 bld.xAst.addNode( @3, AstNode::typeOpPlusEq );
297 } 297 }
298 | UNDEF OP_ADDSETR {
299 bld.xAst.addNode( @$, AstNode::typeVariableRef, $1 );
300 } expr {
301 bld.xAst.addNode( @3, AstNode::typeOpPlusEqRaw );
302 }
298 | expr OP_CMPEQUAL expr 303 | expr OP_CMPEQUAL expr
299 { 304 {
300 bld.xAst.addNode( @$, AstNode::typeCmpEq ); 305 bld.xAst.addNode( @$, AstNode::typeCmpEq );