]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.h
Merge pull request #138 from ignatenkobrain/fix_authors
[xonotic/gmqcc.git] / lexer.h
diff --git a/lexer.h b/lexer.h
index 24e29ddee4080659be406da5f073ef041ecdb115..44f6491725c17a5dc458cdf789a0e2b8cf248450 100644 (file)
--- 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;