Re: Patch to support extended characters in C/C++ identifiers

2019-09-19 Thread Lewis Hyatt
On Thu, Sep 19, 2019 at 3:57 PM Joseph Myers wrote: > > On Thu, 12 Sep 2019, Lewis Hyatt wrote: > > > Attached is a single patch relative to current trunk that incorporates all > > of > > your feedback. I gzipped it like last time just in case the invalid UTF-8 in > > the tests presents a problem

Re: Patch to support extended characters in C/C++ identifiers

2019-09-19 Thread Joseph Myers
On Thu, 12 Sep 2019, Lewis Hyatt wrote: > Attached is a single patch relative to current trunk that incorporates all of > your feedback. I gzipped it like last time just in case the invalid UTF-8 in > the tests presents a problem. The code changes are the same as before other > than comments. > >

Re: Patch to support extended characters in C/C++ identifiers

2019-09-12 Thread Lewis Hyatt
On Tue, Sep 10, 2019 at 11:47:22PM +, Joseph Myers wrote: > On Mon, 12 Aug 2019, Lewis Hyatt wrote: > > > Hello- > > > > The attached patch for libcpp adds support for extended characters (e.g. > > UTF-8) > > in identifiers. A preliminary version of the patch was posted on PR c/67224 > > as

Re: Patch to support extended characters in C/C++ identifiers

2019-09-11 Thread Joseph Myers
On Wed, 11 Sep 2019, Lewis Hyatt wrote: > things that may be a little surprising. For instance, you can take a > UTF-8 encoded file and insert a backslash line continuation in the > middle of a multibyte sequence, and gcc will happily paste it back > together and then interpret the resulting UTF-8

Re: Patch to support extended characters in C/C++ identifiers

2019-09-11 Thread Lewis Hyatt
On Tue, Sep 10, 2019 at 7:47 PM Joseph Myers wrote: > > Thanks, I think this is OK with a few updates to the documentation. Thanks for looking through this, I'm glad it will be acceptable. I will make the documentation adjustments as you suggest. Speaking of documentation, one other thing occurr

Re: Patch to support extended characters in C/C++ identifiers

2019-09-10 Thread Joseph Myers
On Mon, 12 Aug 2019, Lewis Hyatt wrote: > Hello- > > The attached patch for libcpp adds support for extended characters (e.g. > UTF-8) > in identifiers. A preliminary version of the patch was posted on PR c/67224 as > Comment 26 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67224#c26) and > disc

Re: Patch to support extended characters in C/C++ identifiers

2019-08-15 Thread Joseph Myers
On Thu, 15 Aug 2019, Jason Merrill wrote: > On 8/12/19 6:01 PM, Lewis Hyatt wrote: > > Hello- > > > > The attached patch for libcpp adds support for extended characters (e.g. > > UTF-8) > > in identifiers. A preliminary version of the patch was posted on PR c/67224 > > as > > Comment 26 (https://

Re: Patch to support extended characters in C/C++ identifiers

2019-08-14 Thread Jason Merrill
On 8/12/19 6:01 PM, Lewis Hyatt wrote: Hello- The attached patch for libcpp adds support for extended characters (e.g. UTF-8) in identifiers. A preliminary version of the patch was posted on PR c/67224 as Comment 26 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67224#c26) and discussed with Jose

Patch to support extended characters in C/C++ identifiers

2019-08-12 Thread Lewis Hyatt
Hello- The attached patch for libcpp adds support for extended characters (e.g. UTF-8) in identifiers. A preliminary version of the patch was posted on PR c/67224 as Comment 26 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67224#c26) and discussed with Joseph Myers. Here is an updated patch incorp