summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/javacc/SchemaParser.jj
diff options
context:
space:
mode:
authorHarald Musum <musum@vespa.ai>2024-02-21 20:03:14 +0100
committerGitHub <noreply@github.com>2024-02-21 20:03:14 +0100
commit05fb6f7b81f8fc3253c002bcbe79d86772abd2c7 (patch)
tree51bf67e3cbbe9aea6337a24ef89ffd85a147b5f3 /config-model/src/main/javacc/SchemaParser.jj
parente331dd862fb39dd93a9e2abf6d4fb7b3ddbde4a0 (diff)
Revert "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 7a1a169747e..f298293ed57 100644
--- a/config-model/src/main/javacc/SchemaParser.jj
+++ b/config-model/src/main/javacc/SchemaParser.jj
@@ -2005,8 +2005,7 @@ void inputs(ParsedRankProfile profile) :
}
{
<INPUTS> <LBRACE> (<NL>)*
- (input(profile))?
- (<NL> (input(profile))?)*
+ ( input(profile) (<NL>)*) *
<RBRACE>
}
@@ -2038,6 +2037,7 @@ Reference inputName() :
TensorType valueType(Reference reference) :
{
TensorType type;
+
}
{
(