diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-17 08:44:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 08:44:36 +0000 |
commit | d81ba63f4829c12b89e87564c398e95879c89db1 (patch) | |
tree | 46c2aa8c0da5a1cfd72b50fb4579ff000c2d46cc /gcc/rust/rust-lang.cc | |
parent | a5272f389b02623b8bc4aaeafcf84013dae7c9fb (diff) | |
parent | 45ca46018f034e50d37e6fdcd3d0de9c0ce74927 (diff) | |
download | gcc-d81ba63f4829c12b89e87564c398e95879c89db1.zip gcc-d81ba63f4829c12b89e87564c398e95879c89db1.tar.gz gcc-d81ba63f4829c12b89e87564c398e95879c89db1.tar.bz2 |
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>
Diffstat (limited to 'gcc/rust/rust-lang.cc')
0 files changed, 0 insertions, 0 deletions