From b92a20b5603bfb7cd7cd775f3ca9099731ac63cf Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 4 Sep 2013 20:47:21 +0000 Subject: conformtest: Fix namespace testing. --- conform/conformtest.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conform') diff --git a/conform/conformtest.pl b/conform/conformtest.pl index ec2e9c308b..8b97d0dfc7 100644 --- a/conform/conformtest.pl +++ b/conform/conformtest.pl @@ -236,6 +236,8 @@ sub newtoken { for ($idx = 0; $idx <= $#allow; ++$idx) { return if (poorfnmatch ($allow[$idx], $token)); } + + $errors{$token} = 1; } @@ -786,7 +788,7 @@ while ($#headers >= 0) { if (/^element *({([^}]*)}|([^ ]*)) *({([^}]*)}|([^ ]*)) *([A-Za-z0-9_]*) *(.*)/) { push @allow, $7; } elsif (/^(macro|constant|macro-constant|macro-int-constant) +([a-zA-Z0-9_]*) *(?:{([^}]*)} *)?(?:([>=