summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-11-09 00:05:42 +0000
committerEric Biederman <ebiederm@xmission.com>2004-11-09 00:05:42 +0000
commit7dd185c885dcd5c0777d487f672db386eb9d6842 (patch)
tree05f3344cae4ed830cbd8c97ac86cb2477aa737bf /util
parent12eb7bc5add438db35d40fe4f7c34c9352b51ff1 (diff)
downloadcoreboot-7dd185c885dcd5c0777d487f672db386eb9d6842.tar.xz
- 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
Diffstat (limited to 'util')
-rw-r--r--util/romcc/romcc.c2
1 files changed, 1 insertions, 1 deletions
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);