https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:ae49af94850b26e50268031e24f1559d5a51edec

commit r11-2384-gae49af94850b26e50268031e24f1559d5a51edec
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Jul 28 15:40:15 2020 +0200

    libcpp: Fix up raw string literal parsing error-recovery [PR96323]

    For (invalid) newline inside of the raw string literal delimiter, doing
    continue means we skip the needed processing of newlines.  Instead of
    duplicating that, this patch just doesn't continue for those.

    2020-07-28  Jakub Jelinek  <ja...@redhat.com>

            PR preprocessor/96323
            * lex.c (lex_raw_string): For c == '\n' don't continue after
reporting
            an prefix delimiter error.

            * c-c++-common/cpp/pr96323.c: New test.

Reply via email to