summaryrefslogtreecommitdiff
path: root/src/pdacodegen.cc
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/pdacodegen.cc
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/pdacodegen.cc')
-rw-r--r--src/pdacodegen.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdacodegen.cc b/src/pdacodegen.cc
index ef1c1ced..2e08ee3e 100644
--- a/src/pdacodegen.cc
+++ b/src/pdacodegen.cc
@@ -510,6 +510,7 @@ void PdaCodeGen::writeRuntimeData( colm_sections *runtimeData, struct pda_tables
" " << runtimeData->no_token_id << ",\n"
" " << runtimeData->global_id << ",\n"
" " << runtimeData->argv_el_id << ",\n"
+ " " << runtimeData->struct_inbuilt_id << ",\n"
" &fsm_execute,\n"
" &sendNamedLangEl,\n"
" &initBindings,\n"