problem in access to variable with same name in Semantic actions

4 views
Skip to first unread message

meisam masomi

unread,
Nov 30, 2019, 9:41:07 AM11/30/19
to antlr-discussion

Hi
i have a problem in access to variable that have same name, for example:

term: term ('*'|'/')factor {print($term.text);}| factor;

take this error
missing attribute access on rule reference term in $term
how to fix this problem?



Reply all
Reply to author
Forward
0 new messages