Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: cbc336041fd56c2161ecd80c7024ebfffad2e7c5
      
https://github.com/Perl/perl5/commit/cbc336041fd56c2161ecd80c7024ebfffad2e7c5
  Author: Lukas Mai <lukasmai....@gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

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

  Log Message:
  -----------
  regen/HeaderParser: correctly handle backslash line continuations

C says that backslash-newline pairs should be deleted from the source
before doing any parsing (like a source filter).

    #def\
    ine A\
    B /\
    * this is a comment *\
    / "\\
    n"

is thus equivalent to

    #define AB "\n"

(In particular, backslash-newline should never be replaced by a space.)



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

Reply via email to