Skip to content

Commit

Permalink
wmlindent: don't indent #'#deprecated'
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Oct 19, 2020
1 parent ae9b533 commit e822e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/tools/wmlindent
Expand Up @@ -70,7 +70,7 @@ opener_prefixes = ["{FOREACH "]
def is_directive(str):
"Identify things that shouldn't be indented."
if "#endarg" in str: return True
return str.startswith(("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#ifver", "#ifnver", "#else", "#endif", "#define", "#enddef", "#undef", "#arg", "#endarg"))
return str.startswith(("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#ifver", "#ifnver", "#else", "#endif", "#define", "#enddef", "#undef", "#arg", "#endarg", "#deprecated"))

def closer(str):
"Are we looking at a closing tag?"
Expand Down

0 comments on commit e822e22

Please sign in to comment.