Universal Character Names, v2

Neil Booth neil@daikokuya.co.uk
Thu Nov 28 23:12:00 GMT 2002


Martin v. L?wis wrote:-
> This is the second version of my UCN patch. It incorporates all
> comments from the previous patch (AFAIR).
>> Specifically, the changes relative to the previous patch are:
> - Update character sets for C99, and C++ DR 131.
> - Support escaped newlines in the middle of an UCN. This is done
> through the addition of maybe_read_ucs_reader function, which
> uses get_effective_char internally.

You should find a way to share code here; duplicating most of
maybe_read_ucs is not ideal. Nothing says maybe_read_ucs has to
remain in it's current form.
Also, I don't think you've covered all cases for escaped newlines;
I saw at least one place where you just read the next character directly.
Neil.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /