R
reppisch
Hi Ng,
i am looking for a method of expanding a macro while the rest of the
code remains untouched.
I have some code which does macro voodo / ifdef's which i would like to
strip and simplify.
The Faq pointed me to scpp but i could not compile it. the lex.c
generated by flex 2.5.4 is broken.
This problem occured also in 2004 in this group.
any Ideas where to get a working copy or how to compile it??
Regards,
Michael
-- snip --
It generates code using 'yyconst', which it doesn't declare anywhere
(presumably it's supposed to be defined as 'const').
It generates code using 'yy_cp' which likewise isn't (always)
declared (it's declared in some funcxtions but not in others).
i am looking for a method of expanding a macro while the rest of the
code remains untouched.
I have some code which does macro voodo / ifdef's which i would like to
strip and simplify.
The Faq pointed me to scpp but i could not compile it. the lex.c
generated by flex 2.5.4 is broken.
This problem occured also in 2004 in this group.
any Ideas where to get a working copy or how to compile it??
Regards,
Michael
-- snip --
It generates code using 'yyconst', which it doesn't declare anywhere
(presumably it's supposed to be defined as 'const').
It generates code using 'yy_cp' which likewise isn't (always)
declared (it's declared in some funcxtions but not in others).