Comment by amelius 6 hours ago Shouldn't the preprocessor be fixed, if it trips that easily on common C++ constructs? 4 comments amelius Reply marginalia_nu 6 hours ago Preprocessor is just doing text transformations on the sources.It's not really something that can be fixed, other than moving away from the preprocessor and putting metaprogramming capabilities into the language itself (which C++ has been doing). amelius 5 hours ago I mean, you could extend it such that a simple comma has no special meaning.But I agree, fewer special tricks is better and that includes the preprocessor. tom_ 6 hours ago I'm sure the standardization committee are always looking for fresh ideas!
marginalia_nu 6 hours ago Preprocessor is just doing text transformations on the sources.It's not really something that can be fixed, other than moving away from the preprocessor and putting metaprogramming capabilities into the language itself (which C++ has been doing). amelius 5 hours ago I mean, you could extend it such that a simple comma has no special meaning.But I agree, fewer special tricks is better and that includes the preprocessor.
amelius 5 hours ago I mean, you could extend it such that a simple comma has no special meaning.But I agree, fewer special tricks is better and that includes the preprocessor.
Preprocessor is just doing text transformations on the sources.
It's not really something that can be fixed, other than moving away from the preprocessor and putting metaprogramming capabilities into the language itself (which C++ has been doing).
I mean, you could extend it such that a simple comma has no special meaning.
But I agree, fewer special tricks is better and that includes the preprocessor.
I'm sure the standardization committee are always looking for fresh ideas!