It caused the error cascade that it was supposed to prevent.
Error ("Octal character constant out of range");
break;
default:
- Error ("Illegal character constant");
- C = ' ';
- /* Try to do error recovery, otherwise the compiler will spit
- ** out thousands of errors in this place and abort.
- */
- if (CurC != '\'' && CurC != '\0') {
- while (NextC != '\'' && NextC != '\"' && NextC != '\0') {
- NextChar ();
- }
- }
+ Error ("Illegal escaped character");
+ C = CurC;
break;
}
} else {