mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
Add basic object parsing and a rough TODO list of steps
This commit is contained in:
parent
1d55adaa33
commit
a85eca8d8c
4 changed files with 62 additions and 8 deletions
|
@ -7,8 +7,8 @@ fn main() -> io::Result<()> {
|
|||
let exit_code = match matches.subcommand_name() {
|
||||
None => Ok::<i32, io::Error>(-1),
|
||||
Some(CMD_PREPROCESS) => {
|
||||
preprocess()?;
|
||||
Ok(0)
|
||||
let sub_matches = matches.subcommand_matches(CMD_PREPROCESS).unwrap();
|
||||
preprocess(sub_matches)
|
||||
}
|
||||
Some(CMD_SURGERY) => Ok(0),
|
||||
_ => unreachable!(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue