This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix raw-string handling (PR preprocessor/57620)


Hmm, that logic is difficult to follow. It needs comments at least explaining last_seen_* and why the loop in the suffix handling keeps going after we change the phase to RAW_STR.

Maybe instead of tracking last_seen_* BUFF_APPEND could copy into a short local char array as well as the string buffer?

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]