|
|
@ -57,7 +57,11 @@ Z [0-9A-Za-z_] |
|
|
ch = '\0'; |
|
|
ch = '\0'; |
|
|
do { |
|
|
do { |
|
|
last_ch = ch; |
|
|
last_ch = ch; |
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
ch = yyinput(); |
|
|
|
|
|
#else |
|
|
ch = input(); |
|
|
ch = input(); |
|
|
|
|
|
#endif |
|
|
fputc(ch,mod_yyout); |
|
|
fputc(ch,mod_yyout); |
|
|
} while (ch && !((last_ch == '*') && (ch == '/'))); |
|
|
} while (ch && !((last_ch == '*') && (ch == '/'))); |
|
|
if (!ch) {mod_yyerror ("Unterminated comment");}} |
|
|
if (!ch) {mod_yyerror ("Unterminated comment");}} |
|
|
|