Prevent spurious warnings on array references.

This commit is contained in:
Eric S. Raymond 2007-06-29 10:05:21 +00:00
parent 80c34215f9
commit 2c5b884f91

View file

@ -67,7 +67,7 @@ def reindent(name, infp, outfp):
lasttag = ""
countlines = 0
countblanks = 0
multitag = re.compile(r"\].*\[")
multitag = re.compile(r"\[a-z]].*\[[a-z]") # Avoid triggering on arrays
for line in infp:
countlines += 1
# Detect things we can't handle