function calls no longer return number tokens (cleaner output), added ? command to get return code
This commit is contained in:
parent
ffef8a96e7
commit
f1cc9b7f8c
2 changed files with 22 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue