add: jump to relative line number
This commit is contained in:
@@ -140,6 +140,11 @@ void jmp() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
int line_off = atoi(state->args->arg1);
|
||||
if (line_off) {
|
||||
state->curr_line += line_off;
|
||||
return;
|
||||
}
|
||||
|
||||
state->last_jmp_code = 1;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user