openbsd-ports/cad/gnucap/patches/patch-modelgen_mg__h
2022-03-11 18:24:26 +00:00

46 lines
1.1 KiB
Plaintext

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