From 720c5a33b6a49cf328fdd7611f49153cf8f60247 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 8 Apr 2020 14:51:57 +0300 Subject: Separate tests and examples into individual packages Also make cli module to be explicitly enabled via the config.cli configuration variable. --- cli/semantics/option.cxx | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 cli/semantics/option.cxx (limited to 'cli/semantics/option.cxx') diff --git a/cli/semantics/option.cxx b/cli/semantics/option.cxx deleted file mode 100644 index 8746a5e..0000000 --- a/cli/semantics/option.cxx +++ /dev/null @@ -1,47 +0,0 @@ -// file : cli/semantics/option.cxx -// author : Boris Kolpackov -// license : MIT; see accompanying LICENSE file - -#include - -#include - -namespace semantics -{ - // type info - // - namespace - { - struct init - { - init () - { - using compiler::type_info; - - // belongs - // - { - type_info ti (typeid (belongs)); - ti.add_base (typeid (edge)); - insert (ti); - } - - // initializes - // - { - type_info ti (typeid (initialized)); - ti.add_base (typeid (edge)); - insert (ti); - } - - // option - // - { - type_info ti (typeid (option)); - ti.add_base (typeid (nameable)); - insert (ti); - } - } - } init_; - } -} -- cgit v1.1