This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PR java/10253 (""+0), version 2


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]