Skip to content

Commit 3f8ca15

Browse files
committed
ignore enums
1 parent 71114ee commit 3f8ca15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/html/htmlcompare_cli.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ fn parse(in_path: &Path) -> Result<Part> {
1717
let mut input = String::new();
1818
File::open(in_path)?.read_to_string(&mut input)?;
1919

20-
let device = svd_parser::parse_with_config(&input, &Config::default().expand(true))?;
20+
let device =
21+
svd_parser::parse_with_config(&input, &Config::default().expand(true).ignore_enums(true))?;
2122
let name = in_path
2223
.file_stem()
2324
.unwrap()

0 commit comments

Comments
 (0)