Pike is a dynamic programming language with a syntax similar to Java and C. It is simple to learn, does not require long compilation passes and has powerful built-in data types allowing simple and really fast data manipulation.
from the Pike module reference documentation on cpp():
Preprocesses the string data with Pike's builtin ANSI-C look-alike preprocessor.
In ANSI-C, nested multiline comments are not allowed. gcc cpp does not allow them either, and in addition this is a compatibility breaking change, something that Pike is generally very careful with.
We hope you will understand that we will not merge the pull request for these reasons.
You should use nested #if 0 ... #endif constructs to temporarily disable larger amounts of code, then you will not run into the problem that you'd wish there were nested C-style comments.
Hi @mingodad,
from the Pike module reference documentation on
cpp()
:In ANSI-C, nested multiline comments are not allowed. gcc cpp does not allow them either, and in addition this is a compatibility breaking change, something that Pike is generally very careful with.
We hope you will understand that we will not merge the pull request for these reasons.