1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Fixed multi line macro bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@772 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-06-24 16:08:35 +00:00
parent fe2cd767b2
commit 6a988b4859

View File

@ -178,7 +178,7 @@ static int SkipWhite (void)
}
Preprocess ();
}
if (CurC == ' ' || CurC == '\r') {
if (IsSpace (CurC)) {
NextChar ();
} else {
return 1;
@ -403,7 +403,7 @@ void NextToken (void)
{
ident token;
/* We have to skip white space here before shifting tokens, since the
/* We have to skip white space here before shifting tokens, since the
* tokens and the current line info is invalid at startup and will get
* initialized by reading the first time from the file. Remember if
* we were at end of input and handle that later.
@ -420,7 +420,7 @@ void NextToken (void)
NextTok.LI = UseLineInfo (GetCurLineInfo ());
/* Now handle end of input. */
if (GotEOF) {
if (GotEOF) {
/* End of file reached */
NextTok.Tok = TOK_CEOF;
return;