X-Git-Url: http://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=src%2Foberon-internals.h;h=a6174c36094ea7e23fb510bfc65036953917c743;hp=e265a79cc1b39aff1e2a6afa7d3b51913853c756;hb=2a0d7e7fbb7dcccc65f98301a0627ee47c755f2f;hpb=9e6d0f74f74926a9c73d15418c2e9668689061f2 diff --git a/src/oberon-internals.h b/src/oberon-internals.h index e265a79..a6174c3 100644 --- a/src/oberon-internals.h +++ b/src/oberon-internals.h @@ -1,6 +1,7 @@ #ifndef OBERON_INTERNALS_H #define OBERON_INTERNALS_H +typedef struct gen_module_t gen_module_t; typedef struct gen_proc_t gen_proc_t; typedef struct gen_type_t gen_type_t; typedef struct gen_var_t gen_var_t; @@ -107,6 +108,8 @@ struct oberon_module_t oberon_scope_t * decl; oberon_module_t * next; + + gen_module_t * gen_mod; }; typedef const char * (*ModuleImportCallback)(const char * name); @@ -168,7 +171,7 @@ enum OP_MOD, OP_BITWISE_AND, OP_BITWISE_XOR, - OP_BITWISE_OP, + OP_BITWISE_OR, OP_LOGIC_AND, OP_LOGIC_OR,