diff options
author | Adrian Thurston <thurston@complang.org> | 2012-05-19 20:52:39 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-05-19 20:52:39 -0400 |
commit | dc08219de754c1a277df2dbcad4c0493ee355de7 (patch) | |
tree | 6b139bb077c0c7de8fcf69815a0827c30b9a7fe1 /colm/pdarun.h | |
parent | c1e506cd13ef8b3607bc7984afeba7f37d2c49c0 (diff) | |
download | colm-dc08219de754c1a277df2dbcad4c0493ee355de7.tar.gz |
pre-regions, towards follow ignores
Collect and emit preRegionInds. These are pointers to region lists for a state.
May use them to scan ignores ahead of the next region.
Diffstat (limited to 'colm/pdarun.h')
-rw-r--r-- | colm/pdarun.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/colm/pdarun.h b/colm/pdarun.h index f14e5f21..a15634f5 100644 --- a/colm/pdarun.h +++ b/colm/pdarun.h @@ -76,7 +76,8 @@ typedef struct _FsmRun RunBuf *runBuf; /* FsmRun State. */ - long region, cs, act; + long region, preRegion; + long cs, act; char *tokstart, *tokend; char *p, *pe, *peof; int returnResult; @@ -237,6 +238,7 @@ typedef struct _PdaTables unsigned int *actions; int *commitLen; int *tokenRegionInds; + int *tokenPreRegionInds; int *tokenRegions; int numIndicies; |