summaryrefslogtreecommitdiffstats
path: root/generic/regguts.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-10-19 19:32:04 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-10-19 19:32:04 (GMT)
commit8ed7672ab71b54afa94e164e73fdc274b0b39771 (patch)
tree4da041e80ad7a2639abcff0694fe8ed6d2e77d3b /generic/regguts.h
parentb8c0c06fdf9f099f27f114fc9c92b7786dce13a5 (diff)
downloadtcl-8ed7672ab71b54afa94e164e73fdc274b0b39771.zip
tcl-8ed7672ab71b54afa94e164e73fdc274b0b39771.tar.gz
tcl-8ed7672ab71b54afa94e164e73fdc274b0b39771.tar.bz2
Adaptation of re-oNsquared.patch from Tom Lane @ postgres.
Diffstat (limited to 'generic/regguts.h')
-rw-r--r--generic/regguts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/regguts.h b/generic/regguts.h
index ac625d5..7ed8ec1 100644
--- a/generic/regguts.h
+++ b/generic/regguts.h
@@ -265,8 +265,10 @@ struct arc {
struct state *from; /* where it's from (and contained within) */
struct state *to; /* where it's to */
struct arc *outchain; /* *from's outs chain or free chain */
-#define freechain outchain
+ struct arc *outchainRev; /* back-link in *from's outs chain */
+#define freechain outchain /* we do not maintain "freechainRev" */
struct arc *inchain; /* *to's ins chain */
+ struct arc *inchainRev; /* back-link in *to's ins chain */
struct arc *colorchain; /* color's arc chain */
struct arc *colorchainRev; /* back-link in color's arc chain */
};