Remove commented code
This commit is contained in:
parent
de20c27877
commit
5b12385645
@ -184,27 +184,6 @@ func(st State) Where() string {
|
||||
return st.execPath[l-1]
|
||||
}
|
||||
|
||||
//// PutArg adds the optional argument.
|
||||
////
|
||||
//// Fails if arg already set.
|
||||
//func(st *State) PutArg(input string) error {
|
||||
// st.arg = &input
|
||||
// if st.arg != nil {
|
||||
// return fmt.Errorf("arg already set to %s", *st.arg)
|
||||
// }
|
||||
// return nil
|
||||
//}
|
||||
//
|
||||
//// PopArg retrieves the optional argument. Will be freed upon retrieval.
|
||||
////
|
||||
//// Fails if arg not set (or already freed).
|
||||
//func(st *State) PopArg() (string, error) {
|
||||
// if st.arg == nil {
|
||||
// return "", fmt.Errorf("arg is not set")
|
||||
// }
|
||||
// return *st.arg, nil
|
||||
//}
|
||||
|
||||
// Down adds the given symbol to the command stack.
|
||||
//
|
||||
// Clears mapping and sink.
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
const VERSION = 0
|
||||
|
||||
// Opcodes
|
||||
// VM Opcodes
|
||||
const (
|
||||
BACK = 0
|
||||
CATCH = 1
|
||||
@ -16,7 +16,6 @@ const (
|
||||
MOVE = 6
|
||||
HALT = 7
|
||||
INCMP = 8
|
||||
//IN = 9
|
||||
_MAX = 8
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user