diff options
author | Julien Dessaux | 2021-09-23 16:14:37 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-23 17:49:44 +0200 |
commit | 198efceb1f14c9822bf87ede6961d0f94a4760db (patch) | |
tree | 5391e03e81979b99380cf2794f8e338234a34b04 /pkg/pointer/stack-stack.go | |
parent | Moved the character execution's to the pointer in order to handle the k command (diff) | |
download | gofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.tar.gz gofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.tar.bz2 gofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.zip |
Implemented commands until helloworld works \o/
Diffstat (limited to '')
-rw-r--r-- | pkg/pointer/stack-stack.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/pointer/stack-stack.go b/pkg/pointer/stack-stack.go index 6d22f51..2f57b05 100644 --- a/pkg/pointer/stack-stack.go +++ b/pkg/pointer/stack-stack.go @@ -85,11 +85,3 @@ func (ss *StackStack) Under() (reflect bool) { } return false } - -func (ss StackStack) Pop() int { - return ss.head.Pop() -} - -func (ss StackStack) Push(v int) { - ss.head.Push(v) -} |