changeset 17223:ed068c0c1648

(print): Generate a backslash in \2e10.
author Richard M. Stallman <rms@gnu.org>
date Sat, 22 Mar 1997 04:13:05 +0000
parents 60053e19d485
children dd2545e79add
files src/print.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Sat Mar 22 04:08:59 1997 +0000
+++ b/src/print.c	Sat Mar 22 04:13:05 1997 +0000
@@ -1018,7 +1018,9 @@
 	  confusing = 0;
 	else
 	  {
-	    while (p != end && *p >= '0' && *p <= '9')
+	    while (p != end && ((*p >= '0' && *p <= '9')
+				/* Needed for \2e10.  */
+				|| *p == 'e'))
 	      p++;
 	    confusing = (end == p);
 	  }