From 267f30230731f8caa3a487b67e6530adb304bf7e Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Wed, 13 Feb 2013 03:12:04 +0000 Subject: brought back declaration of clearPdaRun, which went missing in some cleanup --- colm/pdarun.h | 7 +++---- 1 file 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 ); -- cgit v1.2.1