Branch: refs/heads/yves/split_regcomp_c
  Home:   https://github.com/Perl/perl5
  Commit: abaed522e776f5d22f45c0c561d3785a8316bac1
      
https://github.com/Perl/perl5/commit/abaed522e776f5d22f45c0c561d3785a8316bac1
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M regcomp.c
    M regcomp.h
    M regcomp.sym
    M regexec.c
    M regexp.h

  Log Message:
  -----------
  regex engine - cleanup internal tabs and ws (use -w to ignore)

Having internal tabs causes confusion in diffs and reviews. In the
following patch I will move a lot of code around, creating new files
and they will all be whitespace clean: no trailing whitespace,
tabs expanded to the next tabstop properly, and no trailing empty
lines at the bottom of the file.

This patch prepares for that split, and future splits and changes to
the regex engine by precleaning the main regex engine files with the
same rules.

It should show no changes under '-w'.


  Commit: 7899cba6bfedbdd68e0cde7da6177fcb3f1e5edc
      
https://github.com/Perl/perl5/commit/7899cba6bfedbdd68e0cde7da6177fcb3f1e5edc
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M MANIFEST
    M Makefile.SH
    M Makefile.micro
    M embed.fnc
    M embed.h
    M ext/re/Makefile.PL
    M handy.h
    M inline.h
    M invlist_inline.h
    M perl.h
    M proto.h
    M regcomp.c
    M regcomp.h
    M regcomp.sym
    A regcomp_debug.c
    A regcomp_internal.h
    A regcomp_invlist.c
    A regcomp_study.c
    A regcomp_trie.c
    M regen/unicode_constants.pl
    M regexec.c
    M regexp.h
    M unicode_constants.h
    M vms/descrip_mms.template
    M win32/GNUmakefile
    M win32/Makefile

  Log Message:
  -----------
  regcomp.c - decompose into smaller files

This splits a bunch of the subcomponents of the regex engine into
smaller files.

       regcomp_debug.c
       regcomp_internal.h
       regcomp_invlist.c
       regcomp_study.c
       regcomp_trie.c

The only real change besides to the build machine to achieve the split
is to also adds some new defines which can be used in embed.fnc to control
exports without having to enumerate /every/ regex engine file. For
instance all of regcomp*.c defines PERL_IN_REGCOMP_ANY, and this is used
in embed.fnc to manage exports.


Compare: https://github.com/Perl/perl5/compare/280c39aae354...7899cba6bfed

Reply via email to