conformtest: Fix typo in handling typed-constant from allow-header.

This commit is contained in:
Joseph Myers 2012-04-28 01:27:20 -07:00
parent adae8f5ed5
commit 41d73a1bc0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-04-28 Joseph Myers <joseph@codesourcery.com>
* conform/conformtest.pl: Fix typo in handling typed-constant from
allow-header.
2012-04-27 Joseph Myers <joseph@codesourcery.com>
* README: Cut down references to pre-2.6 Linux kernels and

View file

@ -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";