Changeset e6d6935 in tol
- Timestamp:
- Feb 8, 2012, 7:01:46 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- bedce5a
- Parents:
- 258606d
- File:
-
- 1 edited
-
tol/btol/bgrammar/nameblock.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/bgrammar/nameblock.cpp
r258606d re6d6935 64 64 static BStruct* strNameBlockMemberInfo_ = NULL; 65 65 static BStruct* strClassMemberInfo_ = NULL; 66 static char* emptyHashKey_ = NULL; 66 67 67 68 //-------------------------------------------------------------------- … … 85 86 if(BNameBlock_IsInitialized()) { return(false); } 86 87 unknown_ = new BNameBlock; 87 SetEmptyKey (using_, NULL); 88 //emptyHashKey_ = new char(64); 89 //sprintf(emptyHashKey_, "_#_&¬!?_NameBlock_empty_hash_key_"); 90 SetEmptyKey (using_, emptyHashKey_); 88 91 SetEmptyKey (usingSymbolsByClass_, BObjClassify::null_); 89 SetEmptyKey (usingSymbols_, NULL);92 SetEmptyKey (usingSymbols_, emptyHashKey_); 90 93 SetDeletedKey(usingSymbols_, name_del_key()); 91 94 … … 127 130 startedPackage(false) 128 131 { 129 SetEmptyKey(public_ , NULL);130 SetEmptyKey(private_, NULL);132 SetEmptyKey(public_ ,emptyHashKey_); 133 SetEmptyKey(private_,emptyHashKey_); 131 134 #if (__USE_POOL__==__POOL_BFSMEM__) 132 135 short isAssigned = BFSMEM_Hndlr->IsAssigned(this,this->GetPageNum()); … … 155 158 startedPackage(false) 156 159 { 157 SetEmptyKey(public_ , NULL);158 SetEmptyKey(private_, NULL);160 SetEmptyKey(public_ ,emptyHashKey_); 161 SetEmptyKey(private_,emptyHashKey_); 159 162 #if (__USE_POOL__==__POOL_BFSMEM__) 160 163 short isAssigned = BFSMEM_Hndlr->IsAssigned(this,this->GetPageNum()); … … 183 186 startedPackage(false) 184 187 { 188 SetEmptyKey(public_ ,emptyHashKey_); 189 SetEmptyKey(private_,emptyHashKey_); 185 190 #if (__USE_POOL__==__POOL_BFSMEM__) 186 191 short isAssigned = BFSMEM_Hndlr->IsAssigned(this,this->GetPageNum()); … … 580 585 if(cls && cls->Name()=="BlockSamplerStdLinear" && name=="aux") 581 586 { 582 Std(BText("\nTRACE BNameBlock::EvaluateTree member [")+(n+1)+"]"+587 //Std(BText("\nTRACE BNameBlock::EvaluateTree member [")+(n+1)+"]"+ 583 588 fullName+"::"+mbr->name_+ 584 589 " position_="+(memberOwner.member_[n]->position_+1)+"\n");
Note: See TracChangeset
for help on using the changeset viewer.
