summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/antlr4
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-12-22 01:08:38 +0100
committerJon Bratseth <bratseth@gmail.com>2021-12-22 01:08:38 +0100
commit9b1fbbea4c643517cd2581b9a179fcc13d1d4455 (patch)
tree27d765e7e6301cb12381fbca539413b150664b1e /container-search/src/main/antlr4
parent418170df6700d7b64a46e94af1e733b82223ce58 (diff)
Don't require *both* curly and square brackets around annotations
Diffstat (limited to 'container-search/src/main/antlr4')
-rw-r--r--container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g41
1 files changed, 1 insertions, 0 deletions
diff --git a/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4 b/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4
index 8c59ed0799b..9af8d83c6d7 100644
--- a/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4
+++ b/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4
@@ -340,6 +340,7 @@ annotate_expression
annotation
: LBRACKET map_expression RBRACKET
+ | map_expression
;
logical_OR_expression