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
+2 -2
View File
@@ -17,8 +17,8 @@
#undef MRB_PRESYM_QSYM
#undef MRB_PRESYM_SYM
#define MRB_PRESYM_CSYM(sym, num) #sym,
#define MRB_PRESYM_QSYM(sym, name, num) #sym,
#define MRB_PRESYM_SYM(sym, num) #sym,
#define MRB_PRESYM_QSYM(str, name, num) str,
#define MRB_PRESYM_SYM(str, num) str,
static const char *presym_table[] = {
#include <../build/presym.inc>