X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-antlr%2Fsrc%2Fmain%2Fantlr4%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fparser%2Fantlr%2FYangStatementLexer.g4;h=94ebabc6ed73a2be22092315d730bf3749205c70;hb=5fe0d9e2a63cc9cf3be8c39f32305cf9e2a8be4e;hp=58f7807e794077607eef3feecab8056cdefed5f2;hpb=3cb21f96c1d8b5b22dc948a2c016180cb2456fc8;p=yangtools.git diff --git a/yang/yang-parser-antlr/src/main/antlr4/org/opendaylight/yangtools/yang/parser/antlr/YangStatementLexer.g4 b/yang/yang-parser-antlr/src/main/antlr4/org/opendaylight/yangtools/yang/parser/antlr/YangStatementLexer.g4 index 58f7807e79..94ebabc6ed 100644 --- a/yang/yang-parser-antlr/src/main/antlr4/org/opendaylight/yangtools/yang/parser/antlr/YangStatementLexer.g4 +++ b/yang/yang-parser-antlr/src/main/antlr4/org/opendaylight/yangtools/yang/parser/antlr/YangStatementLexer.g4 @@ -47,6 +47,7 @@ PLUS : '+' -> type(PLUS); LINE_COMMENT : '//' .*? '\r'? ('\n' | EOF) -> skip; BLOCK_COMMENT : '/*' .*? '*/' -> skip; +// Note: if this changes, also update KeyStatementSupport's Splitter SEP: [ \n\r\t]+ -> type(SEP); // Special-cased identifier string