From 42b3a7a4356006ce64413ef3583f9cae6d27966b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 4 Jul 2007 10:23:53 +0000 Subject: cleaned up some issues with $FileCreateMode --- parse.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'parse.c') diff --git a/parse.c b/parse.c index bf92e00b..0b26b0a2 100644 --- a/parse.c +++ b/parse.c @@ -467,6 +467,14 @@ char parsPeekAtCharAtParsPtr(rsParsObj *pThis) return(*(pThis->pCStr->pBuf + pThis->iCurrPos)); } +/* return the current position inside the parse object. + * rgerhards, 2007-07-04 + */ +int parsGetCurrentPosition(rsParsObj *pThis) +{ + return pThis->iCurrPos; +} + /* * Local variables: -- cgit