From a9625ea95fbc73e324630e760cf2805a9378ee5e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 12 Jan 2010 12:18:08 -0800 Subject: Internal namespace test improvements. --- conform/conformtest.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conform/conformtest.pl') diff --git a/conform/conformtest.pl b/conform/conformtest.pl index c528127cee..4cf571fc42 100644 --- a/conform/conformtest.pl +++ b/conform/conformtest.pl @@ -1057,8 +1057,8 @@ while ($#headers >= 0) { push @allow, $1; } elsif (/^typed-constant *([a-zA-Z0-9_]*) *({([^}]*)}|([^ ]*)) *([A-Za-z0-9_]*)?/) { push @allow, 1; - } elsif (/^type *({([^}]*)|([a-zA-Z0-9_]*))/) { - my($type) = "$2$3"; + } elsif (/^(type|tag) *({([^}]*)|([a-zA-Z0-9_]*))/) { + my($type) = "$3$4"; # Remember that this name is allowed. if ($type =~ /^struct *(.*)/) { -- cgit 1.4.1