Tool/Parser for preprocessor #if statements?

后端 未结 4 536
难免孤独
难免孤独 2021-02-09 05:46

I am working on many C-sourcecode files which contain many preprocessor #if, #elseif and #else statements.

This statements often c

相关标签:
4条回答
  • 2021-02-09 06:10

    You can run the GNU compiler using command line option -E to do the preprocessing.

    http://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html

    0 讨论(0)
  • 2021-02-09 06:11

    unifdef is available from http://dotat.at/prog/unifdef/.

    0 讨论(0)
  • 2021-02-09 06:13

    Try Sunifdef

    Edit: Which has now become Coan

    0 讨论(0)
  • 2021-02-09 06:16

    You can use unifdef.

    0 讨论(0)
提交回复
热议问题