X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=ast.h;h=ce69810e152fbc7ea8e338ed0fe0e00bc89b3cf0;hb=ac5cc498407521d07ec6d3952e41c0786bf04832;hp=97a3dc0f4ef88a5c3ac07e5db29cafcfa90be254;hpb=29db4a44edb5cce12197ae1e25129d38f70e0225;p=xonotic%2Fgmqcc.git diff --git a/ast.h b/ast.h index 97a3dc0..ce69810 100644 --- a/ast.h +++ b/ast.h @@ -525,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*);