diff options
Diffstat (limited to 'libxsd-frontend/xsd-frontend/semantic-graph/union.cxx')
-rw-r--r-- | libxsd-frontend/xsd-frontend/semantic-graph/union.cxx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libxsd-frontend/xsd-frontend/semantic-graph/union.cxx b/libxsd-frontend/xsd-frontend/semantic-graph/union.cxx new file mode 100644 index 0000000..4e7436d --- /dev/null +++ b/libxsd-frontend/xsd-frontend/semantic-graph/union.cxx @@ -0,0 +1,34 @@ +// file : xsd-frontend/semantic-graph/union.cxx +// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +#include <cutl/compiler/type-info.hxx> + +#include <xsd-frontend/semantic-graph/union.hxx> + +namespace XSDFrontend +{ + namespace SemanticGraph + { + Union:: + Union (Path const& file, unsigned long line, unsigned long column) + : Node (file, line, column) + { + } + + namespace + { + using compiler::type_info; + + struct UnionInit + { + UnionInit () + { + type_info ti (typeid (Union)); + ti.add_base (typeid (Specialization)); + insert (ti); + } + } union_init_; + } + } +} |