]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
moving -Olocal-temps to -O4 until the issues are solved
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 049feb9223a74ad40b51a133370c84eb95cc08cf..ce69810e152fbc7ea8e338ed0fe0e00bc89b3cf0 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012
+ * Copyright (C) 2012, 2013
  *     Wolfgang Bumiller
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -159,6 +159,7 @@ struct ast_value_s
     ast_expression_common expression;
 
     const char *name;
+    const char *desc;
 
     /*
     int         vtype;
@@ -524,9 +525,11 @@ struct ast_label_s
     const char *name;
     ir_block   *irblock;
     ast_goto  **gotos;
+    /* means it has not yet been defined */
+    bool        undefined;
 };
 
-ast_label* ast_label_new(lex_ctx ctx, const char *name);
+ast_label* ast_label_new(lex_ctx ctx, const char *name, bool undefined);
 void ast_label_delete(ast_label*);
 void ast_label_register_goto(ast_label*, ast_goto*);