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

Re: sablecc grammar (help!)

Jenny Lam writes:
> I written a small grammar file defining html tags.  When I ran it through
> Sablecc, got an error message saying "...parser.parserException: [63,2]
> TIgnored TProductions TLBrace TId *EOF* expected."  I am assuming [63, 2]
> is refering to line 63 of the grammar file.  I looked at that and change a
> couple of things, but still getting the same error.  Any help will be
> greatly appreciated.  Grammar file attached.

The problem is that SableCC requires all of your token
names to be lower case (not sure why)... try converting them.


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