wmlindent: don't indent #'#deprecated'
This commit is contained in:
parent
ae9b533925
commit
e822e22b2f
1 changed files with 1 additions and 1 deletions
|
@ -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?"
|
||||
|
|
Loading…
Add table
Reference in a new issue