Changeset 8804 for code/branches/output/src/libraries/util/ExprParser.h
- Timestamp:
- Jul 30, 2011, 11:06:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/ExprParser.h
r8351 r8804 55 55 if (!expr.getRemains().empty()) 56 56 { 57 COUT(2) << "Warning: Expression could not be parsed to the end! Remains: '" << expr.getRemains() << '\'' << std::endl;57 orxout(user_warning) << "Expression could not be parsed to the end! Remains: '" << expr.getRemains() << '\'' << endl; 58 58 } 59 59 float result = expr.getResult(); 60 60 } 61 61 else 62 COUT(1) << "Error: Cannot calculate expression: Parse error." << std::endl;62 orxout(user_error) << "Cannot calculate expression: Parse error." << endl; 63 63 @endcode 64 64 getRemains() returns the expression after what could be parsed. For instance
Note: See TracChangeset
for help on using the changeset viewer.