This fixes up a long-standing issue with how antlr is configured,
fixing javadoc plugin interaction in the process.
Change-Id: I5c6ad385196f237b5a5eae110948cbf2ae2792e5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
598731773fb790c059d300266b2732278b99c11a)
</executions>
<configuration>
<sourceDirectory>${project.basedir}/src/main/antlr</sourceDirectory>
- <outputDirectory>${project.build.directory}/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
+ <outputDirectory>${project.build.directory}/generated-sources/parser</outputDirectory>
<visitor>true</visitor>
<listener>true</listener>
</configuration>
lexer grammar LeafRefPathLexer;
-@header {
-package org.opendaylight.yangtools.yang.data.impl.leafref;
-}
-
COLON : ':' ;
SLASH : '/' ;
DOTS : '..' ;
parser grammar LeafRefPathParser;
-@header {
-package org.opendaylight.yangtools.yang.data.impl.leafref;
-}
-
-options{
- tokenVocab = LeafRefPathLexer;
+options {
+ tokenVocab = LeafRefPathLexer;
}
path_arg : absolute_path | relative_path;