[antlr-interest] ANTLRWorks "synpredNN_MyGrammar" labels
Ben Gillis
wbgillis at gmail.com
Sat Nov 1 14:11:56 PDT 2008
OK...thanks. :-)
So, why are they present in some ANTLRWorks Syntax Diagrams, but not in
others? (Exact-same grammar rules, the smaller, trimmed down grammars do
not have them...but, beyond being the exact-same rules, sub-rules, etc. I
don't know why/what else in the grammar would determine when they're
displayed).
----- Original Message -----
From: "Terence Parr" <parrt at cs.usfca.edu>
To: "Ben Gillis" <wbgillis at gmail.com>
Cc: <antlr-interest at antlr.org>
Sent: Saturday, November 01, 2008 4:09 PM
Subject: Re: [antlr-interest] ANTLRWorks "synpredNN_MyGrammar" labels
> they are backtracking syntactic predicates.
> Ter
> On Nov 1, 2008, at 1:17 PM, Ben Gillis wrote:
>
>> Why does ANTLRWorks display blocks with synpredNN__ labels? e.g.
>>
>> {synpred25_MyGrammar}?
>>
>> Ambiguous alternatives?
>>
>> When I duplicate the *exact-same* rule (all sub-rules included) in a
>> smaller grammar to isolate the problem, the "synpredNN" labels never
>> appear.
>>
>> Thanks,
>> Ben
>>
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe:
>> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>>
>
More information about the antlr-interest
mailing list