Skip to content

Commit

Permalink
Refactor opcode.pl - let INIT() macro to accept expressions with comm…
Browse files Browse the repository at this point in the history
…a(s)
  • Loading branch information
Branislav Zahradník authored and demerphq committed Nov 5, 2022
1 parent 8fdca06 commit 87b8f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EXTERN.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
# endif

#undef INIT
#define INIT(x)
#define INIT(...)

#undef DOINIT
2 changes: 1 addition & 1 deletion INTERN.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
# endif

#undef INIT
#define INIT(x) = x
#define INIT(...) = __VA_ARGS__

#define DOINIT

0 comments on commit 87b8f6c

Please sign in to comment.