diff options
Diffstat (limited to 'cli/cli/semantics/expression.cxx')
-rw-r--r-- | cli/cli/semantics/expression.cxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cli/cli/semantics/expression.cxx b/cli/cli/semantics/expression.cxx new file mode 100644 index 0000000..18d3312 --- /dev/null +++ b/cli/cli/semantics/expression.cxx @@ -0,0 +1,27 @@ +// file : cli/semantics/expression.cxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// license : MIT; see accompanying LICENSE file + +#include <cutl/compiler/type-info.hxx> + +#include <cli/semantics/expression.hxx> + +namespace semantics +{ + // type info + // + namespace + { + struct init + { + init () + { + using compiler::type_info; + + type_info ti (typeid (expression)); + ti.add_base (typeid (node)); + insert (ti); + } + } init_; + } +} |