From 41d73a1bc002618cb42ba395018a87d72d915add Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 28 Apr 2012 01:27:20 -0700 Subject: conformtest: Fix typo in handling typed-constant from allow-header. --- conform/conformtest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conform') diff --git a/conform/conformtest.pl b/conform/conformtest.pl index 83650c2454..2962e5552b 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"; -- cgit v1.2.3-70-g09d2