This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] PR java/10253 (""+0), version 2
- From: Andrew Haley <aph at redhat dot com>
- To: Eric Blake <ebb9 at email dot byu dot edu>
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>,gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 10 Apr 2003 16:32:14 +0100 (BST)
- Subject: [PATCH] PR java/10253 (""+0), version 2
- References: <3E95891A.5020207@email.byu.edu>
Eric Blake writes:
> Yesterday's version had some flaws. In part, I had mistaken the comment
> about an ASCII dependence to assume that '0' through '9' might not be
> consecutive; I was reminded that C guarantees that they are consecutive.
> Rather, the dependence is on whether '0' == 060.
>
> Tested on i686-pc-cygwin. OK to commit to 3.3 branch and HEAD?
>
> 2003-04-10 Eric Blake <ebb9 at email dot byu dot edu>
>
> PR java/10253:
> * parse.y (string_convert_int_cst): Always use at least one digit
> in string conversion. Remove ASCII dependence.
> (merge_string_cste): Fix merging of 3-byte UTF-8 characters.
OK.
Andrew.