This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up preprocessing of raw-string literals
- From: Jason Merrill <jason at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, Tom Tromey <tromey at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 10 Jul 2013 02:35:03 -0400
- Subject: Re: [PATCH] Fix up preprocessing of raw-string literals
- References: <20130705152211 dot GZ2336 at tucnak dot redhat dot com>
On 07/05/2013 11:22 AM, Jakub Jelinek wrote:
- if (token->type == CPP_COMMENT)
+ if (cpp_token_val_index (token) == CPP_TOKEN_FLD_STR)
This could use a comment explaining why checking for CPP_TOKEN_FLD_STR
does what you want. OK with that change.
Jason