Who knew macro names actually have leading underscores sometimes?
Tweak macroscope to cope.
This commit is contained in:
parent
c0f5959abb
commit
fd8dfe70c7
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class macro_cross_reference:
|
|||
line = line.split('#')[0]
|
||||
if not line or "{" not in line:
|
||||
continue
|
||||
for match in re.finditer(r"\{([A-Z][A-Z0-9_:]*[A-Z0-9_])\b", line):
|
||||
for match in re.finditer(r"\{([A-Z_][A-Z0-9_:]*[A-Z0-9_])\b", line):
|
||||
name = match.group(1)
|
||||
if name in formals:
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue