Stringify non C identifier symbols to stop macro errors by old gcc.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-06-05 09:53:48 +09:00
parent 2c1d209fd5
commit 7ab7cadbbb
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
#undef MRB_PRESYM_MAX
#define MRB_PRESYM_CSYM(sym, num) MRB_PRESYM__##sym = (num<<1),
#define MRB_PRESYM_QSYM(src, sym, num) MRB_PRESYM_q_##sym = (num<<1),
#define MRB_PRESYM_QSYM(str, sym, num) MRB_PRESYM_q_##sym = (num<<1),
#define MRB_PRESYM_SYM(sym, num)
enum mruby_presym {