changeset 3698:22c94c038d48

[project @ 2000-07-18 04:27:07 by jwe]
author jwe
date Tue, 18 Jul 2000 04:27:07 +0000
parents 8ce0d75eb4e3
children 47d8d41d6ac6
files src/ChangeLog src/lex.l
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Jul 18 03:28:34 2000 +0000
+++ b/src/ChangeLog	Tue Jul 18 04:27:07 2000 +0000
@@ -1,5 +1,7 @@
 2000-07-17  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* lex.l (next_token_is_bin_op): Don't recognize `..' as a binary op.
+
 	* load-save.cc (get_file_format): Call read_mat5_binary_file_header 
 	with third arg true instead of false, so we don't barf if the file
 	is not a matlab v5 binary file.
--- a/src/lex.l	Tue Jul 18 03:28:34 2000 +0000
+++ b/src/lex.l	Tue Jul 18 04:27:07 2000 +0000
@@ -1405,7 +1405,7 @@
 
 	    unput (c2);
 	  }
-	else if (! isdigit (c1) && c1 != ' ' && c1 != '\t')
+	else if (! isdigit (c1) && c1 != ' ' && c1 != '\t' && c1 != '.')
 	  {
 	    bin_op = true;
 	  }