public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/101656] New: d: Don't escape quoted format strings in escape_d_format
@ 2021-07-28 13:03 ibuclaw at gdcproject dot org
  2021-07-29 15:12 ` [Bug d/101656] " cvs-commit at gcc dot gnu.org
  2021-07-29 15:26 ` ibuclaw at gdcproject dot org
  0 siblings, 2 replies; 3+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-07-28 13:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101656
           Summary: d: Don't escape quoted format strings in
                    escape_d_format
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

For example:
---
void main()
{
    auto foo = mixin;
}
---
Results in:
---
error: found ‘;’ when expecting ‘(’ following `mixin`
---

When it should be ‘mixin’ in quotes.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug d/101656] d: Don't escape quoted format strings in escape_d_format
  2021-07-28 13:03 [Bug d/101656] New: d: Don't escape quoted format strings in escape_d_format ibuclaw at gdcproject dot org
@ 2021-07-29 15:12 ` cvs-commit at gcc dot gnu.org
  2021-07-29 15:26 ` ibuclaw at gdcproject dot org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-29 15:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:

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

commit r12-2595-gcd4bda42979cb40860a9cd2c0ed188b9a0948cd4
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Mon Jul 26 15:52:23 2021 +0200

    d: Don't escape quoted format strings in escape_d_format (PR101656)

    If the format string is enclosed by two '`' characters, then don't
    escape the first and laster characters.

            PR d/101656

    gcc/d/ChangeLog:

            * d-diagnostic.cc (escape_d_format): Don't escape quoted format
            strings.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug d/101656] d: Don't escape quoted format strings in escape_d_format
  2021-07-28 13:03 [Bug d/101656] New: d: Don't escape quoted format strings in escape_d_format ibuclaw at gdcproject dot org
  2021-07-29 15:12 ` [Bug d/101656] " cvs-commit at gcc dot gnu.org
@ 2021-07-29 15:26 ` ibuclaw at gdcproject dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-07-29 15:26 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix committed.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-29 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 13:03 [Bug d/101656] New: d: Don't escape quoted format strings in escape_d_format ibuclaw at gdcproject dot org
2021-07-29 15:12 ` [Bug d/101656] " cvs-commit at gcc dot gnu.org
2021-07-29 15:26 ` ibuclaw at gdcproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).