Am Monday 02 March 2009 22:09:23 schrieb YingAnnie:
> Hello,
>
>
> I am playing with Tree grammar, I got the error today:
>
> F:\Treegrammar.g: node from after line 9:15 required (...)+ loop did not
> match anything at input 'UP' F:\Treegrammar.g: node from after line 9:15
> mismatched input 'MULTIPLICATIVE_EXPRESSION' expecting <UP>

that means that your parser generates a different tree than the tree parser 
expects. 

> what does  'UP' AND  <UP> mean?
>
the parser inserts <up> and <down> tokens to construct the tree;
<node-type> <down> children <up> 

you can print the tree to see this (and check it)

cheers,
Michael

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-interest@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