From 4fd5376eb6182e160c5f1fe1b4b0f113e86b8bfb Mon Sep 17 00:00:00 2001 From: ktanaka101 Date: Mon, 27 Jul 2020 21:27:34 +0900 Subject: [PATCH] Fix accessibility --- src/vm.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vm.rs b/src/vm.rs index 66cfab3..b2f124b 100644 --- a/src/vm.rs +++ b/src/vm.rs @@ -14,8 +14,9 @@ mod preludes { use preludes::*; -const STACK_SIZE: usize = 2048; +pub const STACK_SIZE: usize = 2048; pub const GLOBALS_SIZE: usize = 65536; + const TRUE: object::Boolean = object::Boolean { value: true }; const FALSE: object::Boolean = object::Boolean { value: false }; const NULL: object::Null = object::Null {};