aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-03-22 04:13:05 +0000
committerRichard M. Stallman1997-03-22 04:13:05 +0000
commite837058bc33ac4055f8456f71081692734217d20 (patch)
tree7e9c0394db9d94ba20808064f866b14766522c56 /src
parent375ff4f1e31fc51c2e3e27b94a383fb6e2f2d813 (diff)
downloademacs-e837058bc33ac4055f8456f71081692734217d20.tar.gz
emacs-e837058bc33ac4055f8456f71081692734217d20.zip
(print): Generate a backslash in \2e10.
Diffstat (limited to 'src')
-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)
1018 confusing = 0; 1018 confusing = 0;
1019 else 1019 else
1020 { 1020 {
1021 while (p != end && *p >= '0' && *p <= '9') 1021 while (p != end && ((*p >= '0' && *p <= '9')
1022 /* Needed for \2e10. */
1023 || *p == 'e'))
1022 p++; 1024 p++;
1023 confusing = (end == p); 1025 confusing = (end == p);
1024 } 1026 }