diff options
author | Adrian Thurston <thurston@complang.org> | 2012-05-14 14:24:10 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-05-14 14:24:10 -0400 |
commit | 86f735700e44b1fc1cf0fc8b7d88c6ae540c9d93 (patch) | |
tree | 9ec394b904337c37a9beeeac966d2103b109a202 /colm/pdarun.h | |
parent | 66bd47337d214c51cb3b90fa086d42401d163c20 (diff) | |
download | colm-86f735700e44b1fc1cf0fc8b7d88c6ae540c9d93.tar.gz |
Pointers to parse trees in the pda run are now using the parse tree structs
(and Kid2).
Diffstat (limited to 'colm/pdarun.h')
-rw-r--r-- | colm/pdarun.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/colm/pdarun.h b/colm/pdarun.h index 80ea2869..0c778dc5 100644 --- a/colm/pdarun.h +++ b/colm/pdarun.h @@ -271,7 +271,7 @@ typedef struct _PoolAlloc typedef struct _PdaRun { int numRetry; - Kid *stackTop; + Kid2 *stackTop; Ref *tokenList; int cs; int nextRegionInd; @@ -308,19 +308,19 @@ typedef struct _PdaRun * Data we added when refactoring the parsing engine into a coroutine. */ - Kid *parseInput; + Kid2 *parseInput; FrameInfo *fi; int reduction; - Kid *redLel; + Kid2 *redLel; int curState; - Kid *lel; + Kid2 *lel; int triggerUndo; int tokenId; Head *tokdata; int frameId; int next; - Kid *undoLel; + Kid2 *undoLel; int checkNext; int checkStop; @@ -385,7 +385,7 @@ void incrementSteps( PdaRun *pdaRun ); void decrementSteps( PdaRun *pdaRun ); int makeReverseCode( PdaRun *pdaRun ); -void transferReverseCode( PdaRun *pdaRun, Tree *tree ); +void transferReverseCode( PdaRun *pdaRun, ParseTree *tree ); void initPdaRun( PdaRun *pdaRun, struct ColmProgram *prg, PdaTables *tables, FsmRun *fsmRun, int parserId, long stopTarget, int revertOn, Tree *context ); |