diff options
Diffstat (limited to 'xsde/cxx/hybrid/parser-header.cxx')
-rw-r--r-- | xsde/cxx/hybrid/parser-header.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/xsde/cxx/hybrid/parser-header.cxx b/xsde/cxx/hybrid/parser-header.cxx index e64ac63..fd5f253 100644 --- a/xsde/cxx/hybrid/parser-header.cxx +++ b/xsde/cxx/hybrid/parser-header.cxx @@ -74,6 +74,9 @@ namespace CXX if (name) { Boolean fl (fixed_length (e)); + Boolean val (!options.value<CLI::suppress_validation> () && + !options.value<CLI::suppress_parser_val> ()); + SemanticGraph::Type& b (e.inherits ().base ()); os << "class " << name << ": public " << @@ -135,9 +138,12 @@ namespace CXX // _post // - os << "virtual void" << endl - << "_post ();" - << endl; + if (val) + { + os << "virtual void" << endl + << "_post ();" + << endl; + } } |