txlyre 5 小時之前
父節點
當前提交
f7beca7eb5
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      qic.c

+ 6 - 2
qic.c

@@ -6465,8 +6465,12 @@ void compile_node(buffer_t *gbuf, buffer_t *buf, list_t *ctx, table_t *ltab,
     } else if (node->a->tag == N_MEMBER) {
       compile_node(gbuf, buf, ctx, ltab, lstk, sstk, lbl, node->a->a);
       EMIT(", qi_make_string(state, \"%s\")", node->a->t->text);
-    } else
-      COMPILE_ERROR("not a index/member expression");
+    } else {
+      //COMPILE_ERROR("not a index/member expression");
+
+      compile_node(gbuf, buf, ctx, ltab, lstk, sstk, lbl, node->a);
+      EMIT(", NULL");
+    }
 
     EMIT(");");
     break;