alter tests

This commit is contained in:
Terence Parr 2012-10-31 12:46:11 -07:00
parent efa9ea7811
commit fca4710004
4 changed files with 1 additions and 4 deletions

View File

@ -852,7 +852,7 @@ WS : (' '|'\r'|'\t'|'\u000C'|'\n')+ {setChannel(HIDDEN);}
;
COMMENT
: '/*' .* '*/' {setChannel(HIDDEN);}
: '/*' .*? '*/' {setChannel(HIDDEN);}
;
LINE_COMMENT

View File

@ -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");

View File

@ -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");

View File

@ -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");