Set up nix flake
This commit is contained in:
@@ -78,9 +78,9 @@ fn main() -> std::io::Result<()> {
|
||||
match args.t.as_deref() {
|
||||
Some("ba") => BAParser::parse(&mut input),
|
||||
Some("tt") => TTParser::parse(&mut input),
|
||||
Some("mx") => panic!("Not implemented yet"),
|
||||
_ => panic!("Doesn't recognize file"),
|
||||
}
|
||||
// parse(&mut input)
|
||||
} else if args.input.is_some() {
|
||||
// } else {
|
||||
let t = args.input.unwrap();
|
||||
@@ -89,6 +89,7 @@ fn main() -> std::io::Result<()> {
|
||||
match t.split('.').last() {
|
||||
Some("ba") => BAParser::parse(&mut input),
|
||||
Some("tt") => TTParser::parse(&mut input),
|
||||
Some("mx") => panic!("Not implemented yet"),
|
||||
_ => panic!("Doesn't recognize file"),
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user