Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 8802b49aecffcb41744fce38c689954d015ecd54 https://github.com/Perl/perl5/commit/8802b49aecffcb41744fce38c689954d015ecd54 Author: Yves Orton <demer...@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.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 while a bit odd looking is actually a legal "null directive" so we should support it. See: https://en.cppreference.com/w/c/preprocessor And: https://stackoverflow.com/questions/35207515 Thanks to mauke for finding these links. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications