summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/h2ph.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/h2ph.PL b/utils/h2ph.PL
index 731360e7fa..42a60b2d19 100644
--- a/utils/h2ph.PL
+++ b/utils/h2ph.PL
@@ -230,6 +230,8 @@ while (defined ($file = next_file())) {
print OUT $t,"}\n";
} elsif(/^undef\s+(\w+)/) {
print OUT $t, "undef(&$1) if defined(&$1);\n";
+ } elsif(/^error\s+(".*")/) {
+ print OUT $t, "die($1);\n";
} elsif(/^error\s+(.*)/) {
print OUT $t, "die(\"", quotemeta($1), "\");\n";
} elsif(/^warning\s+(.*)/) {