Fix implicit_pattern to match different quote character found in warnings
authorZac Medico <zmedico@gentoo.org>
Sat, 21 Jun 2008 11:58:44 +0000 (11:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 21 Jun 2008 11:58:44 +0000 (11:58 -0000)
generated by gcc-4.3. Thanks to aballier for reporting with sample log.

svn path=/main/trunk/; revision=10753

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: "
     + "("