Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 9f0a1b691f5238d44b94f779fe8845b311733b91
https://github.com/Perl/perl5/commit/9f0a1b691f5238d44b94f779fe8845b311733b91
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M embed.fnc
M proto.h
M toke.c
Log Message:
-----------
toke.c: Change S_scan_word parameter
Change it from being an array length, to being a pointer to the ending
position of the array. This makes this function consistent with most of
the others in this file.
It allows us to usually use C_ARRAY_END() to wrap the parameter, which
simplifies some expressions,
Commit: c3ebe61dd8b8610681238615e332b8d8c4c43f15
https://github.com/Perl/perl5/commit/c3ebe61dd8b8610681238615e332b8d8c4c43f15
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M embed.fnc
M proto.h
M toke.c
Log Message:
-----------
toke.c: Change S_scan_ident parameter
Change it from being an array length, to being a pointer to the ending
position of the array. This makes this function consistent with most of
the others in this file.
It allows us to usually use C_ARRAY_END() to wrap the parameter, which
simplifies some expressions,
Commit: 1b20140b9a98c76d443e7af5f3446e81ab361c0f
https://github.com/Perl/perl5/commit/1b20140b9a98c76d443e7af5f3446e81ab361c0f
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M toke.c
Log Message:
-----------
toke.c: Convert sizeof() calls to use more mnemonic
The length of a constant literal is STRLENs
The end position of a C array is C_ARRAY_END
The number of elements in a C array is C_ARRAY_LENGTH
Commit: 6ceb5e31379534018ee3c31f40efc402aa880397
https://github.com/Perl/perl5/commit/6ceb5e31379534018ee3c31f40efc402aa880397
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M toke.c
Log Message:
-----------
toke.c: Change name of static function
'uni' commonly is short for Unicode. Here, it was short for 'unary',
which I found highly confusing.
This also changes the name of a formal parameter to also not be 'uni'
when 'unary' is meant.
Commit: 59bca40fd0ffdb97092cf4904b749e3a5d84a6e2
https://github.com/Perl/perl5/commit/59bca40fd0ffdb97092cf4904b749e3a5d84a6e2
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M embed.fnc
M embed.h
M proto.h
M toke.c
Log Message:
-----------
S_scan_ident: Convert parameter to bool
All calls to it set it to TRUE or FALSE
Commit: 526049b8eb0e87b540c5534c9f1fd33f4ef7143a
https://github.com/Perl/perl5/commit/526049b8eb0e87b540c5534c9f1fd33f4ef7143a
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M toke.c
Log Message:
-----------
toke.c: strlen returns size_t, not int
Commit: 690e285d144636ea7a15c46ab5bd4741f5c6f34a
https://github.com/Perl/perl5/commit/690e285d144636ea7a15c46ab5bd4741f5c6f34a
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M toke.c
Log Message:
-----------
toke.c: Convert for(;;;) to simpler while()
isSPACE only matches single-byte characters; no need to be concerned
with UTF-8ness
Commit: cdde901d86fb8260e70dd4d4f11e78f7ec5f5483
https://github.com/Perl/perl5/commit/cdde901d86fb8260e70dd4d4f11e78f7ec5f5483
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M toke.c
Log Message:
-----------
toke.c: Avoid a loop iteration
By using the output of the first macro, and skipping ahead in the parse
string, we avoid reparsing the same bytes.
Commit: 656be9b02104c697e200d5f5c6d6b9aebd1fb68a
https://github.com/Perl/perl5/commit/656be9b02104c697e200d5f5c6d6b9aebd1fb68a
Author: Karl Williamson <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M toke.c
Log Message:
-----------
toke.c: Replace for() with simpler do while()
It is a bit simpler
Compare: https://github.com/Perl/perl5/compare/5b7224a9ee18...656be9b02104
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications