www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D meta -- Separate preprocessor better?

Matthew wrote:
 Walter wrote:

 g++ goofed with __FUNCTION__ as it prevents the preprocessor
 from being separated from the compiler.


Oops. This runs contrary to the idea that I should try to integrate the meta "processing code" with the compiler. While having a stand-alone preprocessor do all the meta things, it definitely is more work, since it would have to understand D. A lot of that could be skipped if I just tweaked the parser. I hope the separation is a C++ only issue?
Mar 12 2005