summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c8
1 files changed, 8 insertions, 0 deletions
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: