all, here is the gramma:
columnName (‘,’ columnName)* -> ^(SM_TOK columnName)
I want the output ast of “A,B” to have multiple SM_TOK nodes , like : (SM_TOK A) (SM_TOK B)
But,currently,I only have: (SM_TOK A)
It seems that ‘B’ will be ignored.
Can anyone help me to fix this gramma?
Thanks!
Your left side specifies one or more
columnNameitems, but the right side mentions only one. Try adding a+, like this: