Fix operand types error
MODIFY
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
@@ -1358,7 +1358,7 @@ heredoc_end(parser_state *p)
node *list = info->doc;
node *list2 = NULL;
while (list) {
- if (list->car->car == NODE_STR) {
+ if (((enum node_type)(intptr_t)list->car->car) == NODE_STR) {
node *pair = list->car->cdr;
const char *str = (char*)pair->car;
size_t len = (size_t)pair->cdr;

MODIFY
mrbgems/mruby-compiler/core/y.tab.c
mrbgems/mruby-compiler/core/y.tab.c
@@ -1422,7 +1422,7 @@ heredoc_end(parser_state *p)
node *list = info->doc;
node *list2 = NULL;
while (list) {
- if (list->car->car == NODE_STR) {
+ if (((enum node_type)(intptr_t)list->car->car) == NODE_STR) {
node *pair = list->car->cdr;
const char *str = (char*)pair->car;
size_t len = (size_t)pair->cdr;

Fix operand types error