Changeset b686a59 in tol
- Timestamp:
- Apr 21, 2010, 4:21:39 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 7881d14d
- Parents:
- 8609eec
- Location:
- tol
- Files:
-
- 4 edited
-
OIS/oiscreator.cpp (modified) (1 diff)
-
bparser/par.cpp (modified) (1 diff)
-
btol/set_type/setgrainc.cpp (modified) (2 diffs)
-
btol/set_type/tol_bsetgra.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/OIS/oiscreator.cpp
r8609eec rb686a59 565 565 if(!system) 566 566 { 567 BText path = GetStandardAbsolutePath(v->SourcePath()); 568 if(path.HasName()) 569 { 570 allSourcePath_.AddUniqueSorted(path,BTextOrderCriterium); 567 const BSourcePath* sp = v->GetSourcePath(); 568 if(sp) 569 { 570 allSourcePath_.AddUniqueSorted( 571 GetStandardAbsolutePath(sp->Name()),BTextOrderCriterium); 572 for(int emb=0; emb<sp->embeded_.Size(); emb++) 573 { 574 allSourcePath_.AddUniqueSorted( 575 GetStandardAbsolutePath(sp->embeded_[emb]),BTextOrderCriterium); 576 } 571 577 } 572 578 } -
tol/bparser/par.cpp
r8609eec rb686a59 1085 1085 if(embedded) 1086 1086 { 1087 BText absPath = GetStandardAbsolutePath(path); 1088 BSourcePath::AddEmbed(absPath); 1087 1089 Std(I2("Embedded file ", 1088 1090 "Ha sido incrustado el archivo ")+ 1089 GetAbsolutePath(path)+"\n");1091 absPath+"\n"); 1090 1092 } 1091 1093 delete childParser; -
tol/btol/set_type/setgrainc.cpp
r8609eec rb686a59 132 132 BSourcePath::BSourcePath(const BSetFromFile* set, const BText& path) 133 133 //-------------------------------------------------------------------- 134 : BSyntaxObject(path), set_(set) 134 : BSyntaxObject(path), set_(set), embeded_() 135 135 { 136 136 TRACE_MEMORY_SHOW(this,"BSourcePath::BSourcePath"); … … 150 150 assert(pos<0); 151 151 statusTable_.AddSorted(this,StatusTableCmp); 152 } 153 154 //-------------------------------------------------------------------- 155 void BSourcePath::AddEmbed(const BText& txt) 156 //-------------------------------------------------------------------- 157 { 158 assert(current_); 159 ((BSourcePath*)current_)->embeded_.Add(txt); 152 160 } 153 161 -
tol/btol/set_type/tol_bsetgra.h
r8609eec rb686a59 179 179 static const BSourcePath* current_; 180 180 const BSetFromFile* set_; 181 182 181 void PutSet(const BSetFromFile* set) { set_ = set; } 183 182 184 183 public: 184 BArray<BText> embeded_; 185 185 BSourcePath(const BSetFromFile* set, const BText& path); 186 186 ~BSourcePath() {} … … 189 189 BGrammar* Grammar () const { return(GraAnything()); } 190 190 const BSetFromFile* Set() const { return(set_); } 191 191 192 192 void SetDestroyed(); 193 193 static int GetItemNumber() { return(statusTable_.Size()); } … … 198 198 static const BSourcePath* Find(const BText& path); 199 199 static bool IsAlive(const BSourcePath* sp); 200 static void AddEmbed(const BText& txt); 200 201 DeclareClassNewDelete(BSourcePath); 201 202 };
Note: See TracChangeset
for help on using the changeset viewer.
