1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 15:54:59 +00:00

Merge pull request #183 from Movax12/linecont-bug

Fix bug #182
This commit is contained in:
Oliver Schmidt 2015-07-25 17:52:49 +02:00
commit af5d097920

View File

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