Branch: refs/heads/yves/fix_HeaderParser_single_quote_bug
  Home:   https://github.com/Perl/perl5
  Commit: 280818b2718d8558d9f519652c69e02f121084d2
      
https://github.com/Perl/perl5/commit/280818b2718d8558d9f519652c69e02f121084d2
  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: 15bf1b6c45f33732bfeb5ebad1e8a655e6b30864
      
https://github.com/Perl/perl5/commit/15bf1b6c45f33732bfeb5ebad1e8a655e6b30864
  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/280818b2718d%5E...15bf1b6c45f3

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

Reply via email to