public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Java parser cannot handle foo[].class
@ 2000-11-28 17:09 Richard Hussong
  2000-11-28 17:22 ` Ben Elliston
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Hussong @ 2000-11-28 17:09 UTC (permalink / raw)
  To: sourcenav

If a Java source contains the construct "foo[].class", where "foo" is
a class name, the parser gets an "abnormal program termination", with
text

	Error: put_symbol argument #3 must not be empty [...]

Just thought you might like to know.  I'm afraid I don't have time
right now to investigate further or try to fix the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Java parser cannot handle foo[].class
  2000-11-28 17:09 Java parser cannot handle foo[].class Richard Hussong
@ 2000-11-28 17:22 ` Ben Elliston
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2000-11-28 17:22 UTC (permalink / raw)
  To: Richard Hussong; +Cc: sourcenav

   If a Java source contains the construct "foo[].class", where "foo" is
   a class name, the parser gets an "abnormal program termination", with
   text
   	Error: put_symbol argument #3 must not be empty [...]

Can you provide a more complete test case, that can be fed straight into the
parser?  I'm not very fluent in Java.

Ben

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Java parser cannot handle foo[].class
       [not found] <87u28r4ko4.fsf@creche.cygnus.com>
@ 2000-11-28 22:40 ` Ben Elliston
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2000-11-28 22:40 UTC (permalink / raw)
  To: Tom Tromey; +Cc: sourcenav

       public class s
       {
         public static void main (String[] args)
         {
   	System.out.println (String[].class);
         }
       }

I was able to reproduce the problem with the program shown above, but
haven't had time to investigate further.

Ben

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-28 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-28 17:09 Java parser cannot handle foo[].class Richard Hussong
2000-11-28 17:22 ` Ben Elliston
     [not found] <87u28r4ko4.fsf@creche.cygnus.com>
2000-11-28 22:40 ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).