On Thu, Mar 24, 2011 at 4:08 PM, Florian Franzmann <
siflf...@hawo.stw.uni-erlangen.de> 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.

Regards,

Bart.

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to