From 6a988b485952ceb177a212cffdaf1d86446ddfd0 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 24 Jun 2001 16:08:35 +0000 Subject: [PATCH] Fixed multi line macro bug git-svn-id: svn://svn.cc65.org/cc65/trunk@772 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/scanner.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cc65/scanner.c b/src/cc65/scanner.c index 27b300ceb..2009826ea 100644 --- a/src/cc65/scanner.c +++ b/src/cc65/scanner.c @@ -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; -- 2.39.5