X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=token.c;h=e72e5492230b5fd4041ae87ac04136cf3ad0dd0b;hb=ac1cd4a72f73f7906ab1b38bc85cd1758a2f3ab3;hp=183a0ca7af39aac3a31814a75e98a20bb2cbe75f;hpb=5894d20a1ca98cb5eb0916b083db5838657d6730;p=cparser diff --git a/token.c b/token.c index 183a0ca..e72e549 100644 --- a/token.c +++ b/token.c @@ -32,7 +32,7 @@ static symbol_t *token_symbols[T_LAST_TOKEN]; static symbol_t *pp_token_symbols[TP_LAST_TOKEN]; -const source_position_t builtin_source_position = { "", 0, 0 }; +const source_position_t builtin_source_position = { "", 0, 0, true }; static int last_id; @@ -66,7 +66,7 @@ static void register_token(unsigned mode, token_kind_t id, const char *string) } } -static void register_pp_token(unsigned mode, token_kind_t id, +static void register_pp_token(unsigned mode, preprocessor_token_kind_t id, const char *string) { if (! (c_mode & mode))