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. -