summaryrefslogtreecommitdiffstats
path: root/integration
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-05-28 13:09:12 +0200
committerJon Bratseth <bratseth@gmail.com>2022-05-28 13:09:12 +0200
commit201d091c4d5383e71ad164c5f5ad3290a7622362 (patch)
treeb4fddf30f5b473c6e05c1008cb34a4d7b0e44ca3 /integration
parentb6488bc8a9f72c7ddfc1b83b7a7290c56e42b8e0 (diff)
Grammar fixes
Diffstat (limited to 'integration')
-rw-r--r--integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf3
1 files changed, 2 insertions, 1 deletions
diff --git a/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf b/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf
index 972a8262347..a03ad1d3109 100644
--- a/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf
+++ b/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf
@@ -308,7 +308,8 @@ MatchProperty ::= text | token | exact | (exact-terminator ':' STRING_REG) | wor
IndexingDefinition ::= indexing ((':' IndexingStatement) | ('{' IndexingStatement+ '}'))
IndexingStatement ::= IndexingStatementOptions (('|' IndexingStatementOptions)*) (';')?
// Does not support zero-or-one occurrences
-IndexingStatementOptions ::= summary | attribute | index | set_language | lowercase |
+IndexingStatementOptions ::= summary DottedIdentifier? | attribute DottedIdentifier? | index DottedIdentifier? |
+ set_language | lowercase |
(input (DottedIdentifier | IndexingStuff)+) |
('{' IndexingStatementOptions '}') | IndexingStuff+
private IndexingStuff ::= WordWrapper | INTEGER_REG | FLOAT_REG | STRING_REG | ('{' IndexingStatement '}') |