- Fix minor glitch in romcc where it would not return from a header file
authorEric Biederman <ebiederm@xmission.com>
Tue, 9 Nov 2004 00:05:42 +0000 (00:05 +0000)
committerEric Biederman <ebiederm@xmission.com>
Tue, 9 Nov 2004 00:05:42 +0000 (00:05 +0000)
  if it had a preprocessor directive on the last line.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1769 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/romcc/romcc.c

index 1b2d5e832bbdb77605bb537fc30640a550b71ab3..da6eca26a7c1e92e0bd3ba8ffa7b6ada59d8da40 100644 (file)
@@ -4838,7 +4838,7 @@ static void token(struct compile_state *state, struct token *tk)
                }
                /* When not in macro context hide EOL */
                else if ((tk->tok == TOK_EOL) && (state->token_base == 0)) {
-                       next_token(state, tk);
+                       cpp_token(state, tk);
                        rescan = 1;
                }
        } while(rescan);