forked from jasder/antlr
alter tests
This commit is contained in:
parent
efa9ea7811
commit
fca4710004
|
@ -852,7 +852,7 @@ WS : (' '|'\r'|'\t'|'\u000C'|'\n')+ {setChannel(HIDDEN);}
|
|||
;
|
||||
|
||||
COMMENT
|
||||
: '/*' .* '*/' {setChannel(HIDDEN);}
|
||||
: '/*' .*? '*/' {setChannel(HIDDEN);}
|
||||
;
|
||||
|
||||
LINE_COMMENT
|
||||
|
|
|
@ -51,7 +51,6 @@ class TestJava {
|
|||
System.out.println("Total time " + (stop - start) + "ms.");
|
||||
|
||||
System.out.println("finished parsing OK");
|
||||
System.out.println(LexerATNSimulator.ATN_failover+" lexer failovers");
|
||||
System.out.println(LexerATNSimulator.match_calls+" lexer match calls");
|
||||
System.out.println(ParserATNSimulator.ATN_failover+" parser failovers");
|
||||
System.out.println(ParserATNSimulator.predict_calls +" parser predict calls");
|
||||
|
|
|
@ -192,7 +192,6 @@ class TestJavaLR {
|
|||
System.out.println("Total lexer+parser time " + time + "ms.");
|
||||
|
||||
System.out.println("finished parsing OK");
|
||||
System.out.println(LexerATNSimulator.ATN_failover+" lexer failovers");
|
||||
System.out.println(LexerATNSimulator.match_calls+" lexer match calls");
|
||||
System.out.println(ParserATNSimulator.ATN_failover+" parser failovers");
|
||||
System.out.println(ParserATNSimulator.predict_calls +" parser predict calls");
|
||||
|
|
|
@ -32,7 +32,6 @@ class TestYang {
|
|||
System.out.println("Total time " + (stop - start) + "ms.");
|
||||
|
||||
System.out.println("finished parsing OK");
|
||||
System.out.println(LexerATNSimulator.ATN_failover+" lexer failovers");
|
||||
System.out.println(LexerATNSimulator.match_calls+" lexer match calls");
|
||||
System.out.println(ParserATNSimulator.ATN_failover+" parser failovers");
|
||||
System.out.println(ParserATNSimulator.predict_calls +" parser predict calls");
|
||||
|
|
Loading…
Reference in New Issue