diff options
author | Adrian Thurston <thurston@colm.net> | 2018-05-04 14:47:18 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-05-04 14:47:18 -0400 |
commit | 82426ff91a4f0bb0386592b5f356e3d84a0173fd (patch) | |
tree | 178b6fb7215fdede1811e74700c43ed2d5248c56 /src/compiler.h | |
parent | 75ff607ee313d11bc8b8ce5c750aca8082ae18af (diff) | |
download | colm-82426ff91a4f0bb0386592b5f356e3d84a0173fd.tar.gz |
use disjoint sets for struct and lang-el identifiers
Using disjoint sets allows us to verify at runtime that we are not mixing trees
and structs. Some of this is still left over from when we used trees for
streams and lists and things. Need to build up some internal consistency
checks.
Diffstat (limited to 'src/compiler.h')
-rw-r--r-- | src/compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler.h b/src/compiler.h index cf23bc9c..085fdd1d 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -907,6 +907,7 @@ struct Compiler int nextLelId; int firstNonTermId; + int structInbuiltId; LangEl **langElIndex; PdaState *actionDestState; |