From 381f872a76f6ad8fc5caee172e903f08dd652547 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Oct 2015 12:40:46 +0200 Subject: Add parsing support for scope-level documentation --- cli/semantics/doc.cxx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cli/semantics/doc.cxx (limited to 'cli/semantics/doc.cxx') diff --git a/cli/semantics/doc.cxx b/cli/semantics/doc.cxx new file mode 100644 index 0000000..4b2f9b4 --- /dev/null +++ b/cli/semantics/doc.cxx @@ -0,0 +1,28 @@ +// file : cli/semantics/doc.cxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#include + +#include + +namespace semantics +{ + // type info + // + namespace + { + struct init + { + init () + { + using compiler::type_info; + + type_info ti (typeid (doc)); + ti.add_base (typeid (nameable)); + insert (ti); + } + } init_; + } +} -- cgit v1.1