Changeset 13938 for trunk/FACT++
- Timestamp:
- 05/27/12 12:02:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Readline.cc
r13899 r13938 99 99 // 100 100 Readline::Readline(const char *prgname) : 101 fMaxLines(500), fLine(0), f Label(-1), fCompletion(0)101 fMaxLines(500), fLine(0), fSection(-3), fLabel(-1), fCompletion(0) 102 102 { 103 103 if (This) … … 1076 1076 const int save = fSection; 1077 1077 Execute(opt, data); 1078 fSection = save; 1079 SetSection(save); 1078 if (save!=-3) 1079 { 1080 fSection = save; 1081 SetSection(save); 1082 } 1080 1083 1081 1084 return true; … … 1399 1402 } 1400 1403 1404 fCommandLog << "# " << Time() << " - " << name << " (FINISHED[" << fScriptDepth<< "])" << endl; 1405 1406 if (--fScriptDepth==0) 1407 fStopScript = false; 1408 1401 1409 fLabel = -1; 1402 1410 fSection = -3; 1403 1411 SetSection(-3); 1404 1405 fCommandLog << "# " << Time() << " - " << name << " (FINISHED[" << fScriptDepth<< "])" << endl;1406 1407 if (--fScriptDepth==0)1408 fStopScript = false;1409 1412 1410 1413 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.