because they may be function declarations instead. It was getting
confused by win32_croak_not_implemented, which does not have ");"
in it before the first string.
my $multiline = 0;
# Loop to accumulate the message text all on one line.
- if (m/\b(?:$source_msg_re(?:_nocontext)?|$regcomp_re)\s*\(/) {
+ if (m/(?!^)\b(?:$source_msg_re(?:_nocontext)?|$regcomp_re)\s*\(/) {
while (not m/\);$/) {
my $nextline = <$codefh>;
# Means we fell off the end of the file. Not terribly surprising;