Marwan Ajraoui wrote:
> ---------- Forwarded message ----------
> From: Marwan Ajraoui <[email protected]>
> Date: 2009/8/14
> Subject: Antlr Behavior! Why notifying sintactic errors in My tree
> gramar where I'm cheking for Semantic errors ONLY.
> To: [email protected]
>
>
> Hi comunity;
>
> When I'm runing the tree grammar I defined I'm getting errors like
>
> Error: mismatched input '[]' expecting FN_ID
>
>   
Get rid of the explicit 'literal strings' in your parser and tree parser 
and make lexer rules that define these. Then make sure that you generate 
in the order:

lexer.g parser.g treeparser.g

In the latest snapshot there is a -make option to ensure that the order 
is correct if you use *.g

Jim

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to