aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/qsp_expression.mly
diff options
context:
space:
mode:
authorChimrod <>2023-10-27 09:59:28 +0200
committerChimrod <>2023-11-02 11:06:12 +0100
commit8a7bdc73a7c65d23c79e1c470ba0fbff975b59a5 (patch)
tree2057dce34911c78046ce93469856ae2a0913c2ce /lib/qparser/qsp_expression.mly
parent4f5e33ef7b96d6daee29ff1088ea381b9302f846 (diff)
Updated the way to process the strings
Diffstat (limited to 'lib/qparser/qsp_expression.mly')
-rw-r--r--lib/qparser/qsp_expression.mly5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/qparser/qsp_expression.mly b/lib/qparser/qsp_expression.mly
index 738c73c..58da39e 100644
--- a/lib/qparser/qsp_expression.mly
+++ b/lib/qparser/qsp_expression.mly
@@ -34,7 +34,10 @@
op = binary_operator
expr2 = expression
{ Analyzer.Expression.boperator $loc op expr1 expr2 }
- | TEXT_MARKER v = LITERAL TEXT_MARKER { Analyzer.Expression.literal $loc v }
+ | TEXT_MARKER
+ v = LITERAL
+ TEXT_MARKER
+ { Analyzer.Expression.literal $loc v }
| i = INTEGER { Analyzer.Expression.integer $loc i }
| v = variable { Analyzer.Expression.ident v }
%prec p_variable