aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-01-06 22:24:32 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-01-06 22:24:32 +0100
commitb091127a519b4a09d40d2576f3dadc17122ddb86 (patch)
tree1e388ec36d84d8b18a9beeb2a1b6b8ea91238d41 /cmd
parent5699b20709b56400f8bd6b5f6248266a37f18dff (diff)
add console
Diffstat (limited to 'cmd')
-rw-r--r--cmd/eval/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/eval/main.go b/cmd/eval/main.go
index 61bf3b3..8d85a6f 100644
--- a/cmd/eval/main.go
+++ b/cmd/eval/main.go
@@ -3,7 +3,7 @@ package main
import "dim13.org/j1"
func main() {
- vm := new(j1.J1)
+ vm := j1.New()
if err := vm.LoadFile("testdata/j1e.bin"); err != nil {
panic(err)
}