Fixed bugs in antlr lexer and parser. Fixed distributionManagement section in pom...
[yangtools.git] / yang-parser-impl / src / main / antlr / YangLexer.g4
index 1c511355e964a7885b709d0a49dc8463b1829422..2fa4843bd5dffa95d46536b96f299257e7efd822 100644 (file)
@@ -101,7 +101,7 @@ END_IDENTIFIER_LEFT_BRACE : '{' ->type(LEFT_BRACE), popMode;
  
 fragment SUB_STRING : ('"' (ESC | ~["])*'"') | ('\'' (ESC | ~['])*'\'') ;
 
-STRING: (SUB_STRING |  (~( '\r' | '\n' | ' ' | ';' | '{' )+)) ->popMode;// IDENTIFIER ;
+STRING: (SUB_STRING |  (~( '\r' | '\n' | '\t' | ' ' | ';' | '{' )+)) ->popMode;// IDENTIFIER ;
 S : [ \n\r\t] -> skip;    
 
 mode BLOCK_COMMENT_MODE;