public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #933
@ 2022-06-08 12:07 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:07 UTC (permalink / raw)
  To: gcc-cvs

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(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:07 [gcc/devel/rust/master] Merge #933 Thomas Schwinge

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).