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 '\\':
|
||||
/* Line continuation? */
|
||||
if (LineCont) {
|
||||
NextChar ();
|
||||
NextChar();
|
||||
/* Next char should be a LF, if not, will result in an error later */
|
||||
if (C == '\n') {
|
||||
/* Handle as white space */
|
||||
NextChar ();
|
||||
C = ' ';
|
||||
/* Ignore the '\n' */
|
||||
NextChar();
|
||||
goto Again;
|
||||
}
|
||||
else {
|
||||
/* Make it clear what the problem is: */
|
||||
Error("EOL expected.");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue