Skip to content

Commit

Permalink
ignore enums
Browse files Browse the repository at this point in the history
  • Loading branch information
burrbull committed Sep 19, 2023
1 parent 71114ee commit 3f8ca15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/html/htmlcompare_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ fn parse(in_path: &Path) -> Result<Part> {
let mut input = String::new();
File::open(in_path)?.read_to_string(&mut input)?;

let device = svd_parser::parse_with_config(&input, &Config::default().expand(true))?;
let device =
svd_parser::parse_with_config(&input, &Config::default().expand(true).ignore_enums(true))?;
let name = in_path
.file_stem()
.unwrap()
Expand Down

0 comments on commit 3f8ca15

Please sign in to comment.