public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/rust/master] Merge #933
Date: Wed,  8 Jun 2022 12:07:04 +0000 (GMT)	[thread overview]
Message-ID: <20220608120704.3E7333887E05@sourceware.org> (raw)

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

commit d81ba63f4829c12b89e87564c398e95879c89db1
Merge: a5272f389b0 45ca46018f0
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Thu Feb 17 08:44:36 2022 +0000

    Merge #933
    
    933: macrotranscriber: Add location info r=CohenArthur a=CohenArthur
    
    Closes #929
    
    Adds location info to the macro's transcriber. When generating a `MacroRule` error, this PR creates an empty location for the transcriber, since the error function is only called if no fat arrow is present or if there was an error parsing the macro's matcher. Please let me know if this is the expected behavior
    
    Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>

Diff:

 gcc/rust/ast/rust-macro.h        | 12 +++++++-----
 gcc/rust/parse/rust-parse-impl.h |  3 ++-
 2 files changed, 9 insertions(+), 6 deletions(-)


                 reply	other threads:[~2022-06-08 12:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220608120704.3E7333887E05@sourceware.org \
    --to=tschwinge@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).