]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.h
Merge branch 'cleanup' into cooking
[xonotic/gmqcc.git] / lexer.h
diff --git a/lexer.h b/lexer.h
index 48ab4b6e17b0a3b7af2aea2d6cbbb66af28ffee7..3184fcc3ecf2bbb0b911fa7c5ad40fd942d6d688 100644 (file)
--- a/lexer.h
+++ b/lexer.h
@@ -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;
@@ -196,6 +196,7 @@ static const oper_info c_operators[] = {
     { "*",   2, opid1('*'),         ASSOC_LEFT,  13, 0,         true},
     { "/",   2, opid1('/'),         ASSOC_LEFT,  13, 0,         true},
     { "%",   2, opid1('%'),         ASSOC_LEFT,  13, 0,         true},
+    { "><",  2, opid2('>','<'),     ASSOC_LEFT,  13, 0,         true},
 
     { "+",   2, opid1('+'),         ASSOC_LEFT,  12, 0,         true},
     { "-",   2, opid1('-'),         ASSOC_LEFT,  12, 0,         true},