wmlindent: Update for #ifver, #ifnver
This commit is contained in:
parent
e0b0a18104
commit
9e94b3410c
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ opener_prefixes = ["{FOREACH "]
|
|||
|
||||
def is_directive(str):
|
||||
"Identify things that shouldn't be indented."
|
||||
for prefix in ("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#else", "#endif", "#define", "#enddef", "#undef"):
|
||||
for prefix in ("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#ifver", "#ifnver", "#else", "#endif", "#define", "#enddef", "#undef"):
|
||||
if str.startswith(prefix):
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Add table
Reference in a new issue