From: Joseph Myers Date: Sat, 28 Apr 2012 08:27:20 +0000 (-0700) Subject: conformtest: Fix typo in handling typed-constant from allow-header. X-Git-Tag: upstream/2.20~4177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41d73a1bc002618cb42ba395018a87d72d915add;p=platform%2Fupstream%2Flinaro-glibc.git conformtest: Fix typo in handling typed-constant from allow-header. --- diff --git a/ChangeLog b/ChangeLog index 1fe7b34..039c5fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-04-28 Joseph Myers + + * conform/conformtest.pl: Fix typo in handling typed-constant from + allow-header. + 2012-04-27 Joseph Myers * README: Cut down references to pre-2.6 Linux kernels and diff --git a/conform/conformtest.pl b/conform/conformtest.pl index 83650c2..2962e55 100644 --- a/conform/conformtest.pl +++ b/conform/conformtest.pl @@ -1095,7 +1095,7 @@ while ($#headers >= 0) { } elsif (/^constant *([a-zA-Z0-9_]*) *([A-Za-z0-9_]*)?/) { push @allow, $1; } elsif (/^typed-constant *([a-zA-Z0-9_]*) *({([^}]*)}|([^ ]*)) *([A-Za-z0-9_]*)?/) { - push @allow, 1; + push @allow, $1; } elsif (/^(type|tag) *({([^}]*)|([a-zA-Z0-9_]*))/) { my($type) = "$3$4";