diff --git a/vasm_core/src/vasm_preprocessor.rs b/vasm_core/src/vasm_preprocessor.rs index 522a55c..a706acd 100644 --- a/vasm_core/src/vasm_preprocessor.rs +++ b/vasm_core/src/vasm_preprocessor.rs @@ -11,7 +11,7 @@ pub struct Line { } #[derive(Debug, Clone, PartialEq)] -enum LoopType { +pub enum LoopType { While, Until, } @@ -27,7 +27,7 @@ impl From for LoopType { } #[derive(Debug, Clone, PartialEq)] -enum ControlStructure { +pub enum ControlStructure { Target(String), Loop(String, LoopType), LoopDo(String, String),