aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/javacc
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-11-19 15:38:53 +0100
committerJon Bratseth <bratseth@gmail.com>2021-11-19 15:38:53 +0100
commit8bc93e2ba7dcb282a4493071cffc2584c9192f16 (patch)
tree85f02abe32773f52bba01da016a991a4f7642ebe /config-model/src/main/javacc
parentaf3deb474df1a2be59fac3e905235d228c86e8a7 (diff)
Point to plugin BNF
Diffstat (limited to 'config-model/src/main/javacc')
-rw-r--r--config-model/src/main/javacc/SDParser.jj14
1 files changed, 4 insertions, 10 deletions
diff --git a/config-model/src/main/javacc/SDParser.jj b/config-model/src/main/javacc/SDParser.jj
index c3851f2918a..d3d992c11f5 100644
--- a/config-model/src/main/javacc/SDParser.jj
+++ b/config-model/src/main/javacc/SDParser.jj
@@ -1,10 +1,9 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-// --------------------------------------------------------------------------------
-//
-// JavaCC options. When this file is changed, run "mvn generate-sources" to rebuild
-// the parser classes.
+
+// Schema parser.
//
-// --------------------------------------------------------------------------------
+// NOTE: When this is changed, also change integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf
+
options {
UNICODE_INPUT = true;
CACHE_TOKENS = false;
@@ -15,11 +14,6 @@ options {
USER_CHAR_STREAM = true;
}
-// --------------------------------------------------------------------------------
-//
-// Parser body.
-//
-// --------------------------------------------------------------------------------
PARSER_BEGIN(SDParser)
package com.yahoo.searchdefinition.parser;