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 */ {