(print_object): Escape a symbol like "2E10" too.

This commit is contained in:
Kenichi Handa 2009-10-15 07:22:27 +00:00
parent d7a0fd6fcd
commit 01a8d3fa97
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2009-10-15 Kenichi Handa <handa@m17n.org>
* print.c (print_object): Escape a symbol like "2E10" too.
2009-10-11 Adrian Robert <Adrian.B.Robert@gmail.com>
Cleanups and changes for 64-bit compile under Snow Leopard. Based
on suggestions by Erik Charlebois.

View file

@ -1753,7 +1753,7 @@ print_object (obj, printcharfun, escapeflag)
{
while (p != end && ((*p >= '0' && *p <= '9')
/* Needed for \2e10. */
|| *p == 'e'))
|| *p == 'e' || *p == 'E'))
p++;
confusing = (end == p);
}