conformtest: Handle "symbol" lines for allow-header.

This commit is contained in:
Joseph Myers 2012-05-01 19:58:06 +00:00
parent 62fde54fc5
commit 39c33b6cbc
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2012-05-01 Joseph Myers <joseph@codesourcery.com>
* conform/conformtest.pl: Handle "symbol" lines for allow-header.
* Makeconfig (localtime): Remove variable.
(inst_localtime-file): Likewise.

View File

@ -1075,6 +1075,8 @@ while ($#headers >= 0) {
push @allow, $4;
} elsif (/^macro *([^ ]*)/) {
push @allow, $1;
} elsif (/^symbol *([a-zA-Z0-9_]*) *([A-Za-z0-9_-]*)?/) {
push @allow, $1;
} elsif (/^allow-header *(.*)/) {
if ($seenheader{$1} != 1) {
push @allowheader, $1;