DEADSOFTWARE

Добавлен NIL и автоматическое разыменование указателей
[dsw-obn.git] / oberon.h
index 93f80a8e78dc3fc2ccb5ea306ed26ce54a7c74f6..02547cd70be76f7ffdaeb60097fa5fe89cc5dd87 100644 (file)
--- a/oberon.h
+++ b/oberon.h
@@ -204,6 +204,7 @@ struct oberon_context_s
        oberon_type_t * int_type;
        oberon_type_t * bool_type;
        oberon_type_t * void_type;
+       oberon_type_t * void_ptr_type;
        oberon_scope_t * world_scope;
 
        gen_context_t * gen_context;
@@ -216,7 +217,9 @@ enum
        MODE_BOOLEAN,
        MODE_CALL,
        MODE_INDEX,
-       MODE_FIELD
+       MODE_FIELD,
+       MODE_DEREF,
+       MODE_NIL
 };
 
 enum