Skip to content

Commit 9b3515f

Browse files
committed
regen/embed.pl: Swap the order of two blocks
This makes no difference in processing now, but will minimize the 'diff' output of a future commit.
1 parent 87c7539 commit 9b3515f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

regen/embed.pl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,13 @@ sub generate_proto_h {
275275
}
276276
my $argname = $1;
277277

278+
if ( defined $argname
279+
&& ($nn||$nz)
280+
&& (! $has_mflag || $binarycompat))
281+
{
282+
push @names_of_nn, $argname;
283+
}
284+
278285
if ( defined $argname
279286
and (! $has_mflag || $binarycompat)
280287
and ! $nocheck
@@ -283,13 +290,6 @@ sub generate_proto_h {
283290
{
284291
push @typed_args, [ $argtype, $argname ];
285292
}
286-
287-
if ( defined $argname
288-
&& ($nn||$nz)
289-
&& (! $has_mflag || $binarycompat))
290-
{
291-
push @names_of_nn, $argname;
292-
}
293293
}
294294
$ret .= join ", ", @$args;
295295
}

0 commit comments

Comments
 (0)