generate_typetext: avoid warning with aliases

This commit is contained in:
Dietmar Maurer 2016-04-03 16:09:07 +02:00
parent ed258d2884
commit 8506c60dba

View File

@ -50,6 +50,7 @@ sub generate_typetext {
my (@optional, @required); my (@optional, @required);
foreach my $key (sort keys %$schema) { foreach my $key (sort keys %$schema) {
my $entry = $schema->{$key}; my $entry = $schema->{$key};
next if $entry->{alias};
next if !$entry->{format_description} && next if !$entry->{format_description} &&
!$entry->{typetext} && !$entry->{typetext} &&
!$entry->{enum} && !$entry->{enum} &&