diff options
author | Adrian Thurston <thurston@complang.org> | 2013-02-13 03:12:04 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-02-13 03:12:04 +0000 |
commit | 267f30230731f8caa3a487b67e6530adb304bf7e (patch) | |
tree | 06a727293dcdd4feeeacf7fe4f6df0b5d16c9a01 | |
parent | 9628f68fba6362d362cd743554fdc19db999e9d2 (diff) | |
download | colm-267f30230731f8caa3a487b67e6530adb304bf7e.tar.gz |
brought back declaration of clearPdaRun, which went missing in some cleanup
-rw-r--r-- | colm/pdarun.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/colm/pdarun.h b/colm/pdarun.h index 5b81853b..d49b18b2 100644 --- a/colm/pdarun.h +++ b/colm/pdarun.h @@ -92,7 +92,6 @@ typedef struct _FsmRun long matchedToken; } FsmRun; -void clearFsmRun( struct ColmProgram *prg, FsmRun *fsmRun ); void updatePosition( StreamImpl *inputStream, const char *data, long length ); void undoPosition( StreamImpl *inputStream, const char *data, long length ); void sendBackRunBufHead( FsmRun *fsmRun, StreamImpl *inputStream ); @@ -351,6 +350,9 @@ typedef struct _PdaRun FsmRun _fsmRun; } PdaRun; +void initPdaRun( struct ColmProgram *prg, PdaRun *pdaRun, PdaTables *tables, + int parserId, long stopTarget, int revertOn, Tree *context ); +void clearPdaRun( struct ColmProgram *prg, struct ColmTree **sp, PdaRun *pdaRun ); void rtCodeVectReplace( RtCodeVect *vect, long pos, const Code *val, long len ); void rtCodeVectEmpty( RtCodeVect *vect ); void rtCodeVectRemove( RtCodeVect *vect, long pos, long len ); @@ -401,9 +403,6 @@ void decrementSteps( PdaRun *pdaRun ); int makeReverseCode( PdaRun *pdaRun ); void transferReverseCode( PdaRun *pdaRun, ParseTree *tree ); -void initPdaRun( struct ColmProgram *prg, PdaRun *pdaRun, PdaTables *tables, - int parserId, long stopTarget, int revertOn, Tree *context ); - void initStreamImpl( StreamImpl *inputStream ); void clearStreamImpl( struct ColmProgram *prg, Tree **sp, StreamImpl *inputStream ); void initSourceStream( StreamImpl *in ); |