forked from cerc-io/plugeth
Removed serpent
This commit is contained in:
parent
04561c4ddc
commit
5c7e96d895
@ -4,7 +4,6 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"github.com/obscuren/mutan"
|
"github.com/obscuren/mutan"
|
||||||
"github.com/obscuren/mutan/backends"
|
"github.com/obscuren/mutan/backends"
|
||||||
"github.com/obscuren/serpent-go"
|
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -15,6 +14,7 @@ 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,6 +22,7 @@ func Compile(script string, silent bool) (ret []byte, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return byteCode, nil
|
return byteCode, nil
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user