how to escape flex keyword

后端 未结 2 1667
清歌不尽
清歌不尽 2020-12-22 10:24

I am using Flex & bison on Linux. I have have the following set up:

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-22 10:44

    You shouldn't do this, for the same reason you can't have a variable in C++ named for, while, or class. But if you really want to, look into Start Conditions (it'll be messy).

提交回复
热议问题