function : 'PAGE' '(' p1=INT ',' p2=INT ')' DELIM
{setPage(p1, p2);}
;
INT : ('0'..'9')+;
DELIM : ';' ;
This code recognize function PAGE, but parameters always zero.
PAGE(2,3); => PAGE(0,0);
When I'm try to parse string PAGE(w,t);, where parameters is char,
function setPage still exec.
Why is this happening? Please, help me.
--
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.