forked from jasder/antlr
oops. antlr was ok, it was javalr grammar.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9754]
This commit is contained in:
parent
299c29d927
commit
24c572d055
|
@ -820,7 +820,7 @@ WS : (' '|'\r'|'\t'|'\u000C'|'\n')+ {$channel=HIDDEN;}
|
||||||
;
|
;
|
||||||
|
|
||||||
COMMENT
|
COMMENT
|
||||||
: '/*' . '*/' {$channel=HIDDEN;}
|
: '/*' .* '*/' {$channel=HIDDEN;}
|
||||||
;
|
;
|
||||||
|
|
||||||
LINE_COMMENT
|
LINE_COMMENT
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue