We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea9b52 commit 5ca3973Copy full SHA for 5ca3973
javaparser-core/src/main/javacc/java.jj
@@ -1160,7 +1160,7 @@ PackageDeclaration PackageDeclaration():
1160
AnnotationExpr ann;
1161
}
1162
{
1163
- ann = Annotation() { annotations = add(annotations, ann); begin = orIfInvalid(begin, ann); }
+ ( ann = Annotation() { annotations = add(annotations, ann); begin = orIfInvalid(begin, ann); } )*
1164
"package" {begin = orIfInvalid(begin, token());} name = Name() ";"
1165
{ return new PackageDeclaration(range(begin, token()), annotations, name); }
1166
0 commit comments