diff options
author | Adrian Thurston <thurston@complang.org> | 2013-02-07 20:48:58 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-02-07 20:48:58 -0500 |
commit | 7ac8061c708f32140be747dc5a6f312f3ebbfb29 (patch) | |
tree | 4d6d2cece35a7e555c9110b5335fe5805e3709d0 /colm/pdarun.h | |
parent | 26b94103c203c9210fa9ce368084ee75356ab882 (diff) | |
download | colm-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.h | 10 |
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; |