diff options
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index d148a97..c06a9c4 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -1050,7 +1050,10 @@ protected: ~data () {} data (std::ostream& os) - : os_ (os.rdbuf ()), top_object_ (0), cur_object_ (0), + : os_ (os.rdbuf ()), + in_comment_ (false), + top_object_ (0), + cur_object_ (0), sql_name_upper_ ("(.+)", "\\U$1"), sql_name_lower_ ("(.+)", "\\L$1") { @@ -1060,6 +1063,8 @@ protected: std::ostream os_; std::stack<std::streambuf*> os_stack_; + bool in_comment_; + semantics::class_* top_object_; semantics::class_* cur_object_; @@ -1090,6 +1095,8 @@ public: features_type& features; database const db; + bool& in_comment; + string& exp; // Export symbol (with trailing space if specified). string& ext; // Extern symbol. |