Remove commented code

This commit is contained in:
lash 2023-04-01 23:42:34 +01:00
parent de20c27877
commit 5b12385645
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 1 additions and 23 deletions

View File

@ -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.

View File

@ -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
)