aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-04 19:42:43 +0800
committerobscuren <geffobscura@gmail.com>2014-07-04 19:42:43 +0800
commitde183e80db6ce380c8030f00c24479ed0290878b (patch)
tree88e557d73a9aef9fe6a7d53f83df7af17e41a6fe
parentca395306e3997c1f2fd2aa2e780518eb2e2f1845 (diff)
downloadgo-tangerine-de183e80db6ce380c8030f00c24479ed0290878b.tar.gz
go-tangerine-de183e80db6ce380c8030f00c24479ed0290878b.tar.zst
go-tangerine-de183e80db6ce380c8030f00c24479ed0290878b.zip
Silent compiler errors when continues compiling
-rw-r--r--ethereal/debugger.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereal/debugger.go b/ethereal/debugger.go
index d1516c5d5..f649857b2 100644
--- a/ethereal/debugger.go
+++ b/ethereal/debugger.go
@@ -64,7 +64,7 @@ func (self *DebuggerWindow) SetAsm(data []byte) {
func (self *DebuggerWindow) Compile(code string) {
var err error
script := ethutil.StringToByteFunc(code, func(s string) (ret []byte) {
- ret, err = ethutil.Compile(s)
+ ret, err = ethutil.Compile(s, true)
return
})
@@ -95,7 +95,7 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data
var err error
script := ethutil.StringToByteFunc(scriptStr, func(s string) (ret []byte) {
- ret, err = ethutil.Compile(s)
+ ret, err = ethutil.Compile(s, false)
return
})