RE: GCC preprocessor library, "cpplib"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Has anyone used GCC preprocessor library, "cpplib", and wrote a program
using it and its external interface "cpplib.h", to retrieve tokens and
its values?
 
----------------------------------------------------
 
I have a need to get to Tokens and their values. 
 
One trivial example is ENUM data.
 
enum Days{Sunday=1,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday};
 
At run time, in the program, when I see value "1", I would like to print
out "Sunday".
 
Another need is to generate code automatically. 
 
Has anyone used GCC preprocessor library, "cpplib", and wrote a program
using it and its external interface "cpplib.h", to retrieve tokens and
its values?
 
Thanks. - 



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux