summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/javacc/SchemaParser.jj
diff options
context:
space:
mode:
authorArne Juul <arnej@vespa.ai>2024-02-21 08:26:55 +0000
committerArne Juul <arnej@vespa.ai>2024-02-21 08:26:55 +0000
commit31e7f346309152a4db547a2bd2160a9e2ca0b7b1 (patch)
treeb7ddf280cf774bc9b69a0cbbb6ed9d3417016d2c /config-model/src/main/javacc/SchemaParser.jj
parent54b293758a77be1b1ce50ac8443fcb7dfb629acd (diff)
demand newline between declarations of inputs
Diffstat (limited to 'config-model/src/main/javacc/SchemaParser.jj')
-rw-r--r--config-model/src/main/javacc/SchemaParser.jj4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/main/javacc/SchemaParser.jj b/config-model/src/main/javacc/SchemaParser.jj
index f298293ed57..7a1a169747e 100644
--- a/config-model/src/main/javacc/SchemaParser.jj
+++ b/config-model/src/main/javacc/SchemaParser.jj
@@ -2005,7 +2005,8 @@ void inputs(ParsedRankProfile profile) :
}
{
<INPUTS> <LBRACE> (<NL>)*
- ( input(profile) (<NL>)*) *
+ (input(profile))?
+ (<NL> (input(profile))?)*
<RBRACE>
}
@@ -2037,7 +2038,6 @@ Reference inputName() :
TensorType valueType(Reference reference) :
{
TensorType type;
-
}
{
(