From: Zac Medico Date: Sat, 21 Jun 2008 11:58:44 +0000 (-0000) Subject: Fix implicit_pattern to match different quote character found in warnings X-Git-Tag: v2.2_rc2~361 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec706a264214a30639665f60128257ccd9e9e978;p=portage.git Fix implicit_pattern to match different quote character found in warnings generated by gcc-4.3. Thanks to aballier for reporting with sample log. svn path=/main/trunk/; revision=10753 --- diff --git a/bin/check-implicit-pointer-usage.py b/bin/check-implicit-pointer-usage.py index 1648dc53d..c462329e4 100755 --- a/bin/check-implicit-pointer-usage.py +++ b/bin/check-implicit-pointer-usage.py @@ -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: " + "("