From a7bbe299e32880aa0ba55054f7bf57767577907a Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 13 Jul 2013 23:25:53 -0500 Subject: [PATCH] Assignment for expr ::= unary_expr was backwards --- src/zscript/zcc-parse.lemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zscript/zcc-parse.lemon b/src/zscript/zcc-parse.lemon index 8081f310b..6c461cc50 100644 --- a/src/zscript/zcc-parse.lemon +++ b/src/zscript/zcc-parse.lemon @@ -820,7 +820,7 @@ unary_expr(X) ::= ALIGNOF unary_expr(A). [UNARY] expr(X) ::= unary_expr(A). { - A = X; + X = A; } expr(X) ::= expr(A) ADD expr(B). /* a + b */ {