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

--- Comment #19 from GCC 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:4c8c400ddf0d6de54b0ee557836a934b4025d21f

commit r16-111-g4c8c400ddf0d6de54b0ee557836a934b4025d21f
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu Apr 24 15:29:50 2025 +0200

    c: Allow $@` in GNU23/GNU2Y raw string delimiters [PR110343]

    Aaron mentioned in the PR that late in C23 N3124 was adopted and
    $@` are now part of basic character set.  The paper has been implemented
    in GCC from what I can see, but we should allow for GNU23/2Y $@` in
    raw string delimiters as well, like they are allowed for C++26, because
    the delimiters can contain anything from basic character set but space,
    ()\, tab, form-feed, newline and backspace.

    2025-04-24  Jakub Jelinek  <ja...@redhat.com>

            PR c++/110343
            * lex.cc (lex_raw_string): For C allow $@` in raw string delimiters
            if CPP_OPTION (pfile, low_ucns) i.e. for C23 and later.

            * gcc.dg/raw-string-1.c: New test.

Reply via email to