]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.h
Fedora spec files (0.2.9 and 0.3.0) + INSTALL documentation, thanks Igor Gnatenko.
[xonotic/gmqcc.git] / lexer.h
diff --git a/lexer.h b/lexer.h
index f51d56e9073840d021e09f66e6ce03a68c16a54c..0de0c8fd90d04dbf74b5acbfcd2e81196146879e 100644 (file)
--- a/lexer.h
+++ b/lexer.h
@@ -123,11 +123,11 @@ typedef struct lex_file_s {
     token   tok; /* not a pointer anymore */
 
     struct {
-        bool noops;
-        bool nodigraphs; /* used when lexing string constants */
-        bool preprocessing; /* whitespace and EOLs become actual tokens */
-        bool mergelines; /* backslash at the end of a line escapes the newline */
-    } flags;
+        unsigned noops:1;
+        unsigned nodigraphs:1; /* used when lexing string constants */
+        unsigned preprocessing:1; /* whitespace and EOLs become actual tokens */
+        unsigned mergelines:1; /* backslash at the end of a line escapes the newline */
+    } flags; /* sizeof == 1 */
 
     int framevalue;
     frame_macro *frames;