Branch: refs/heads/smoke-me/khw-test Home: https://github.com/Perl/perl5 Commit: 2c2e955fef95fa367f40f82c26ea4fbe25a58c51 https://github.com/Perl/perl5/commit/2c2e955fef95fa367f40f82c26ea4fbe25a58c51 Author: Karl Williamson <k...@cpan.org> Date: 2020-02-26 (Wed, 26 Feb 2020)
Changed paths: M regcomp.c Log Message: ----------- regcomp.c: Improve dump ANYOFR patterns On ASCII platforms, where its easy to calculate, when dumping a pattern, don't output the lowest first UTF-8 byte when the entire range is ASCII. The info about this minimum byte is carried in the node, but is ignored unless the pattern is UTF-8, and in the case of UTF-8 invariant characters gives no extra help. The information is quite useful for large code points, so we can quickly rule out large swaths of potential matches without having to convert the target UTF-8 string to code point format. But for ASCII matches it isn't helpful and dumping it is just extra noise. Commit: d6c5e86472da8b02421071fd3d929236575824ab https://github.com/Perl/perl5/commit/d6c5e86472da8b02421071fd3d929236575824ab Author: Karl Williamson <k...@cpan.org> Date: 2020-02-27 (Thu, 27 Feb 2020) Changed paths: M embed.fnc M proto.h M regcomp.c Log Message: ----------- regcomp.c: Change re_croak2 to re_croak This changes this function from taking two format parameters to instead taking a single one. The reason is that the generality isn't actually currently needed, and it prevents the function from being declared as taking a format, which adds extra checking. If this checking had been in effect, GH #17574 would have generated a warning message. The reason the second format isn't required is that in all cases, both formats are literal strings. In the macros that call this, simply removing the comma separators between them causes the two literals to automagically become one by the C preprocessor. Commit: ed9cd402beda2a5cbc0a2158ba9f3de030097f00 https://github.com/Perl/perl5/commit/ed9cd402beda2a5cbc0a2158ba9f3de030097f00 Author: Karl Williamson <k...@cpan.org> Date: 2020-02-27 (Thu, 27 Feb 2020) Changed paths: M embed.fnc M proto.h Log Message: ----------- embed.fnc: Make re_croak a format fcn This enables compiler warnings when argument types don't match the format Commit: ac6e17b420061d5f227c84eaf2bb6ed8e5f23d58 https://github.com/Perl/perl5/commit/ac6e17b420061d5f227c84eaf2bb6ed8e5f23d58 Author: Karl Williamson <k...@cpan.org> Date: 2020-02-27 (Thu, 27 Feb 2020) Changed paths: M embed.fnc Log Message: ----------- embed.fnc: Fix comments Commit: 111a10ef0334badc9accf61d1bf7e7f18bb72ba6 https://github.com/Perl/perl5/commit/111a10ef0334badc9accf61d1bf7e7f18bb72ba6 Author: Karl Williamson <k...@cpan.org> Date: 2020-02-27 (Thu, 27 Feb 2020) Changed paths: M embed.fnc M proto.h M regen/embed.pl Log Message: ----------- regen/embed.pl: Force F or f flags on ... fcns This makes sure that a function with varargs arguments is marked as format or non-format, so that a such a new function can't be added without considering if it should be marked as 'f'. Compare: https://github.com/Perl/perl5/compare/2c2e955fef95%5E...111a10ef0334