Skip to content

Commit 81e5216

Browse files
committed
Fix $goto target position
1 parent ba97d55 commit 81e5216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/neko/Compile.nml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ function rec compile_builtin(ctx,tail,b,el,p) {
718718
ctx.stack := os;
719719
match l.lpos {
720720
| None -> l.lwait := jmp ctx :: l.lwait
721-
| Some p -> write ctx (Jump p)
721+
| Some p -> goto ctx p
722722
};
723723
List.iter (function(t) {
724724
t();

0 commit comments

Comments
 (0)