txlyre 1 일 전
부모
커밋
0a6b647037
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      qic.c

+ 2 - 0
qic.c

@@ -4214,6 +4214,8 @@ void compile_block(buffer_t *gbuf, buffer_t *buf, list_t *ctx, table_t *ltab,
     }
     else if (node->tag == N_FUNCDEF)
     {
+      EMIT("qi_decl(state, \"%s\", state->nil);\n", node->t->text);
+      
       compile_func(gbuf, buf, ctx, ltab, lstk, sstk, lbl, node, NULL);
 
       EMIT("\n");