forked from katzen-cafe/iowo
lang: add highlighting to errors
This commit is contained in:
parent
29cdcfbe0c
commit
4bcaf945d7
6 changed files with 128 additions and 15 deletions
|
@ -23,7 +23,7 @@ fn main() {
|
|||
let p_out = dbg!(parser.finish());
|
||||
let o = Output::from_parser_output(toks, p_out);
|
||||
|
||||
println!("Out: {:?}", o);
|
||||
println!("{}", o.debug_colored());
|
||||
|
||||
// let parse_res = parser::parse(&f);
|
||||
// println!("parse: {:?}", parse_res);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue