aboutsummaryrefslogtreecommitdiff
path: root/conform
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-04-28 01:27:20 -0700
committerJoseph Myers <joseph@codesourcery.com>2012-04-28 01:27:20 -0700
commit41d73a1bc002618cb42ba395018a87d72d915add (patch)
tree0eac4e979fde66c67632b0b434b276df3896f628 /conform
parentadae8f5ed5db7fec25b54eb8c21c2e39f39c6040 (diff)
downloadglibc-41d73a1bc002618cb42ba395018a87d72d915add.zip
glibc-41d73a1bc002618cb42ba395018a87d72d915add.tar.gz
glibc-41d73a1bc002618cb42ba395018a87d72d915add.tar.bz2
conformtest: Fix typo in handling typed-constant from allow-header.
Diffstat (limited to 'conform')
-rw-r--r--conform/conformtest.pl2
1 files changed, 1 insertions, 1 deletions
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";