diff --git a/src/protocol/mod.rs b/src/protocol/mod.rs index 23199e60e19c0e195d3ee1f26a3f2255cbf3db7a..b924e736d9117e819a062c566db23a2499297351 100644 --- a/src/protocol/mod.rs +++ b/src/protocol/mod.rs @@ -8,6 +8,7 @@ mod parser; // TODO: Remove when not benchmarking pub(crate) mod ast; +pub(crate) mod ast_printer; pub(crate) mod lexer; lazy_static::lazy_static! { @@ -61,6 +62,7 @@ impl ProtocolDescription { return Ok(ProtocolDescription { heap: parser.heap, source: parser.modules[0].source.clone(), root }); } Err(err) => { + println!("ERROR:\n{}", err); Err(format!("{}", err)) } }