Fix bug #182
This commit is contained in:
parent
db16a8eb24
commit
c3d083fe33
1 changed files with 8 additions and 4 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue