From 976f80ed226e53625cd807539b9336f52f6eb091 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Thu, 20 Jun 2024 20:25:19 +0200 Subject: Removed the need for () after rnd --- lib/qparser/qsp_expression.mly | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/qparser/qsp_expression.mly') diff --git a/lib/qparser/qsp_expression.mly b/lib/qparser/qsp_expression.mly index 1e0988f..c6b7564 100644 --- a/lib/qparser/qsp_expression.mly +++ b/lib/qparser/qsp_expression.mly @@ -44,6 +44,10 @@ { (Analyzer.Expression.function_ $loc k arg) } + | k = FUNCTION_NOARGS + { + (Analyzer.Expression.function_ $loc k []) + } literal: | v = LITERAL { Qsp_syntax.T.Text v } | e = delimited(ENTER_EMBED, expression, LEAVE_EMBED) -- cgit v1.2.3