Cosmetic change
Stepan Kasal [Mon, 13 Jul 2009 08:26:27 +0000 (10:26 +0200)]
utils/h2ph.PL

index ada226c..8f56db4 100644 (file)
@@ -509,8 +509,7 @@ sub expr {
                s/^\s*\((\w),/("$1",/ if $id =~ /^_IO[WR]*$/i;  # cheat
                $new .= " &$id";
            } elsif ($isatype{$id}) {
-               if ($new =~ /{\s*$/ # } for vi
-                       ) {
+               if ($new =~ /\{\s*$/) {
                    $new .= "'$id'";
                } elsif ($new =~ /\(\s*$/ && /^[\s*]*\)/) {
                    $new =~ s/\(\s*$//;