Add back some debugging for parsing
This commit is contained in:
parent
53ce31ea8c
commit
66f71606ef
@ -139,7 +139,8 @@ fn parsing(input: Vec<tokenizing::Token>, handle: &mut Schala, comp: Option<&mut
|
|||||||
let ast = parser.parse();
|
let ast = parser.parse();
|
||||||
let _trace = parser.format_parse_trace();
|
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
|
//TODO need to control which of these debug stages get added
|
||||||
let opt = comp.cur_debug_options.get(0).map(|s| s.clone());
|
let opt = comp.cur_debug_options.get(0).map(|s| s.clone());
|
||||||
|
Loading…
Reference in New Issue
Block a user