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

Re: your mail



On Thu, Nov 02, 2000 at 03:58:21PM +0000, predael@komodo.ing.unico.it wrote:
> Please help me !!
> I'm using SableCC to build a parser for the input language used by a concurrent
> system verification tool wich is part of my thesis work.
> The grammar is simple but SableCC tells me this error message
> "Verifying identifiers.
> java.lang.RuntimeException: [24,11] letter undefined."
> but in fact letter is defined.
> what's going wrong ??
> (by the way, is there any help document on errors ?)

The problem is that Tokens cannot have other Tokens used in their
definitions.  The Helpers section was invented for that.  Try 
moving letter to the Helpers section.
(You will also need to define the token letter=letter
if you want to use that helper as a token.)

Hope that helps!
Jeff