X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=lexer.h;h=44f6491725c17a5dc458cdf789a0e2b8cf248450;hp=24e29ddee4080659be406da5f073ef041ecdb115;hb=fee29869079b018a08fa4cface64cc09ebdb01ca;hpb=64661f54ea4b13657301a975db10aeff6245610f diff --git a/lexer.h b/lexer.h index 24e29dd..44f6491 100644 --- a/lexer.h +++ b/lexer.h @@ -30,10 +30,10 @@ struct token_s { char *value; union { - vec3_t v; - int i; - double f; - int t; /* type */ + vec3_t v; + int i; + qcfloat_t f; + int t; /* type */ } constval; #if 0 @@ -105,7 +105,7 @@ typedef struct { } frame_macro; typedef struct lex_file_s { - FILE *file; + fs_file_t *file; const char *open_string; size_t open_string_length; size_t open_string_pos;