Commit 01a8d3fa authored by Kenichi Handa's avatar Kenichi Handa
Browse files

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

parent d7a0fd6f
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> 2009-10-11 Adrian Robert <Adrian.B.Robert@gmail.com>
Cleanups and changes for 64-bit compile under Snow Leopard. Based Cleanups and changes for 64-bit compile under Snow Leopard. Based
on suggestions by Erik Charlebois. on suggestions by Erik Charlebois.
......
...@@ -1753,7 +1753,7 @@ print_object (obj, printcharfun, escapeflag) ...@@ -1753,7 +1753,7 @@ print_object (obj, printcharfun, escapeflag)
{ {
while (p != end && ((*p >= '0' && *p <= '9') while (p != end && ((*p >= '0' && *p <= '9')
/* Needed for \2e10. */ /* Needed for \2e10. */
|| *p == 'e')) || *p == 'e' || *p == 'E'))
p++; p++;
confusing = (end == p); confusing = (end == p);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment