changeset 8807:401d54a83690

use 'invalid', not 'illegal'
author John W. Eaton <jwe@octave.org>
date Wed, 18 Feb 2009 14:32:53 -0500
parents c7864bb74914
children d724487d2c4b
files liboctave/LSODE.cc src/DLD-FUNCTIONS/hex2num.cc
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/LSODE.cc
+++ b/liboctave/LSODE.cc
@@ -285,7 +285,7 @@
 
     case -1:  // excess work done on this call (perhaps wrong mf).
     case -2:  // excess accuracy requested (tolerances too small).
-    case -3:  // illegal input detected (see printed message).
+    case -3:  // invalid input detected (see printed message).
     case -4:  // repeated error test failures (check all inputs).
     case -5:  // repeated convergence failures (perhaps bad jacobian
 	      // supplied or wrong choice of mf or tolerances).
--- a/src/DLD-FUNCTIONS/hex2num.cc
+++ b/src/DLD-FUNCTIONS/hex2num.cc
@@ -85,7 +85,7 @@
 		    }
 		  else
 		    {
-		      error ("hex2num: illegal character found in string");
+		      error ("hex2num: invalid character found in string");
 		      break;
 		    }
 		}