Debug ast rewrite

This commit is contained in:
greg
2018-05-11 02:58:14 -07:00
parent d7e3f695b7
commit e6f0710e41
3 changed files with 8 additions and 0 deletions

View File

@@ -95,6 +95,7 @@ impl TraceArtifact {
pub fn new(stage: &str, debug: String) -> TraceArtifact {
let color = match stage {
"parse_trace" | "ast" => "red",
"ast_reducing" => "red",
"tokens" => "green",
"type_check" => "magenta",
_ => "blue",