Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/gnucap/files/patch-modelgen__mg_.h
16461 views
1
--- modelgen/mg_.h.orig 2013-04-24 03:24:21 UTC
2
+++ modelgen/mg_.h
3
@@ -108,6 +108,20 @@ class List_Base (public)
4
size_t size()const {return _list.size();}
5
};
6
/*--------------------------------------------------------------------------*/
7
+class C_Comment
8
+ :public Base
9
+{
10
+public:
11
+ void parse(CS& f);
12
+};
13
+/*--------------------------------------------------------------------------*/
14
+class Cxx_Comment
15
+ :public Base
16
+{
17
+public:
18
+ void parse(CS& f);
19
+};
20
+/*--------------------------------------------------------------------------*/
21
/* A "Collection" differs from a "List" in how it is parsed.
22
* Each parse of a "Collection" created one more object and stores
23
* it in the Collection. The size of the Collection therefore grows by 1.
24
@@ -198,20 +212,6 @@ class Collection (public)
25
f << (**i);
26
}
27
}
28
-};
29
-/*--------------------------------------------------------------------------*/
30
-class C_Comment
31
- :public Base
32
-{
33
-public:
34
- void parse(CS& f);
35
-};
36
-/*--------------------------------------------------------------------------*/
37
-class Cxx_Comment
38
- :public Base
39
-{
40
-public:
41
- void parse(CS& f);
42
};
43
/*--------------------------------------------------------------------------*/
44
class Key
45
46