未验证 提交 dc47abf4 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3419 from DavidLin1577/patch-5

[finsh]Fixed minor bug in finsh_compiler.c
......@@ -890,7 +890,7 @@ int finsh_compiler_run(struct finsh_node* node)
/* clean text segment and vm stack */
memset(&text_segment[0], 0, sizeof(text_segment));
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack[0]));
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack));
/* reset compile stack pointer and pc */
finsh_compile_sp = &finsh_vm_stack[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册