Changeset 16b217d in tol
- Timestamp:
- Nov 5, 2009, 10:59:27 AM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 90037b0
- Parents:
- 137bfb2
- File:
-
- 1 edited
-
tol/OIS/oisloader.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/OIS/oisloader.cpp
r137bfb2 r16b217d 704 704 ERead(tol_type, object_); 705 705 ERead(name, object_); 706 706 707 BGrammar* gra = BGrammar::FindByGid((BGrammarId)tol_type,true); 707 708 if(system) … … 862 863 else if(mode==BOBJECTMODE) 863 864 { 865 BUserNameBlock* oldBuilding = BNameBlock::Building(); 866 BNameBlock::SetBuilding(NULL); 864 867 if(tol_type == BGI_Real) 865 868 { … … 1053 1056 assert(isNameBlock); 1054 1057 ERead(fullName,set_); 1055 1056 BUserNameBlock* oldBuilding = BNameBlock::Building();1057 1058 //const BNameBlock* oldCurrent = BNameBlock::Current(); 1058 1059 BGrammar::IncLevel(); … … 1062 1063 //BNameBlock::SetCurrent(&unb->Contens()); 1063 1064 unb->PutDescription(description); 1064 assert( GraNameBlock()->FindLocal(name)==unb);1065 assert(!name.HasName() || (GraNameBlock()->FindLocal(name)==unb)); 1065 1066 readed_[found].PutObject(unb); 1066 1067 BNameBlock& x = unb->Contens(); … … 1133 1134 } 1134 1135 } 1135 BNameBlock::SetBuilding(oldBuilding);1136 1136 //BNameBlock::SetCurrent(oldCurrent); 1137 1137 BGrammar::DestroyStackUntil(stackPos, unb); … … 1315 1315 { result = x; } 1316 1316 } 1317 BNameBlock::SetBuilding(oldBuilding); 1317 1318 } 1318 1319 else
Note: See TracChangeset
for help on using the changeset viewer.
