commit | c34a3224300c723e83c7fad4f61ba00264952583 | [log] [tgz] |
---|---|---|
author | Gaurav Agrawal <gaurav.agrawal@huawei.com> | Wed Mar 01 13:18:38 2017 +0530 |
committer | GauravAgrawal-Huawei <gauravjbp3ster@gmail.com> | Wed Mar 01 08:56:12 2017 +0000 |
tree | fabe19c20aea0fd75c5c6c2ec0dde97434c6cd66 | |
parent | 18e55eed4d6200457ea17b94aa33c1aea2f2ae26 [diff] |
YANG runtime impl package consolidation & YANG compiler's YangLexer package correction. Change-Id: I86ebebf5e15f17e32eda31db65ae55fdf11bc6f9
diff --git a/compiler/base/parser/src/main/resources/GeneratedYang.g4 b/compiler/base/parser/src/main/resources/GeneratedYang.g4 index af16c05..0646a60 100644 --- a/compiler/base/parser/src/main/resources/GeneratedYang.g4 +++ b/compiler/base/parser/src/main/resources/GeneratedYang.g4
@@ -21,10 +21,6 @@ grammar GeneratedYang; import YangLexer; -@header { -package org.onosproject.yang.compiler.parser.antlrgencode; -} - yangfile : moduleStatement EOF | subModuleStatement EOF;
diff --git a/compiler/base/parser/src/main/resources/YangLexer.g4 b/compiler/base/parser/src/main/resources/YangLexer.g4 index 51a9231..45189f7 100644 --- a/compiler/base/parser/src/main/resources/YangLexer.g4 +++ b/compiler/base/parser/src/main/resources/YangLexer.g4
@@ -20,6 +20,10 @@ lexer grammar YangLexer; +@header { +package org.onosproject.yang.compiler.parser.antlrgencode; +} + // Statements keywords ANYXML_KEYWORD : 'anyxml'; ARGUMENT_KEYWORD : 'argument';