diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-06-15 14:59:50 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-06-15 14:59:50 -0600 |
commit | 91cc57a4a12997a72c2ec643f3560ad998daa87b (patch) | |
tree | 0b0e772fbe34a284abd1584652b7d3f74755a055 /dimension/tokenize.c | |
parent | de8a9632a6859010cc9d9bb4bcff721d640cdbd5 (diff) | |
download | dimension-91cc57a4a12997a72c2ec643f3560ad998daa87b.tar.xz |
Fix some -Wextra warnings.
Diffstat (limited to 'dimension/tokenize.c')
-rw-r--r-- | dimension/tokenize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dimension/tokenize.c b/dimension/tokenize.c index 98253ce..48d0958 100644 --- a/dimension/tokenize.c +++ b/dimension/tokenize.c @@ -26,13 +26,13 @@ #include <string.h> typedef struct dmnsn_buffered_token { - int type; + dmnsn_token_type type; dmnsn_parse_item lval; dmnsn_parse_location lloc; } dmnsn_buffered_token; typedef struct dmnsn_token_buffer { - int type; + dmnsn_token_type type; /* Indicate that the first token should be returned as-is */ #define DMNSN_T_LEX_VERBATIM DMNSN_T_EOF @@ -47,7 +47,7 @@ typedef struct dmnsn_token_buffer { } dmnsn_token_buffer; static dmnsn_token_buffer * -dmnsn_new_token_buffer(dmnsn_parse_location lloc, int type, +dmnsn_new_token_buffer(dmnsn_parse_location lloc, dmnsn_token_type type, dmnsn_token_buffer *prev, const char *filename) { dmnsn_token_buffer *tbuffer = dmnsn_malloc(sizeof(dmnsn_token_buffer)); |