This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix raw-string handling (PR preprocessor/57620)
- 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:22:56 -0400
- Subject: Re: [PATCH] Fix raw-string handling (PR preprocessor/57620)
- References: <20130617162846 dot GB2336 at tucnak dot redhat dot com>
It seems undesirable to go from one to four separate copies of the
note-handling code. Could we instead handle the different states of
prefix, body and suffix parsing in local variables and just have one
loop over the characters/notes in the input?
Jason