diff options
Diffstat (limited to 'lib/qparser/qsp_expression.mly')
-rw-r--r-- | lib/qparser/qsp_expression.mly | 4 |
1 files changed, 4 insertions, 0 deletions
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) |