RFC: PATCH to adjust libcpp raw string support for N3077 changes

Joseph S. Myers joseph@codesourcery.com
Mon Mar 29 20:05:00 GMT 2010


On Mon, 29 Mar 2010, Jason Merrill wrote:

> The new patch doesn't pass down notes anymore, so the only change to 
> non-raw-string code is to ignore line notes in _cpp_process_line_notes 
> that have been marked handled (by setting type to 0) in lex_raw_string.
> 
> How does this look?

This patch looks OK.  I've noticed a comment that needs fixing, although 
that's logically not part of this patch:

>  /* Lexes a raw string.  The stored string contains the spelling, including
>     double quotes, delimiter string, '[' and ']', any leading
>     'L', 'u', 'U' or 'u8' and 'R' modifier.  It returns the type of the

Should now reference '(' and ')'.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list