Skip to content

Commit 87b8f6c

Browse files
Branislav Zahradníkdemerphq
Branislav Zahradník
authored andcommitted
Refactor opcode.pl - let INIT() macro to accept expressions with comma(s)
1 parent 8fdca06 commit 87b8f6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

EXTERN.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@
5252
# endif
5353

5454
#undef INIT
55-
#define INIT(x)
55+
#define INIT(...)
5656

5757
#undef DOINIT

INTERN.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
# endif
4747

4848
#undef INIT
49-
#define INIT(x) = x
49+
#define INIT(...) = __VA_ARGS__
5050

5151
#define DOINIT

0 commit comments

Comments
 (0)