aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/expression_parser.messages
diff options
context:
space:
mode:
authorChimrod <>2024-01-20 21:59:10 +0100
committerChimrod <>2024-01-20 21:59:10 +0100
commit8a02bbbd2bf42e2152faca16b95152744ef416d0 (patch)
tree0eb17c69ba9db26a1b45357d3f3a5bd5cb443da1 /lib/qparser/expression_parser.messages
parent2abe1fae40a1c65ff66ad51c98d92be9c7d9d8a5 (diff)
Reject a syntax which was incorrectly accepted
Diffstat (limited to 'lib/qparser/expression_parser.messages')
-rw-r--r--lib/qparser/expression_parser.messages8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/qparser/expression_parser.messages b/lib/qparser/expression_parser.messages
index 5345ebf..707597b 100644
--- a/lib/qparser/expression_parser.messages
+++ b/lib/qparser/expression_parser.messages
@@ -95,3 +95,11 @@ main: LOCATION_START EOL IDENT GT EQUAL STAR
main: LOCATION_START EOL IDENT LT EQUAL STAR
Missing boolean after operator
+
+main: LOCATION_START EOL IF IDENT COLUMN EOL END TEXT_MARKER
+
+ Unexpected instruction after `IF` `END` block.
+
+main: LOCATION_START EOL ACT IDENT COLUMN EOL END TEXT_MARKER
+
+ Unexpected instruction after `ACT` `END` block.