summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-09 20:15:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-09 20:15:13 +0000
commit3c1e9986a4f0cb9d4e7a03af421826eb692ac840 (patch)
tree64a6cea7d58b8cc43406fe083d1e73e3755d88f7 /embed.pl
parent55222be88d47a690542bb115106ab0ffa7223aaa (diff)
downloadperl-3c1e9986a4f0cb9d4e7a03af421826eb692ac840.tar.gz
Must not hide the protos, though.
p4raw-id: //depot/perl@18871
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.pl b/embed.pl
index f996925a51..f734764590 100755
--- a/embed.pl
+++ b/embed.pl
@@ -156,7 +156,7 @@ sub write_protos {
}
else {
my ($flags,$retval,$func,@args) = @_;
- $ret .= '/* ' if $flags =~ /[mX]/;
+ $ret .= '/* ' if $flags =~ /m/;
if ($flags =~ /s/) {
$retval = "STATIC $retval";
$func = "S_$func";
@@ -189,7 +189,7 @@ sub write_protos {
$ret .= "\n#endif\n";
}
$ret .= ";";
- $ret .= ' */' if $flags =~ /[mX]/;
+ $ret .= ' */' if $flags =~ /m/;
$ret .= "\n";
}
$ret;