summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-01-29 20:57:39 -0700
committerKarl Williamson <public@khwilliamson.com>2014-01-30 23:31:06 -0700
commit86897aa65fb10f5652fed7562f006ae8a470c661 (patch)
tree66aefc1a68adffcefc30620a6090c8ba6666d37b /regcomp.c
parent30bba555e641ea6cbcb212f6a137614783930727 (diff)
downloadperl-86897aa65fb10f5652fed7562f006ae8a470c661.tar.gz
regcomp.c: Revert mistakenly changed line
Commit 31f05a37 mistakenly included a line that is supposed to be in a future commit. This reverts that until then; and adds a test for it, as this was not caught by the test suite.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 7fa4473016..d992be736a 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -1063,7 +1063,7 @@ S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state,
/* If this can match all upper Latin1 code points, have to add them
* as well */
- if (OP(node) == ANYOF_NON_UTF8_NON_ASCII_ALL) {
+ if (ANYOF_FLAGS(node) & ANYOF_NON_UTF8_NON_ASCII_ALL) {
_invlist_union(invlist, PL_UpperLatin1, &invlist);
}