回答編集履歴
2
微細ミス修正
test
CHANGED
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
SYM(Sat) \
|
100
100
|
|
101
|
-
SYM(Sun)
|
101
|
+
LAST_SYM(Sun)
|
102
102
|
|
103
103
|
#include "enum.inc"
|
104
104
|
|
@@ -118,7 +118,7 @@
|
|
118
118
|
|
119
119
|
```
|
120
120
|
|
121
|
-
[wandbox](https://wandbox.org/permlink/
|
121
|
+
[wandbox](https://wandbox.org/permlink/VS6j4NtBYxF5am1U)
|
122
122
|
|
123
123
|
|
124
124
|
|
1
ソースのコピペミス修正
test
CHANGED
@@ -13,6 +13,24 @@
|
|
13
13
|
```C
|
14
14
|
|
15
15
|
// enum.inc
|
16
|
+
|
17
|
+
#define SYM(dSym) dSym,
|
18
|
+
|
19
|
+
#define LAST_SYM(dSym) dSym
|
20
|
+
|
21
|
+
enum NAME
|
22
|
+
|
23
|
+
{
|
24
|
+
|
25
|
+
SYM_LIST
|
26
|
+
|
27
|
+
};
|
28
|
+
|
29
|
+
#undef SYM
|
30
|
+
|
31
|
+
#undef LAST_SYM
|
32
|
+
|
33
|
+
|
16
34
|
|
17
35
|
#define CAT_I(a,b) a##b
|
18
36
|
|