summaryrefslogtreecommitdiffstats
path: root/src/forth/interp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/forth/interp.rs')
-rw-r--r--src/forth/interp.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/forth/interp.rs b/src/forth/interp.rs
index c6dcb72..b34ed31 100644
--- a/src/forth/interp.rs
+++ b/src/forth/interp.rs
@@ -66,15 +66,15 @@ pub(super) struct DataStack(pub(super) Vec<i32>);
pub(super) struct CallStack(pub(super) Vec<InstructionPointer>);
#[derive(Clone, Debug)]
-pub(super) struct WordList(pub(super) Vec<ByteCode>);
+pub struct WordList(pub(super) Vec<ByteCode>);
#[derive(Debug)]
pub struct Interp {
// todo: don't be pub, probably
- pub stack: DataStack,
+ pub(super) stack: DataStack,
callstack: CallStack,
// todo: don't be pub
- pub wordlist: WordList,
+ pub(super) wordlist: WordList,
ip: InstructionPointer,
}