diff options
author | Julien Dessaux | 2021-09-23 11:45:49 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-23 11:45:49 +0200 |
commit | 759ee2aa10323d1960405c93f7cd4cf6d383ae7a (patch) | |
tree | 87648b4811b0264f1b54c454ed2569abe1abee94 /pkg/pointer/stack.go | |
parent | Began coding the interpreter (only manages the minimal example for now!) (diff) | |
download | gofunge98-759ee2aa10323d1960405c93f7cd4cf6d383ae7a.tar.gz gofunge98-759ee2aa10323d1960405c93f7cd4cf6d383ae7a.tar.bz2 gofunge98-759ee2aa10323d1960405c93f7cd4cf6d383ae7a.zip |
Each pointer needs its own stack, merging the two packages to avoid a circular dependency
Diffstat (limited to '')
-rw-r--r-- | pkg/pointer/stack.go (renamed from pkg/stack/stack.go) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/stack/stack.go b/pkg/pointer/stack.go index 4dbb72c..1832dbb 100644 --- a/pkg/stack/stack.go +++ b/pkg/pointer/stack.go @@ -1,4 +1,4 @@ -package stack +package pointer type Stack struct { size int |