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)
|
||||
[ LOOKAHEAD(ModuleDeclLahead()) ModuleDeclaration() ( EmptyDeclaration() )* ]
|
||||
( TypeDeclaration() ( EmptyDeclaration() )* )*
|
||||
( < "\u001a" > )?
|
||||
( < "~[]" > )? // what's this for? Do you mean ( < ~[] > )*, i.e. "any character"?
|
||||
<EOF>
|
||||
{
|
||||
jjtThis.setComments(token_source.comments);
|
||||
|
Reference in New Issue
Block a user