From 7dd185c885dcd5c0777d487f672db386eb9d6842 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Tue, 9 Nov 2004 00:05:42 +0000 Subject: - Fix minor glitch in romcc where it would not return from a header file 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index 1b2d5e832b..da6eca26a7 100644 --- a/util/romcc/romcc.c +++ b/util/romcc/romcc.c @@ -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); -- cgit v1.2.3