diff options
Diffstat (limited to 'cli/semantics/class.cxx')
-rw-r--r-- | cli/semantics/class.cxx | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/cli/semantics/class.cxx b/cli/semantics/class.cxx index 1af31dc..9a6fc85 100644 --- a/cli/semantics/class.cxx +++ b/cli/semantics/class.cxx @@ -19,9 +19,21 @@ namespace semantics { using compiler::type_info; - type_info ti (typeid (class_)); - ti.add_base (typeid (scope)); - insert (ti); + // inherits + // + { + type_info ti (typeid (inherits)); + ti.add_base (typeid (edge)); + insert (ti); + } + + // class_ + // + { + type_info ti (typeid (class_)); + ti.add_base (typeid (scope)); + insert (ti); + } } } init_; } |