freebsd-ports/cad/gnucap/files/patch-modelgen__mg_.h
Pawel Pekala 4ac28dd88f - Fix build with clang
- Convert to OptionsNG, add READLINE option
- Realign pkg-descr

PR:		ports/172724
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
2012-12-07 21:39:55 +00:00

44 lines
1.2 KiB
C++

--- modelgen/mg_.h.orig 2009-12-08 08:19:15.000000000 +0900
+++ modelgen/mg_.h 2012-10-14 00:54:09.000000000 +0900
@@ -108,6 +108,20 @@
size_t size()const {return _list.size();}
};
/*--------------------------------------------------------------------------*/
+class C_Comment
+ :public Base
+{
+public:
+ void parse(CS& f);
+};
+/*--------------------------------------------------------------------------*/
+class Cxx_Comment
+ :public Base
+{
+public:
+ void parse(CS& f);
+};
+/*--------------------------------------------------------------------------*/
/* A "Collection" differs from a "List" in how it is parsed.
* Each parse of a "Collection" created one more object and stores
* it in the Collection. The size of the Collection therefore grows by 1.
@@ -200,20 +214,6 @@
}
};
/*--------------------------------------------------------------------------*/
-class C_Comment
- :public Base
-{
-public:
- void parse(CS& f);
-};
-/*--------------------------------------------------------------------------*/
-class Cxx_Comment
- :public Base
-{
-public:
- void parse(CS& f);
-};
-/*--------------------------------------------------------------------------*/
class Key
:public Base
{