From 3f8ca156e0782238c399569240251350f46e922a Mon Sep 17 00:00:00 2001 From: Andrey Zgarbul Date: Tue, 19 Sep 2023 09:11:41 +0300 Subject: [PATCH] ignore enums --- src/html/htmlcompare_cli.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/html/htmlcompare_cli.rs b/src/html/htmlcompare_cli.rs index 4aca8782..35a136f4 100644 --- a/src/html/htmlcompare_cli.rs +++ b/src/html/htmlcompare_cli.rs @@ -17,7 +17,8 @@ fn parse(in_path: &Path) -> Result { 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()