C grammar in GCC source code

前端 未结 7 1152
别那么骄傲
别那么骄傲 2020-12-29 09:31

I\'m looking for the C grammar in GCC source code, more specifically for the grammar in the yacc/bison form.

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-29 09:59

    You will not find a C grammar yacc/bison file within the current GCC source code. It was done in the past, before the egcs fork stuff. I cannot give you the exact version and location, but i can tell you that it should be in the 2.x release

    The current version of GCC has its own C parser

提交回复
热议问题