Halt to halt the VM
This commit is contained in:
@@ -86,6 +86,7 @@ func (c *Compiler) Compile(node ast.Node) error {
|
||||
return err
|
||||
}
|
||||
}
|
||||
c.emit(code.OpHalt)
|
||||
|
||||
case *ast.ExpressionStatement:
|
||||
c.l++
|
||||
|
||||
Reference in New Issue
Block a user