]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
fixing an install cmd in bsd-release/PKGBUILD
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index f0d5c99c0f544e4019382b432223a73711362e86..94a4bf638c48441674b4eed014a5ad00a8d82150 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -51,7 +51,7 @@
 /* Full version string in case we need it */
 #ifdef GMQCC_GITINFO
 #    define GMQCC_DEV_VERSION_STRING "git build: " GMQCC_GITINFO "\n"
-#elif defined(GMQCC_VERSION_TYPE_DEVEL
+#elif defined(GMQCC_VERSION_TYPE_DEVEL)
 #    define GMQCC_DEV_VERSION_STRING "development build\n"
 #else
 #    define GMQCC_DEV_VERSION_STRING
@@ -975,7 +975,7 @@ typedef struct qc_program_s {
     int    argc; /* current arg count for debugging */
 } qc_program;
 
-qc_program* prog_load(const char *filename);
+qc_program* prog_load(const char *filename, bool ignoreversion);
 void        prog_delete(qc_program *prog);
 
 bool prog_exec(qc_program *prog, prog_section_function *func, size_t flags, long maxjumps);
@@ -1149,6 +1149,7 @@ typedef struct {
     bool        pp_only;        /* -E            */
     size_t      max_array_size; /* --max-array=  */
     bool        add_info;       /* --add-info    */
+    bool        correction;     /* --correct     */
 
     uint32_t flags        [1 + (COUNT_FLAGS         / 32)];
     uint32_t warn         [1 + (COUNT_WARNINGS      / 32)];