Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b6926de

Browse files
committed
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.
1 parent bc09d5e commit b6926de

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/psql/create_help.pl

-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@
128128

129129
my $nl_count = () = $cmdsynopsis =~ /\n/g;
130130

131-
$cmdsynopsis =~ m!</>!
132-
and die "$0: $file: null end tag not supported in synopsis\n";
133131
$cmdsynopsis =~ s/%/%%/g;
134132

135133
while ($cmdsynopsis =~ m!<(\w+)[^>]*>(.+?)</\1[^>]*>!)

0 commit comments

Comments
 (0)