1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- $OpenBSD: patch-modelgen_mg__h,v 1.1 2017/05/01 19:29:26 espie Exp $
- Index: modelgen/mg_.h
- --- modelgen/mg_.h.orig
- +++ modelgen/mg_.h
- @@ -77,6 +77,20 @@ inline CS& operator>>(CS& f, Base& b) {b.parse(f)
- inline std::ostream& operator<<(std::ostream& f, const Base& d)
- {d.print(f); return f;}
- /*--------------------------------------------------------------------------*/
- +class C_Comment
- + :public Base
- +{
- +public:
- + void parse(CS& f);
- +};
- +/*--------------------------------------------------------------------------*/
- +class Cxx_Comment
- + :public Base
- +{
- +public:
- + void parse(CS& f);
- +};
- +/*--------------------------------------------------------------------------*/
- template <class T>
- class List_Base
- :public Base
- @@ -147,20 +161,6 @@ class Collection (public)
- file.warn(0, "what's this??");
- }}
- }
- -};
- -/*--------------------------------------------------------------------------*/
- -class C_Comment
- - :public Base
- -{
- -public:
- - void parse(CS& f);
- -};
- -/*--------------------------------------------------------------------------*/
- -class Cxx_Comment
- - :public Base
- -{
- -public:
- - void parse(CS& f);
- };
- /*--------------------------------------------------------------------------*/
- class Key
|