Avoid namespace issues with dstatements.

This commit is contained in:
Bill Currie 2011-01-19 11:35:34 +09:00
parent f2ef24d0cc
commit cac2e04b18
2 changed files with 4 additions and 4 deletions

View file

@ -308,7 +308,7 @@ extern opcode_t pr_opcodes[];
opcode_t *PR_Opcode (pr_short_t opcode);
void PR_Opcode_Init (void);
typedef struct statement_s {
typedef struct dstatement_s {
pr_opcode_e op:16;
pr_ushort_t a,b,c;
} dstatement_t;

View file

@ -33,15 +33,15 @@
#define __codespace_h
typedef struct codespace_s {
struct statement_s *code;
struct dstatement_s *code;
int size;
int max_size;
} codespace_t;
codespace_t *codespace_new (void);
void codespace_delete (codespace_t *codespace);
void codespace_addcode (codespace_t *codespace, struct statement_s *code,
void codespace_addcode (codespace_t *codespace, struct dstatement_s *code,
int size);
struct statement_s *codespace_newstatement (codespace_t *codespace);
struct dstatement_s *codespace_newstatement (codespace_t *codespace);
#endif//__codespace_h