summaryrefslogtreecommitdiff
path: root/colm/pdabuild.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-02-16 10:13:42 -0500
committerAdrian Thurston <thurston@complang.org>2013-02-16 11:44:44 -0500
commit5f233cfcb9737c1580fd3dc7721f526d5636fab3 (patch)
tree6d98fac6d38439b8e0e30d0d25b83c3ee048568d /colm/pdabuild.cc
parent3a3a1898e39ee58a14845f31974eea93a25e8df5 (diff)
downloadcolm-5f233cfcb9737c1580fd3dc7721f526d5636fab3.tar.gz
took name out of the RegionInfo struct (runtime)
Lexical regions are no longer named constructs in the language.
Diffstat (limited to 'colm/pdabuild.cc')
-rw-r--r--colm/pdabuild.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/colm/pdabuild.cc b/colm/pdabuild.cc
index 6eb929f7..23038025 100644
--- a/colm/pdabuild.cc
+++ b/colm/pdabuild.cc
@@ -1361,11 +1361,9 @@ void Compiler::makeRuntimeData()
runtimeData->regionInfo = new RegionInfo[runtimeData->numRegions];
memset( runtimeData->regionInfo, 0, sizeof(RegionInfo) * runtimeData->numRegions );
- runtimeData->regionInfo[0].name = "___EMPTY";
runtimeData->regionInfo[0].defaultToken = -1;
for ( RegionList::Iter reg = regionList; reg.lte(); reg++ ) {
long regId = reg->id+1;
- runtimeData->regionInfo[regId].name = reg->name;
runtimeData->regionInfo[regId].defaultToken =
reg->defaultTokenDef == 0 ? -1 : reg->defaultTokenDef->tdLangEl->id;
runtimeData->regionInfo[regId].eofFrameId = -1;