Skip to content

Commit

Permalink
Fix $goto target position
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Feb 16, 2025
1 parent ba97d55 commit 81e5216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neko/Compile.nml
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ function rec compile_builtin(ctx,tail,b,el,p) {
ctx.stack := os;
match l.lpos {
| None -> l.lwait := jmp ctx :: l.lwait
| Some p -> write ctx (Jump p)
| Some p -> goto ctx p
};
List.iter (function(t) {
t();
Expand Down

0 comments on commit 81e5216

Please # to comment.