diff options
author | Julien Dessaux | 2021-09-22 00:31:53 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-22 00:31:53 +0200 |
commit | 21cbac676962af4df351fd184fdf24b4cc7e6651 (patch) | |
tree | fcbf63f202b8d4cb3860a8c1b550cf8e77b9967c /pkg/stack/stack-stack.go | |
parent | Simplified instruction pointer delta handling (diff) | |
download | gofunge98-21cbac676962af4df351fd184fdf24b4cc7e6651.tar.gz gofunge98-21cbac676962af4df351fd184fdf24b4cc7e6651.tar.bz2 gofunge98-21cbac676962af4df351fd184fdf24b4cc7e6651.zip |
Continued implementing the stack stack
Diffstat (limited to 'pkg/stack/stack-stack.go')
-rw-r--r-- | pkg/stack/stack-stack.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/stack/stack-stack.go b/pkg/stack/stack-stack.go index db5a405..adc41c6 100644 --- a/pkg/stack/stack-stack.go +++ b/pkg/stack/stack-stack.go @@ -17,6 +17,7 @@ func NewStackStack() *StackStack { } func (ss *StackStack) Begin(p *pointer.Pointer) { + ss.height++ soss := ss.head n := soss.Pop() np := n |