[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uppercase package names



Hi Archie.

This is not a Kaffe bug. It is a well known SableCC bug.

If you wait a few minutes and read the next message, you will find a
solution to it;-)

Etienne


-----Original Message-----
From: Archie Cobbs <archie@whistle.com>
To: sablecc-list@sable.mcgill.ca <sablecc-list@sable.mcgill.ca>
Date: Thursday, July 16, 1998 4:42 PM
Subject: uppercase package names


I'm using SableCC with kaffe and having a problem with uppercase
package names.

On this input SableCC works OK:

  Package x;

but on this input SableCC bombs:

  Package X;

with this exception:

  ca.mcgill.sable.sablecc.lexer.LexerException: [1,9] Unknown token: X
  at java/lang/Throwable.<init>(30)
  at java/lang/Exception.<init>(21)
  at ca/mcgill/sable/sablecc/lexer/LexerException.<init>(73)
  at ca/mcgill/sable/sablecc/lexer/Lexer.getToken(588)
  at ca/mcgill/sable/sablecc/lexer/Lexer.peek(91)
  at ca/mcgill/sable/sablecc/parser/Parser.parse(122)
  at ca/mcgill/sable/sablecc/SableCC.main(152)
  at SableCC.main(72)

This could very well be a kaffe bug, so I would appreciate it if someone
could confirm or deny it on a different platform.

Thanks,
-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com