diff options
author | Adrian Thurston <thurston@complang.org> | 2013-02-16 10:13:42 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-02-16 11:44:44 -0500 |
commit | 5f233cfcb9737c1580fd3dc7721f526d5636fab3 (patch) | |
tree | 6d98fac6d38439b8e0e30d0d25b83c3ee048568d /colm/pdabuild.cc | |
parent | 3a3a1898e39ee58a14845f31974eea93a25e8df5 (diff) | |
download | colm-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.cc | 2 |
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; |