fix preprocessing token registration
authorMatthias Braun <matze@braunis.de>
Mon, 18 Jul 2011 17:51:54 +0000 (19:51 +0200)
committerMatthias Braun <matze@braunis.de>
Tue, 9 Aug 2011 18:19:25 +0000 (20:19 +0200)
token.c

diff --git a/token.c b/token.c
index ec89d85..8f60302 100644 (file)
--- a/token.c
+++ b/token.c
@@ -72,7 +72,7 @@ static void register_pp_token(unsigned mode, token_type_t id,
        if (! (c_mode & mode))
                return;
 
-       symbol_t *symbol = intern_register_token(id, string);
+       symbol_t *symbol = intern_register_pp_token(id, string);
        symbol->pp_ID = id;
 }