[antlr-interest] C-Target $label.text / toString malfunction
Jim Idle
jimi at temporal-wave.com
Tue Apr 3 11:59:40 PDT 2007
Yeah - although it looks simple, and is once you know what to type in
there ;-), there can be lots of unexpected side effects. Perhaps you can
tell me offline why you thought (and may indeed have found some error of
course) that you needed to patch the toString() call?
Jim
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Tobias Pape
Sent: Monday, April 02, 2007 1:28 AM
To: antlr-interest at antlr.org
Subject: Re: [antlr-interest] C-Target $label.text / toString
malfunction
Am 2007-04-02 um 05:33 schrieb Tobias Pape:
>
> As you see, I already insertet a "Differ" rule, because my <> wasn't
> matched as OperatorSequence.
> Another Example was, that "error:", which should be a "Keyword"
> was matched as "Identifier"
> (discarding the : in the parser an generating errors then xD).
>
> in the "orginal" v2-Grammar, there was lot of ( .. )=>, which i
> removed after Gavin Lamberts
> suggest:<D1C0EC74-2D50-4E28-B9EE-1A00916D9404 at gmx.de>
>
arg, memo to myself: don't patch too much in the C.stg -.-
apology, apology,
-Tobias
More information about the antlr-interest
mailing list