From b950f5de8d2e9ebb874f81178a4ae5803078e06e Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Tue, 14 Mar 2023 00:03:27 +0800 Subject: [PATCH] efuse: Fix handling aliases in efuse_table_gen --- components/efuse/efuse_table_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/efuse/efuse_table_gen.py b/components/efuse/efuse_table_gen.py index 11252c5681..498f50721d 100755 --- a/components/efuse/efuse_table_gen.py +++ b/components/efuse/efuse_table_gen.py @@ -439,7 +439,7 @@ class FuseDefinition(object): str(self.get_bit_count()) + '}, \t // ' + self.comment]) def get_alt_names(self): - result = re.search(r'\[(.*?)\]', self.comment) + result = re.search(r'^\[(.*?)\]', self.comment) if result: return result.group(1).split() return []