On Thu 2011-03-24 16:26:44 +0100, Bart Kiers wrote: > On Thu, Mar 24, 2011 at 4:08 PM, Florian Franzmann > <[1][email protected]> wrote: > > ... > As I understand it the parser consumes 'Model' as IDENTIFIER and goes > into > state block. It ignores a WS, then finds a '{'. This should be > recognized as > BLOCK_BEGIN, which is the next token expected in block---any idea what > I'm > doing wrong? > > best regards > Florian Franzmann > > Fragment rules can only be "seen" by other lexer rules. There will never > be a token `BLOCK_BEGIN*` created, so it can't be used inside parser > rules. Thanks, that did it.
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
