negative number parsing
This commit is contained in:
parent
69536783c7
commit
90284f2d06
3 changed files with 86 additions and 0 deletions
|
|
@ -157,6 +157,13 @@ func GenFuncTable() ast.FuncTable {
|
|||
Args: 2,
|
||||
},
|
||||
|
||||
"substr": &ast.Function{
|
||||
Function: Substr,
|
||||
Name: "substr",
|
||||
TimesCalled: 0,
|
||||
Args: 3,
|
||||
},
|
||||
|
||||
"exit": &ast.Function{
|
||||
Function: ExitShell,
|
||||
Name: "exit",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue