*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
|
Jan. 1 2016 Version 1.2
|
||||||
Added a new sample script source file
|
Added a new sample script source file
|
||||||
Added case-insensitive type name string comparison support
|
Added case-insensitive type name string comparison support
|
||||||
|
Fixed an invalid execution point bug when a program begins with a label
|
||||||
|
|
||||||
Dec. 30 2015
|
Dec. 30 2015
|
||||||
Improved error handling with sub routine and class
|
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);
|
mb_assert(label->node && label->node->prev);
|
||||||
ast = label->node->prev;
|
ast = label->node->prev;
|
||||||
|
if(ast && !ast->data)
|
||||||
|
ast = ast->next;
|
||||||
|
|
||||||
_exit:
|
_exit:
|
||||||
*l = ast;
|
*l = ast;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user