From 782623371e37dc992d36a751c87253a45dfd0c1e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 3 Jun 2011 15:13:39 +0000 Subject: Well, that was strange. Support for the raw << operator was everywhere except in the parser, even the lexer knew about it, it was a matter of adding a couple lines to the parser code. --- src/build.y | 5 +++++ 1 file changed, 5 insertions(+) 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 } expr { bld.xAst.addNode( @3, AstNode::typeOpPlusEq ); } + | UNDEF OP_ADDSETR { + bld.xAst.addNode( @$, AstNode::typeVariableRef, $1 ); + } expr { + bld.xAst.addNode( @3, AstNode::typeOpPlusEqRaw ); + } | expr OP_CMPEQUAL expr { bld.xAst.addNode( @$, AstNode::typeCmpEq ); -- cgit v1.2.3