Changeset 11
- Timestamp:
- 06/22/09 22:42:54 (4 years ago)
- Location:
- cpp/f8-to-f1
- Files:
-
- 2 edited
-
conv_f8tof1.cpp (modified) (1 diff)
-
geno_f8.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cpp/f8-to-f1/conv_f8tof1.cpp
r9 r11 697 697 cout << "&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&" << endl; 698 698 #endif 699 //final check 700 for (map<string, Production*>::iterator prodIter = lsys->productions.begin(); 701 prodIter != lsys->productions.end(); prodIter++) { 702 for (vector<SubProduction>::iterator subProdIter = prodIter->second->subproductions.begin(); 703 subProdIter != prodIter->second->subproductions.end(); subProdIter++) { 704 SubProduction subProduction = *subProdIter; 705 for (vector<ActionStrP>::iterator actionIter = subProduction.actions.begin(); 706 actionIter != subProduction.actions.end(); actionIter++) { 707 if ((*actionIter).action == NULL) { 708 subProduction.actions.erase(actionIter); 709 } 710 } 711 } 712 } 699 713 #if CONV_DEBUG > 0 700 714 cout << "createLsystem() end" << endl; -
cpp/f8-to-f1/geno_f8.cpp
r10 r11 1140 1140 for (vector<ActionStrP>::iterator actionIter = (*subprodIter).actions.begin(); 1141 1141 actionIter != (*subprodIter).actions.end(); actionIter++) { 1142 if ((*actionIter).action == NULL) { 1143 continue; 1144 } 1142 1145 SString &actionName = (*actionIter).action->name; 1143 1146 if (actionName[0] == 'n') {
Note: See TracChangeset
for help on using the changeset viewer.
