diff options
Diffstat (limited to 'utils/h2ph.PL')
-rw-r--r-- | utils/h2ph.PL | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/h2ph.PL b/utils/h2ph.PL index 7903996876..82dc761633 100644 --- a/utils/h2ph.PL +++ b/utils/h2ph.PL @@ -426,6 +426,13 @@ sub next_line $in =~ s/\?\?</{/g; # | ??<| {| $in =~ s/\?\?>/}/g; # | ??>| }| } + if ($in =~ /^\#ifdef __LANGUAGE_PASCAL__/) { + # Tru64 disassembler.h evilness: mixed C and Pascal. + while (<IN>) { + last if /^\#endif/; + } + next READ; + } if ($in =~ s/\\$//) { # \-newline $out .= ' '; next READ; |