This commit is contained in:
JT 2015-07-20 18:55:25 -04:00
parent db16a8eb24
commit c3d083fe33

View file

@ -1417,13 +1417,17 @@ CharAgain:
case '\\': case '\\':
/* Line continuation? */ /* Line continuation? */
if (LineCont) { if (LineCont) {
NextChar (); NextChar();
/* Next char should be a LF, if not, will result in an error later */
if (C == '\n') { if (C == '\n') {
/* Handle as white space */ /* Ignore the '\n' */
NextChar (); NextChar();
C = ' ';
goto Again; goto Again;
} }
else {
/* Make it clear what the problem is: */
Error("EOL expected.");
}
} }
break; break;