This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/8473] syntax error on anonymous array subscript


------- Additional Comments From tromey at gcc dot gnu dot org  2004-08-13 20:23 -------
Just a spec note: this is disallowed by one of the grammars
in the JLS, but is actually valid.  The Java Spec Report
is good on this (as so many other things):

http://www.ergnosis.com/java-spec-report/java-language/jls-15.13.html

A quick glance at parse.y indicates that our grammar simply
doesn't allow for this; it probably follows the incorrect part
of the JLS.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8473


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]