Skip to content

Commit

Permalink
disable print function
Browse files Browse the repository at this point in the history
  • Loading branch information
douyixuan committed Sep 19, 2024
1 parent 4e293ad commit 1b6ce6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/compiler/func.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ func (c *Compiler) compileCallNode(v *parser.CallNode) value.Value {
return c.capFuncCall(v)
case "append":
return c.appendFuncCall(v)
case "print":
return c.printFuncCall(v)
case "panic":
message, _ := v.Arguments[0].(*parser.ConstantNode)
c.panic(c.contextBlock, message.ValueStr)
Expand Down

0 comments on commit 1b6ce6a

Please sign in to comment.