Commit 5c7e96d8 authored by obscuren's avatar obscuren

Removed serpent

parent 04561c4d
...@@ -4,7 +4,6 @@ import ( ...@@ -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,13 +14,15 @@ func Compile(script string, silent bool) (ret []byte, err error) { ...@@ -15,13 +14,15 @@ 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": /*
byteCode, err := serpent.Compile(script) case "#!serpent":
if err != nil { byteCode, err := serpent.Compile(script)
return nil, err if err != nil {
} return nil, err
}
return byteCode, nil return byteCode, nil
*/
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment