diff --git a/schala-lang/language/src/lib.rs b/schala-lang/language/src/lib.rs index 023c1e1..4757eee 100644 --- a/schala-lang/language/src/lib.rs +++ b/schala-lang/language/src/lib.rs @@ -139,7 +139,8 @@ fn parsing(input: Vec, handle: &mut Schala, comp: Option<&mut let ast = parser.parse(); let _trace = parser.format_parse_trace(); - comp.map(|_comp| { + comp.map(|comp| { + comp.add_artifact(format!("{:#?}", ast)); /* //TODO need to control which of these debug stages get added let opt = comp.cur_debug_options.get(0).map(|s| s.clone());