Skip to content

Commit

Permalink
Polish the macro interface
Browse files Browse the repository at this point in the history
  • Loading branch information
yihozhang committed Jan 5, 2025
1 parent 2dfd4f3 commit eba0e9d
Show file tree
Hide file tree
Showing 4 changed files with 601 additions and 546 deletions.
2 changes: 1 addition & 1 deletion src/ast/desugar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub(crate) fn desugar_command(
let s = std::fs::read_to_string(&file)
.unwrap_or_else(|_| panic!("{span} Failed to read file {file}"));
return desugar_program(
parse_program(Some(file), &s, parser)?,
parser.get_program_from_string(Some(file), &s)?,
parser,
seminaive_transform,
);
Expand Down
Loading

0 comments on commit eba0e9d

Please sign in to comment.