aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-12-26 21:22:23 +0100
committerSébastien Dailly <sebastien@dailly.me>2024-12-26 21:22:23 +0100
commitf5332b2c7bbf6128de5f2467560e808d8d8d41f3 (patch)
tree525e5f94604d30dff69469d9b88daadb202ea8ad /lib/configuration
parent39f39919fb4749787393e95503f9814912265a73 (diff)
Added a cmp function
Diffstat (limited to 'lib/configuration')
-rw-r--r--lib/configuration/expression_parser.mly2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/configuration/expression_parser.mly b/lib/configuration/expression_parser.mly
index 1304c4d..54f3bfe 100644
--- a/lib/configuration/expression_parser.mly
+++ b/lib/configuration/expression_parser.mly
@@ -36,6 +36,8 @@
ImportExpression.T.Function' (ImportExpression.T.Upper, param)
| "trim", _ ->
ImportExpression.T.Function' (ImportExpression.T.Trim, param)
+ | "cmp", _ ->
+ ImportExpression.T.Function' (ImportExpression.T.Cmp, param)
| other, _ ->
ImportExpression.T.Function (other, param)