diff options
author | Adrian Thurston <thurston@complang.org> | 2012-05-20 16:10:31 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-05-20 16:10:31 -0400 |
commit | 600af732eb8d0e655ad2a2a450e998106ffab0c6 (patch) | |
tree | 5656ded8301013a7f6a3da484ce881f350404146 /colm/bytecode.h | |
parent | b5bedab8125194f9c359c29ad50b51799d932a56 (diff) | |
download | colm-600af732eb8d0e655ad2a2a450e998106ffab0c6.tar.gz |
first checkin on no-kid-flags and no-ignore-dupes branch
Trying out an elimination of the kid flags and the duplicate ignore tokens. The
kid flags waste a lot of space. There is also a bug WRT iterators. Some kids in
the ref chain are actually on the stack only the tree is safe to edit because
the stack variables are not full kids.
The duplicate ignores causes a complicated implementation in the print
function. It may actually be unneeded now that we have follow ignores. We can
also provide some control over where the ignore tokens go, to the right of the
left token or to the left of the right token.
Diffstat (limited to 'colm/bytecode.h')
-rw-r--r-- | colm/bytecode.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/colm/bytecode.h b/colm/bytecode.h index 27fe071a..4734b152 100644 --- a/colm/bytecode.h +++ b/colm/bytecode.h @@ -359,11 +359,6 @@ typedef unsigned char uchar; #define AF_LEFT_IGNORE 0x0100 #define AF_RIGHT_IGNORE 0x0200 -#define KF_SUPPRESS_RIGHT 0x01 -#define KF_SUPPRESS_LEFT 0x02 -#define KF_SUPPRESS_ORIGHT 0x04 -#define KF_SUPPRESS_OLEFT 0x08 - /* * Call stack. */ |