We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d463e3 commit ef6d695Copy full SHA for ef6d695
regen/embed.pl
@@ -510,7 +510,13 @@ sub embed_h {
510
my $ind= $level ? " " : "";
511
$ind .= " " x ($level-1) if $level>1;
512
my $inner_ind= $ind ? " " : " ";
513
- if ($flags !~ /[omM]/ or ($flags =~ /m/ && $flags =~ /p/)) {
+
514
+ if ($flags =~ /m/ && $flags =~ /p/) {
515
+ my $full_name = full_name($func, $flags);
516
+ next if $full_name eq $func; # Don't output a no-op.
517
+ $ret = indent_define($func, $full_name, $ind);
518
+ }
519
+ elsif ($flags !~ /[omM]/) {
520
my $argc = scalar @$args;
521
if ($flags =~ /[T]/) {
522
my $full_name = full_name($func, $flags);
0 commit comments