psql: Remove obsolete code
authorPeter Eisentraut <[email protected]>
Mon, 25 Feb 2019 11:00:29 +0000 (12:00 +0100)
committerPeter Eisentraut <[email protected]>
Mon, 25 Feb 2019 11:00:29 +0000 (12:00 +0100)
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.

src/bin/psql/create_help.pl

index 314bb5d87c5de15bb2d22abcf5d3e426402ee130..96cf3d37ef01ca8b82f6a738a28fe8101b28bcef 100644 (file)
@@ -128,8 +128,6 @@ foreach my $file (sort readdir DIR)
 
        my $nl_count = () = $cmdsynopsis =~ /\n/g;
 
-       $cmdsynopsis =~ m!</>!
-         and die "$0: $file: null end tag not supported in synopsis\n";
        $cmdsynopsis =~ s/%/%%/g;
 
        while ($cmdsynopsis =~ m!<(\w+)[^>]*>(.+?)</\1[^>]*>!)