Beispiel #1
0
def Terminate(params, ctxt, scope, stream, coord):
    raise errors.InterpExit()
Beispiel #2
0
def Exit(params, ctxt, scope, stream, coord):
    if len(params) != 1:
        raise errors.InvalidArguments(coord, "1 arguments", "{} args".format(len(params)))
    error_code = PYVAL(params[0])
    raise errors.InterpExit(error_code)