mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Tests: Also check for brace-init comments
This commit is contained in:
@@ -53,7 +53,7 @@ def check():
|
||||
if test.verbose:
|
||||
print("? " + line)
|
||||
m = re.match(
|
||||
r'^\s+(const\s+|static\s+)?[a-zA-Z0-9_]\S+\s+(const\s+)?(m_[a-zA-Z0-9_]+)(;| = )',
|
||||
r'^\s+(const\s+|static\s+)?[a-zA-Z0-9_]\S+\s+(const\s+)?(m_[a-zA-Z0-9_]+)(;|{| = )',
|
||||
line)
|
||||
if m:
|
||||
name = m.group(3)
|
||||
|
||||
Reference in New Issue
Block a user