*fixed an invalid execution point bug when a program begins with a label.
This commit is contained in:
parent
42a602d8a3
commit
e07eb9210e
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
||||
Jan. 1 2016 Version 1.2
|
||||
Added a new sample script source file
|
||||
Added case-insensitive type name string comparison support
|
||||
Fixed an invalid execution point bug when a program begins with a label
|
||||
|
||||
Dec. 30 2015
|
||||
Improved error handling with sub routine and class
|
||||
|
@ -10701,6 +10701,8 @@ int _core_goto(mb_interpreter_t* s, void** l) {
|
||||
|
||||
mb_assert(label->node && label->node->prev);
|
||||
ast = label->node->prev;
|
||||
if(ast && !ast->data)
|
||||
ast = ast->next;
|
||||
|
||||
_exit:
|
||||
*l = ast;
|
||||
|
Loading…
x
Reference in New Issue
Block a user