Attached is a patch for step 1 of my Unicode and enhanced literals support. Looking for approval to commit.
For step 1, I updated StringLiteralParser to cope with all varieties of prefix for a literal, but have not yet started work on suffices for user-defined literals. Note that although the logic is here, there is no change in functionality yet! The next step is to update the lexer to pass along these new literals. As there is not supposed to be a change of functionality, there are no tests associated with this update. There are 3 reasonable approaches for the next step, don't know which I'll pick yet: i/ provide full support for char16_t/char32_t types ii/ update the lexer to spot raw string literals iii/ extended character support in lexer I'll post my latest ideas for (iii) in the dev list shortly. AlisdairM
unicode_step_1.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
