mild namespace cleanup

This commit is contained in:
Bill Currie 2002-05-11 03:37:36 +00:00
parent 56d033efa4
commit 9b516ff84f
2 changed files with 9 additions and 9 deletions

View File

@ -60,27 +60,27 @@ typedef struct {
statref_t *refs; statref_t *refs;
dstatement_t *statement; dstatement_t *statement;
const char *name; const char *name;
} elabel_t; } ex_label_t;
typedef struct { typedef struct {
struct expr_s *head; struct expr_s *head;
struct expr_s **tail; struct expr_s **tail;
struct expr_s *result; struct expr_s *result;
int is_call; int is_call;
} block_t; } ex_block_t;
typedef struct { typedef struct {
struct expr_s *expr; struct expr_s *expr;
def_t *def; def_t *def;
type_t *type; type_t *type;
int users; int users;
} temp_t; } ex_temp_t;
typedef struct { typedef struct {
int val; int val;
type_t *type; type_t *type;
int abs; int abs;
} pointer_t; } ex_pointer_t;
typedef struct expr_s { typedef struct expr_s {
struct expr_s *next; struct expr_s *next;
@ -90,8 +90,8 @@ typedef struct expr_s {
unsigned paren:1; unsigned paren:1;
unsigned rvalue:1; unsigned rvalue:1;
union { union {
elabel_t label; ex_label_t label;
block_t block; ex_block_t block;
struct { struct {
int op; int op;
type_t *type; type_t *type;
@ -99,7 +99,7 @@ typedef struct expr_s {
struct expr_s *e2; struct expr_s *e2;
} expr; } expr;
def_t *def; def_t *def;
temp_t temp; ex_temp_t temp;
const char *string_val; const char *string_val;
float float_val; float float_val;
@ -107,7 +107,7 @@ typedef struct expr_s {
int entity_val; int entity_val;
int field_val; int field_val;
int func_val; int func_val;
pointer_t pointer; ex_pointer_t pointer;
float quaternion_val[4]; float quaternion_val[4];
int integer_val; int integer_val;
unsigned int uinteger_val; unsigned int uinteger_val;

View File

@ -421,7 +421,7 @@ emit_expr (expr_t *e)
def_t *def_a; def_t *def_a;
def_t *def_b; def_t *def_b;
statref_t *ref; statref_t *ref;
elabel_t *label; ex_label_t *label;
//printf ("%d ", e->line); //printf ("%d ", e->line);
//print_expr (e); //print_expr (e);