cpp is pain

September 19th, 2003 at 4:44 pm

Did I mention that our C pre-processor clone is pain in the ass ?

I think I did…

C comments (/* */) are not recognized in strings (” “), goodie. But we also have a comment type of our own, — …, like C++s //, just that its contents are not removed, but rather must be passed to the compiler as-is. So, inside –, neither ” nor /* count.

Can you even imagine how many contrived examples can be thought of for various “tricks” mixing /*, — and ” ” ?? A lot, A LOT !!!!

grrpphhh… annoyed.

No related posts.

Leave a Reply

To post code with preserved formatting, enclose it in `backticks` (even multiple lines)