diff options
Diffstat (limited to 'libxsd-frontend/xsd-frontend/semantic-graph/list.cxx')
-rw-r--r-- | libxsd-frontend/xsd-frontend/semantic-graph/list.cxx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libxsd-frontend/xsd-frontend/semantic-graph/list.cxx b/libxsd-frontend/xsd-frontend/semantic-graph/list.cxx new file mode 100644 index 0000000..f62f617 --- /dev/null +++ b/libxsd-frontend/xsd-frontend/semantic-graph/list.cxx @@ -0,0 +1,34 @@ +// file : xsd-frontend/semantic-graph/list.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/list.hxx> + +namespace XSDFrontend +{ + namespace SemanticGraph + { + List:: + List (Path const& file, unsigned long line, unsigned long column) + : Node (file, line, column) + { + } + + namespace + { + using compiler::type_info; + + struct ListInit + { + ListInit () + { + type_info ti (typeid (List)); + ti.add_base (typeid (Specialization)); + insert (ti); + } + } list_init_; + } + } +} |