From 8a7bdc73a7c65d23c79e1c470ba0fbff975b59a5 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Fri, 27 Oct 2023 09:59:28 +0200 Subject: Updated the way to process the strings --- lib/qparser/qsp_expression.mly | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/qparser/qsp_expression.mly') 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 -- cgit v1.2.3