diff host/libcdl/expr.cxx @ 82:6736c52df507 ecos-sw-2000-04-14

Merge from eCos master repository on 2000-04-14-13:35:46-BST
author jlarmour
date Tue, 18 Apr 2000 21:51:55 +0000
parents 435cced73e2f
children 6ed91473a1cd
line wrap: on
line diff
--- a/host/libcdl/expr.cxx
+++ b/host/libcdl/expr.cxx
@@ -1017,6 +1017,7 @@ initialise_tokenisation(std::string data
 //   <add>          ::= <mult>   [<add op>    <mult>]          + -
 //   <mult>         ::= <unary>  [<mult op>   <unary>]         * / %
 //   <unary>        ::= -<unary> | +<unary> | !<unary> | *<unary> | ?<unary> |
+//                      ~<unary> |
 //                      <string constant> | <integer constant> |
 //                      <double constant> | <reference> |
 //                      ( <expression> )
@@ -2247,7 +2248,7 @@ CdlExpressionBody::parse(std::string dat
     // exception, or we should be at the end of the expression string.
     if (CdlExprOp_EOD != next_op) {
         delete result;
-        throw CdlParseException("unexpected data at end of expression.\n" + get_error_location());
+        throw CdlParseException("Unexpected data at end of expression.\n" + get_error_location());
     }
 
     // Keep a copy of the original string for diagnostics purposes.
@@ -2789,7 +2790,7 @@ CdlListExpressionBody::eval_internal(Cdl
                 }
                 result.double_ranges.push_back(std::make_pair(x1, x2));
             } else {
-                throw CdlEvalException("range expression involves non-numerical limits");
+                throw CdlEvalException("Range expression involves non-numerical limits");
             }
         }