Skip to content

Commit 78c9d2d

Browse files
committed
embed.fnc: Remove no longer used G flag
The purpose of this flag has been removed in the past few commits
1 parent 3f0d78b commit 78c9d2d

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

embed.fnc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,6 @@
447447
: flag even on a format function is if the format would generate error:
448448
: format string argument is not a string type
449449
:
450-
: 'G' Suppress empty PERL_ARGS_ASSERT_foo macro. Normally such a macro is
451-
: generated for all entries for functions 'foo' in this file. The macro
452-
: is empty unless regen/embed.pl deems that there should be assert()
453-
: calls to verify the sanity of some or all of foo's arguments.
454-
:
455-
: proto.h: An empty PERL_ARGS_ASSERT macro is not defined
456-
:
457450
: 'h' Hide any documentation that would normally go into perlapi or
458451
: perlintern. This is typically used when the documentation is actually
459452
: in another pod. If you don't use the 'h', that documentation is

regen/embed.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ sub generate_proto_h {
123123

124124
my ($flags, $retval, $plain_func, $args, $assertions ) =
125125
@{$embed}{qw(flags return_type name args assertions)};
126-
if ($flags =~ / ( [^ AabCDdEefFGhIiMmNnOoPpRrSsTUuvWXx;] ) /xx) {
126+
if ($flags =~ / ( [^ AabCDdEefFhIiMmNnOoPpRrSsTUuvWXx;] ) /xx) {
127127
die_at_end "flag $1 is not legal (for function $plain_func)";
128128
}
129129
my @nonnull;
130-
my $args_assert_line = ( $flags !~ /[Gm]/ );
130+
my $args_assert_line = ( $flags !~ /m/ );
131131
my $has_depth = ( $flags =~ /W/ );
132132
my $has_context = ( $flags !~ /T/ );
133133
my $never_returns = ( $flags =~ /r/ );

0 commit comments

Comments
 (0)