summaryrefslogtreecommitdiff
path: root/regnodes.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-12 11:50:54 -0600
committerKarl Williamson <public@khwilliamson.com>2012-11-19 17:13:00 -0700
commit9e84774b2a68a51af5e246f365059d61ebe86fb0 (patch)
tree2c2b75922b0cbfd4ba87e2bd96841ac9793fe176 /regnodes.h
parentf39a4dc253ff51cabd56ad1bfcb65547ce7be501 (diff)
downloadperl-9e84774b2a68a51af5e246f365059d61ebe86fb0.tar.gz
regcomp.sym: Change regkind for NPOSIX regnodes
It turns out that it is more convenient for the complement of a node to have a regkind that is also the complement of a node. This creates slight inconveniences that are included in this patch, but will help further patches.
Diffstat (limited to 'regnodes.h')
-rw-r--r--regnodes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/regnodes.h b/regnodes.h
index b8278ccde3..2024d156bb 100644
--- a/regnodes.h
+++ b/regnodes.h
@@ -229,10 +229,10 @@ EXTCONST U8 PL_regkind[] = {
POSIXD, /* POSIXL */
POSIXD, /* POSIXU */
POSIXD, /* POSIXA */
- POSIXD, /* NPOSIXD */
- POSIXD, /* NPOSIXL */
- POSIXD, /* NPOSIXU */
- POSIXD, /* NPOSIXA */
+ NPOSIXD, /* NPOSIXD */
+ NPOSIXD, /* NPOSIXL */
+ NPOSIXD, /* NPOSIXU */
+ NPOSIXD, /* NPOSIXA */
CLUMP, /* CLUMP */
BRANCH, /* BRANCH */
BACK, /* BACK */