diff options
author | Karl Williamson <khw@cpan.org> | 2018-05-01 16:42:29 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-06-25 07:33:30 -0600 |
commit | a74bb78e4469c9f5ea806b57b155df6265d07975 (patch) | |
tree | 1b292629c07a3fb91e03bba56cb1649c58886422 /embedvar.h | |
parent | 03774c76efee24550f9d9bd279df87fc9038add1 (diff) | |
download | perl-a74bb78e4469c9f5ea806b57b155df6265d07975.tar.gz |
regcomp.c: Simplify
Under /a pattern matching, the matches of the [:posix:] classes are
restricted to the ASCII range. Previously, in a time/space trade-off
that favored space, we created the list of matching characters at
pattern compilation time by ANDing the full-range Posix class with the
set of ASCII characters.
But now, the tables for just the ASCII-range classes are generated
anyway, so there's no need to do that compilation-time intersection.
This slightly simplifies the code.
Diffstat (limited to 'embedvar.h')
-rw-r--r-- | embedvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h index e038ae74b4..1b4d67c768 100644 --- a/embedvar.h +++ b/embedvar.h @@ -365,6 +365,8 @@ #define PL_GLatin1 (my_vars->GLatin1) #define PL_NonL1NonFinalFold (my_vars->GNonL1NonFinalFold) #define PL_GNonL1NonFinalFold (my_vars->GNonL1NonFinalFold) +#define PL_Posix_ptrs (my_vars->GPosix_ptrs) +#define PL_GPosix_ptrs (my_vars->GPosix_ptrs) #define PL_SB_invlist (my_vars->GSB_invlist) #define PL_GSB_invlist (my_vars->GSB_invlist) #define PL_SCX_invlist (my_vars->GSCX_invlist) |