summaryrefslogtreecommitdiff
path: root/src/program.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-05-04 14:47:18 -0400
committerAdrian Thurston <thurston@colm.net>2018-05-04 14:47:18 -0400
commit82426ff91a4f0bb0386592b5f356e3d84a0173fd (patch)
tree178b6fb7215fdede1811e74700c43ed2d5248c56 /src/program.h
parent75ff607ee313d11bc8b8ce5c750aca8082ae18af (diff)
downloadcolm-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/program.h')
-rw-r--r--src/program.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/program.h b/src/program.h
index 8138c393..e5cfbeea 100644
--- a/src/program.h
+++ b/src/program.h
@@ -98,6 +98,7 @@ struct colm_sections
long no_token_id;
long global_id;
long argv_el_id;
+ long struct_inbuilt_id;
void (*fsm_execute)( struct pda_run *pda_run, struct stream_impl *input_stream );
void (*send_named_lang_el)( struct colm_program *prg, tree_t **tree,