aboutsummaryrefslogtreecommitdiff
path: root/lib/qsp_expression.mly
diff options
context:
space:
mode:
authorChimrod <>2023-09-23 16:23:54 +0200
committerChimrod <>2023-09-23 16:23:54 +0200
commite21c752ccd0d3d73921beddb671aa48429c2dd90 (patch)
tree0750ea3f269efc57cfbaa48093334483626c9707 /lib/qsp_expression.mly
parent557d60d5df5258a29ce964fac1f5ffdc625dcb2a (diff)
Correction in the parser preseance
Diffstat (limited to 'lib/qsp_expression.mly')
-rw-r--r--lib/qsp_expression.mly3
1 files changed, 1 insertions, 2 deletions
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 }