From e21c752ccd0d3d73921beddb671aa48429c2dd90 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Sat, 23 Sep 2023 16:23:54 +0200 Subject: Correction in the parser preseance --- lib/qsp_expression.mly | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/qsp_expression.mly') diff --git a/lib/qsp_expression.mly b/lib/qsp_expression.mly index 07da032..d1680f3 100644 --- a/lib/qsp_expression.mly +++ b/lib/qsp_expression.mly @@ -19,7 +19,7 @@ paren, they belongs to the expression. *) -argument(X): +%inline argument(X): | a = delimited(L_PAREN, arguments(X), R_PAREN) { a } | a = X { [ a ] } @@ -49,7 +49,6 @@ argument(X): unary_operator: | OBJ - | LOC | NO { T.No } | MINUS { T.Neg } | PLUS { T.Add } -- cgit v1.2.3