Changeset 1187 for code/branches/console/src/core/CommandExecutor.cc
- Timestamp:
- Apr 25, 2008, 12:51:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/CommandExecutor.cc
r1149 r1187 270 270 } 271 271 272 bool CommandEvaluation::hasReturnvalue() const 273 { 274 if (this->state_ == CS_Shortcut_Params || this->state_ == CS_Shortcut_Finished) 275 { 276 if (this->shortcut_) 277 return this->shortcut_->hasReturnvalue(); 278 } 279 else if (this->state_ == CS_Function_Params || this->state_ == CS_Function_Finished) 280 { 281 if (this->function_) 282 return this->function_->hasReturnvalue(); 283 } 284 285 return MT_null; 286 } 287 272 288 MultiTypeMath CommandEvaluation::getReturnvalue() const 273 289 {
Note: See TracChangeset
for help on using the changeset viewer.