Skip to content

Commit 87c7539

Browse files
committed
regen/embed.pl: Add a condition to an 'if'
This is in preparation of combining this if clause with the one just below to as many of the conditions in common as possible. In this clause, it applies only to functions, as we don't create ARGS_ASSERT macros for macros. However when something is going into mathoms.c (b flag), it is marked as a macro, but also has a function, so we need to create the ASSERT in this case.
1 parent 6eafbbd commit 87c7539

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

regen/embed.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ sub generate_proto_h {
276276
my $argname = $1;
277277

278278
if ( defined $argname
279+
and (! $has_mflag || $binarycompat)
279280
and ! $nocheck
280281
and defined $argtype
281282
and exists $type_asserts{$argtype})

0 commit comments

Comments
 (0)