mirror of https://github.com/status-im/op-geth.git
Serpent! :-)
This commit is contained in:
parent
67af300383
commit
cdbc3ecc2a
|
@ -2,9 +2,11 @@ package ethutil
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/obscuren/mutan"
|
"github.com/obscuren/mutan"
|
||||||
"github.com/obscuren/mutan/backends"
|
"github.com/obscuren/mutan/backends"
|
||||||
"strings"
|
"github.com/obscuren/serpent-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// General compile function
|
// General compile function
|
||||||
|
@ -14,7 +16,6 @@ func Compile(script string, silent bool) (ret []byte, err error) {
|
||||||
|
|
||||||
if len(line) > 1 && line[0:2] == "#!" {
|
if len(line) > 1 && line[0:2] == "#!" {
|
||||||
switch line {
|
switch line {
|
||||||
/*
|
|
||||||
case "#!serpent":
|
case "#!serpent":
|
||||||
byteCode, err := serpent.Compile(script)
|
byteCode, err := serpent.Compile(script)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -22,7 +23,6 @@ func Compile(script string, silent bool) (ret []byte, err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return byteCode, nil
|
return byteCode, nil
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue