Make AST output red

This commit is contained in:
greg 2017-10-08 22:17:29 -07:00
parent 5cb8423ecc
commit 4bb8f82579

View File

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