diff --git a/tool/playground/JavaLR.g4 b/tool/playground/JavaLR.g4 index 52f164d9d..8d17f168a 100644 --- a/tool/playground/JavaLR.g4 +++ b/tool/playground/JavaLR.g4 @@ -820,7 +820,7 @@ WS : (' '|'\r'|'\t'|'\u000C'|'\n')+ {$channel=HIDDEN;} ; COMMENT - : '/*' . '*/' {$channel=HIDDEN;} + : '/*' .* '*/' {$channel=HIDDEN;} ; LINE_COMMENT diff --git a/tool/playground/TestJavaLR.java b/tool/playground/TestJavaLR.java index 2b93a677f..c4f2bc137 100644 --- a/tool/playground/TestJavaLR.java +++ b/tool/playground/TestJavaLR.java @@ -101,7 +101,7 @@ class TestJavaLR { f.getName().substring(f.getName().length()-5).equals(".java")) || f.getName().equals("input") ) { -// System.err.println(f.getAbsolutePath()); + System.err.println(f.getAbsolutePath()); parseFile(f.getAbsolutePath()); } }