Fix implicit_pattern to match different quote character found in warnings
authorZac Medico <zmedico@gentoo.org>
Sun, 17 Aug 2008 19:19:07 +0000 (19:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 17 Aug 2008 19:19:07 +0000 (19:19 -0000)
generated by gcc-4.3. Thanks to aballier for reporting with sample log.
(trunk r10753)

svn path=/main/branches/2.1.2/; revision=11425

bin/check-implicit-pointer-usage.py

index 1648dc53d59c3c558dc3f63e9380bc6cdcbf66bf..c462329e463cac09fc22e21f18fe27fc39a9a18b 100755 (executable)
@@ -17,7 +17,7 @@ import re
 import sys
 
 implicit_pattern = re.compile("([^:]*):(\d+): warning: implicit declaration "
-                              + "of function `([^']*)'")
+                              + "of function [`']([^']*)'")
 pointer_pattern = re.compile(
     "([^:]*):(\d+): warning: "
     + "("