]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
first step to getting rid of those unions we don't use anyway
authorWolfgang Bumiller <wry.git@bumiller.com>
Sat, 11 May 2013 20:05:30 +0000 (22:05 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Sat, 11 May 2013 20:05:30 +0000 (22:05 +0200)
ast.h

diff --git a/ast.h b/ast.h
index 98ad79228fee073da2a66cf4dbc581f4f4728b53..f18c73ebe0d5e7ecb94f7012a3dcd15e4a7a9a6c 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -683,14 +683,6 @@ bool ast_generate_accessors(ast_value *asvalue, ir_builder *ir);
 union ast_expression_u
 {
     ast_expression_common expression;
-
-    ast_value    value;
-    ast_binary   binary;
-    ast_block    block;
-    ast_ternary  ternary;
-    ast_ifthen   ifthen;
-    ast_store    store;
-    ast_entfield entfield;
 };
 
 /* Node union
@@ -698,7 +690,6 @@ union ast_expression_u
 union ast_node_u
 {
     ast_node_common node;
-    ast_expression  expression;
 };
 
 #endif