How to find the string of yacc rule?

前端 未结 0 481
耶瑟儿~
耶瑟儿~ 2020-12-09 05:45

Say I have a yacc rule like: Token: ID \'(\' VALUES \')\'.

How can I get the lexeme of this rule, I.E. "foo(bar, baz)".

The rules for each of these p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题