mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
psql: Remove obsolete code
The check in create_help.pl for a null end tag (</>) has been obsolete since the conversion from SGML to XML, since XML does not allow that anymore.
This commit is contained in:
@ -128,8 +128,6 @@ foreach my $file (sort readdir DIR)
|
|||||||
|
|
||||||
my $nl_count = () = $cmdsynopsis =~ /\n/g;
|
my $nl_count = () = $cmdsynopsis =~ /\n/g;
|
||||||
|
|
||||||
$cmdsynopsis =~ m!</>!
|
|
||||||
and die "$0: $file: null end tag not supported in synopsis\n";
|
|
||||||
$cmdsynopsis =~ s/%/%%/g;
|
$cmdsynopsis =~ s/%/%%/g;
|
||||||
|
|
||||||
while ($cmdsynopsis =~ m!<(\w+)[^>]*>(.+?)</\1[^>]*>!)
|
while ($cmdsynopsis =~ m!<(\w+)[^>]*>(.+?)</\1[^>]*>!)
|
||||||
|
Reference in New Issue
Block a user