summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-03-22 04:13:05 +0000
committerRichard M. Stallman <rms@gnu.org>1997-03-22 04:13:05 +0000
commit318f867a982058f660cbbfaa15b23d1e7da0ee35 (patch)
tree79f20a833e66ec69f486aa016d7718be6ce8a7f9 /src/print.c
parent7ccb274fbf05fc87d67d0bc262874f3ccd02e291 (diff)
downloademacs-318f867a982058f660cbbfaa15b23d1e7da0ee35.tar.gz
(print): Generate a backslash in \2e10.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index f592f4a769c..57f6ffdf826 100644
--- a/src/print.c
+++ b/src/print.c
@@ -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);
}