From 82426ff91a4f0bb0386592b5f356e3d84a0173fd Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Fri, 4 May 2018 14:47:18 -0400 Subject: 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. --- src/compiler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler.h') 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; -- cgit v1.2.1