Created
June 10, 2015 07:43
-
-
Save nocd5/cc95c53be9af83254830 to your computer and use it in GitHub Desktop.
nyagos panic 回避
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/interpreter/interpreter.go b/interpreter/interpreter.go | |
index b8e8633..9abf8c6 100644 | |
--- a/interpreter/interpreter.go | |
+++ b/interpreter/interpreter.go | |
@@ -139,9 +139,9 @@ func (this *Interpreter) Spawnvp() (NextT, error) { | |
var whatToDo NextT = CONTINUE | |
var err error = nil | |
- if argsHook != nil { | |
- this.Args = argsHook(this, this.Args) | |
- } | |
+ // if argsHook != nil { | |
+ // this.Args = argsHook(this, this.Args) | |
+ // } | |
if len(this.Args) > 0 { | |
whatToDo, err = hook(this) | |
if whatToDo == THROUGH { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment