Skip to content

Conversation

@khwilliamson
Copy link
Contributor

@khwilliamson khwilliamson commented Sep 24, 2025

  • And a bit of code was also moved to avoid doing a calculation that would get thrown away.
  • An ARGS_ASSERT was moved to the beginning of the function, showing an error in the embed.fnc entry
  • This set of changes does not require a perldelta entry.

@tonycoz
Copy link
Contributor

tonycoz commented Sep 25, 2025

The ARGS_ASSERT was later because of C89 that we no longer restricted
by.  Moving it showed a minor flaw.  The parameter name asserted for
didn't exist.

"because of C89 that we no longer restricted by"

which seems like it's missing a word.

The full stop after minor flaw could probably be a colon.

@tonycoz
Copy link
Contributor

tonycoz commented Sep 25, 2025

Looks ok otherwise.

These braces are not needed starting in C99, and we can outdent a large
block of code by removing them.
Like the previous commit, these braces are not needed starting in C99,
and we can outdent a block of code by removing them.
The ARGS_ASSERT was later down in the code because of C89 that we are no
longer restricted by.  Moving it showed a minor flaw: the parameter name
asserted for didn't exist.

The other code being later could throw away calculations we'd made.
Move it to before those calculations
@khwilliamson khwilliamson merged commit 3858926 into Perl:blead Sep 25, 2025
2 checks passed
@khwilliamson khwilliamson deleted the toke_white branch September 25, 2025 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants