Remove weird valid java files
Probably old typos. They probably meant to ignore trailing characters, we don't (they must be eg comments or whitespace)
This commit is contained in:
@ -923,8 +923,6 @@ ASTCompilationUnit CompilationUnit() :
|
|||||||
// a module (most common case)
|
// a module (most common case)
|
||||||
[ LOOKAHEAD(ModuleDeclLahead()) ModuleDeclaration() ( EmptyDeclaration() )* ]
|
[ LOOKAHEAD(ModuleDeclLahead()) ModuleDeclaration() ( EmptyDeclaration() )* ]
|
||||||
( TypeDeclaration() ( EmptyDeclaration() )* )*
|
( TypeDeclaration() ( EmptyDeclaration() )* )*
|
||||||
( < "\u001a" > )?
|
|
||||||
( < "~[]" > )? // what's this for? Do you mean ( < ~[] > )*, i.e. "any character"?
|
|
||||||
<EOF>
|
<EOF>
|
||||||
{
|
{
|
||||||
jjtThis.setComments(token_source.comments);
|
jjtThis.setComments(token_source.comments);
|
||||||
|
Reference in New Issue
Block a user