From 4905ddcf45445f8338ecd54f53c2ffb2821358aa Mon Sep 17 00:00:00 2001 From: HAYAMA_Kaoru Date: Tue, 30 Sep 2014 00:31:21 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=81=8C?= =?UTF-8?q?=E8=A6=8B=E4=BB=98=E3=81=8B=E3=82=89=E3=81=AA=E3=81=8B=E3=81=A3?= =?UTF-8?q?=E3=81=9F=E6=99=82=E3=81=AB=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=8C?= =?UTF-8?q?=E5=87=BA=E3=81=AA=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=9F=E4=B8=8D=E5=85=B7=E5=90=88=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interpreter/interpreter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interpreter/interpreter.go b/interpreter/interpreter.go index c843a8b9..44d36504 100644 --- a/interpreter/interpreter.go +++ b/interpreter/interpreter.go @@ -155,10 +155,10 @@ func InterpretStatement(statements *[][]StatementT, stdio *Stdio) (NextT, error) m := errorStatusPattern.FindStringSubmatch(err.Error()) if m != nil { ErrorLevel = m[1] + err = nil } else { - ErrorLevel = "0" + ErrorLevel = "-1" } - err = nil } else { ErrorLevel = "0" }