Branch: refs/heads/yves/fix_HeaderParser_single_quote_bug
  Home:   https://github.com/Perl/perl5
  Commit: 52b1d921001b50b1ac0d6270d7ddce121f6b5ec6
      
https://github.com/Perl/perl5/commit/52b1d921001b50b1ac0d6270d7ddce121f6b5ec6
  Author: Yves Orton <demer...@gmail.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M t/porting/header_parser.t

  Log Message:
  -----------
  header_parser.t - add a way to autoupdate the dump in the test

Updating it manually is annoying, add support for UPDATE_DUMP=1
when running the test script, which will update the test script
with the latest output.


  Commit: 107cc3542c2a8225b9cedfcb79ade4840a9d8c0e
      
https://github.com/Perl/perl5/commit/107cc3542c2a8225b9cedfcb79ade4840a9d8c0e
  Author: Yves Orton <demer...@gmail.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M regen/HeaderParser.pm
    M t/porting/header_parser.t

  Log Message:
  -----------
  HeaderParser.pm - parse single quoted backslash properly

Karl gave me a test script which was breaking because we did not handle
single quoted escapes like '\\' and '\n' and the like. This fixes the
tokenizer pattern to handle these without dieing, although we do not
validate that the escape sequence itself is legal, we no longer
choke on having backslash something in the single quote.

This includes tests for this, as well as for constructs like

    #if 1

which we had no tests for previously.


Compare: https://github.com/Perl/perl5/compare/15bf1b6c45f3...107cc3542c2a

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to