It has been a long time since I used C++ but I found that the string
needed to be std:string. I also ran into some other minor errors. I
think the ctool demo example for MSVC++ was very old. Therefore I had to
replace the lexer.cpp with a more recent version as well as add the
context.cpp to the project.
Basically I would like to take Ctool and make a better preprocessor.
That is I would like a preprocessor which know more about the C syntax.
Imagine a preprocessor that knows the type of the variable passed to it.
Regards,
Trampas Stern
|