]> git.eshelyaron.com Git - emacs.git/commitdiff
(print): Generate a backslash in \2e10.
authorRichard M. Stallman <rms@gnu.org>
Sat, 22 Mar 1997 04:13:05 +0000 (04:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 22 Mar 1997 04:13:05 +0000 (04:13 +0000)
src/print.c

index f592f4a769c3fb116a85b17e51b571c34643e6f0..57f6ffdf82654489728c49c303ba39ee053a6fcb 100644 (file)
@@ -1018,7 +1018,9 @@ print (obj, printcharfun, escapeflag)
          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);
          }