- 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
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index 1b2d5e8..da6eca2 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -4838,7 +4838,7 @@
}
/* 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);