This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
protoize aborts on comment in #define
- To: egcs-bugs at cygnus dot com
- Subject: protoize aborts on comment in #define
- From: bert at xpilot dot org (Bert Gijsbers)
- Date: Thu, 19 Feb 1998 10:13:03 +0100 (MET)
Here's a short C example on which protoize aborts.
Apparently protoize doesn't strip comments before
parsing preprocessor symbols in do_cleaning().
In this example it can't find the closing ' character.
Bert Gijsbers
#define A 1 /* one comment in a define
shouldn't crash, or? */
int some_fun(arg)
int arg;
{
return arg + 1;
}