Branch: refs/heads/yves/handle_weird_preprocessor_stmt_in_HeaderParser_pm Home: https://github.com/Perl/perl5 Commit: 3346167de4ba02c6b475371dbe9a5613ce6d4dcb https://github.com/Perl/perl5/commit/3346167de4ba02c6b475371dbe9a5613ce6d4dcb Author: Yves Orton <demer...@gmail.com> Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths: M regen/HeaderParser.pm M t/porting/header_parser.t Log Message: ----------- regen/HeaderParser.pm - deal with odd C preprocessor construct gracefully Karl wanted to use HeaderParser for other things than it was intended, for instance parsing scope.h, but scope.h contains a C preprocessor like line that looks like this: # /* a comment */ which as far as I can tell is not strictly correct. Nevertheless it would seem that no compiler we build on has complained about this, so we might as well handle it properly in the parser. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications