wmlscope: remove 'endarg' strings from HTML output

This commit is contained in:
Elvish_Hunter 2020-11-19 11:49:39 +01:00
parent b39ca0e548
commit 4cf440e729

View file

@ -678,6 +678,7 @@ class CrossRef:
state = "macro_body"
elif state == "macro_optional_argument" and "#endarg" in line:
state = "macro_header"
continue
if state == "macro_header":
# Ignore macro header commends that are pragmas
if ("wmlscope" in line) or ("wmllint:" in line):