From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9644 invoked by alias); 13 Aug 2004 20:23:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9637 invoked by uid 48); 13 Aug 2004 20:23:14 -0000 Date: Fri, 13 Aug 2004 20:23:00 -0000 Message-ID: <20040813202314.9636.qmail@sourceware.org> From: "tromey at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20021105231600.8473.jmr@ugcs.caltech.edu> References: <20021105231600.8473.jmr@ugcs.caltech.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/8473] syntax error on anonymous array subscript X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01302.txt.bz2 List-Id: ------- 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