|
@@ -2411,8 +2411,7 @@ const char *STD[][2] = {
|
|
|
"func exit(c) {\n"
|
|
|
" if type(c) != \"number\"\n"
|
|
|
" throw \"expected first argument to be: number, but got: \" + type(c)\n"
|
|
|
- " inline `int code = qi_get(state, \"c\")->value.number`\n"
|
|
|
- " inline `exit(code)`\n"
|
|
|
+ " inline `qi_exit(state, qi_get(state, \"c\")->value.number)`\n"
|
|
|
"}\n"
|
|
|
"func head(l): return l[0]\n"
|
|
|
"func tail(l): return slice(l, 1)\n"
|