aboutsummaryrefslogtreecommitdiff
path: root/cmd/j1e/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/j1e/main.go')
-rw-r--r--cmd/j1e/main.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/j1e/main.go b/cmd/j1e/main.go
index 65cf626..057e106 100644
--- a/cmd/j1e/main.go
+++ b/cmd/j1e/main.go
@@ -2,10 +2,14 @@ package main
//go:generate file2go -in ../../testdata/j1e.bin
-import "dim13.org/j1"
+import (
+ "context"
+
+ "dim13.org/j1"
+)
func main() {
vm := j1.New()
vm.LoadBytes(J1eBin)
- vm.Run()
+ vm.Run(context.Background())
}