function calls no longer return number tokens (cleaner output), added ? command to get return code

This commit is contained in:
Aidan 2020-06-28 14:20:17 -07:00
parent ffef8a96e7
commit f1cc9b7f8c
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 22 additions and 8 deletions

View file

@ -122,6 +122,13 @@ func GenFuncTable() ast.FuncTable {
TimesCalled: 0,
Args: 0,
},
"?": &ast.Function{
Function: get_exit,
Name:"get exit code",
TimesCalled: 0,
Args: 0,
},
}
return stdlib