[antlr-interest] Bug in generation code

Johannes Luber jaluber at gmx.de
Wed Oct 10 14:44:51 PDT 2007


Terence Parr wrote:
> 
> On Oct 10, 2007, at 8:52 AM, Johannes Luber wrote:
> 
>> The problem is with this line:
>>
>> ( modifier=('protected'|'public'|'private'|'fragment') )?
>>
>> While the strings are recognized correctly, they aren't set as value to
>> modifier. In other words, 'fragment' is simply swallowed. I suppose this
>> is a problem with Java.stg. Or is the source somewhere else?
> 
> Hi. this is on the to do list.  I've simply not gotten around to sending
> those attributes through.

Will this be solved in 3.1?

Johannes


More information about the antlr-interest mailing list