Revert custom position of 'if' blocks

This commit is contained in:
Guillaume Maudoux 2022-10-20 13:55:15 +02:00
parent b945b844a9
commit 520404f450

View file

@ -396,7 +396,7 @@ expr_function
;
expr_if
: IF expr THEN expr ELSE expr { $$ = new ExprIf(makeCurPos(@2, data), $2, $4, $6); }
: IF expr THEN expr ELSE expr { $$ = new ExprIf(CUR_POS, $2, $4, $6); }
| expr_op
;