summaryrefslogtreecommitdiff
path: root/colm/pdarun.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-02-07 20:48:58 -0500
committerAdrian Thurston <thurston@complang.org>2013-02-07 20:48:58 -0500
commit7ac8061c708f32140be747dc5a6f312f3ebbfb29 (patch)
tree4d6d2cece35a7e555c9110b5335fe5805e3709d0 /colm/pdarun.h
parent26b94103c203c9210fa9ce368084ee75356ab882 (diff)
downloadcolm-7ac8061c708f32140be747dc5a6f312f3ebbfb29.tar.gz
the eof marker is now a single bit rather than a pointer
Diffstat (limited to 'colm/pdarun.h')
-rw-r--r--colm/pdarun.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/colm/pdarun.h b/colm/pdarun.h
index 350c10fb..1da0ef42 100644
--- a/colm/pdarun.h
+++ b/colm/pdarun.h
@@ -82,9 +82,13 @@ typedef struct _FsmRun
char *tokstart;
long tokend;
long toklen;
- char *p, *pe, *peof;
- int returnResult;
- int skipToklen;
+ char *p, *pe;
+
+ /* Bits. */
+ char eof;
+ char returnResult;
+ char skipToklen;
+
char *mark[MARK_SLOTS];
long matchedToken;
} FsmRun;