This is a sample file for comcon.c : /* This is a C style comment */ // This is a C++ style comment " This is a string with embedded /* and */ " " This is a string with embedded // " " This is a string with an escaped quote \" , /* and */ " " This is a string with an escaped quote \" and // " // This is a C++ \ comment on \ several lines. '\"' and an escaped character too /* * // ... and more complicated things */ // The following line must be signalled: // /* Trouble in line nr. 15 */ //*/ Trouble in line nr. 16 #define aMacro(a) a*(a-1) // Comment