Fix bug #182
This commit is contained in:
@@ -1418,12 +1418,16 @@ CharAgain:
|
|||||||
/* 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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user