contrib/check-code.py
changeset 22101 6fa40bd78bc8
parent 22100 efd5b7eb3e6d
child 22175 2965804483e3
--- a/contrib/check-code.py	Sat Aug 02 17:01:55 2014 -0700
+++ b/contrib/check-code.py	Sat Aug 02 17:04:53 2014 -0700
@@ -179,12 +179,14 @@
 ]
 
 for i in [0, 1]:
-    for p, m in testpats[i]:
+    for tp in testpats[i]:
+        p = tp[0]
+        m = tp[1]
         if p.startswith(r'^'):
             p = r"^  [$>] (%s)" % p[1:]
         else:
             p = r"^  [$>] .*(%s)" % p
-        utestpats[i].append((p, m))
+        utestpats[i].append((p, m) + tp[2:])
 
 utestfilters = [
     (r"<<(\S+)((.|\n)*?\n  > \1)", rephere),