]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.h
mergelines flag for the lexer to handle a backslash-newline
[xonotic/gmqcc.git] / lexer.h
diff --git a/lexer.h b/lexer.h
index 76d2b7a711c9ce8f5a2e8ddf704778328c92bb70..b8e2e01f8449c1654ae298ffcff3181f6d58d5cb 100644 (file)
--- a/lexer.h
+++ b/lexer.h
@@ -119,6 +119,7 @@ typedef 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;
 
     int framevalue;