oops. antlr was ok, it was javalr grammar.

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9754]
This commit is contained in:
parrt 2011-12-26 17:14:29 -08:00
parent 299c29d927
commit 24c572d055
2 changed files with 2 additions and 2 deletions

View File

@ -820,7 +820,7 @@ WS : (' '|'\r'|'\t'|'\u000C'|'\n')+ {$channel=HIDDEN;}
; ;
COMMENT COMMENT
: '/*' . '*/' {$channel=HIDDEN;} : '/*' .* '*/' {$channel=HIDDEN;}
; ;
LINE_COMMENT LINE_COMMENT

View File

@ -101,7 +101,7 @@ class TestJavaLR {
f.getName().substring(f.getName().length()-5).equals(".java")) f.getName().substring(f.getName().length()-5).equals(".java"))
|| f.getName().equals("input") ) || f.getName().equals("input") )
{ {
// System.err.println(f.getAbsolutePath()); System.err.println(f.getAbsolutePath());
parseFile(f.getAbsolutePath()); parseFile(f.getAbsolutePath());
} }
} }