diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-08-29 17:24:03 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-09-06 11:50:30 +0000 |
commit | 4e7ae3938b2364370e848acb3d51e1a9c4c5d512 (patch) | |
tree | cc3fc3d13347d9b3179a0d6a41479b83029970cb /gcc/rust/hir/rust-hir-dump.cc | |
parent | 241e53bc424ae2ce7185d32f069d776ebddb599a (diff) | |
download | gcc-4e7ae3938b2364370e848acb3d51e1a9c4c5d512.zip gcc-4e7ae3938b2364370e848acb3d51e1a9c4c5d512.tar.gz gcc-4e7ae3938b2364370e848acb3d51e1a9c4c5d512.tar.bz2 |
Add missing linemap to lexer
When some proc macro create tokens and later have some code referring to
those created tokens the code was missing a linemap since the pointer
was null, throwing an ICE.
gcc/rust/ChangeLog:
* expand/rust-proc-macro.cc (tokenstream_from_string): Change
linemap null pointer to the current linemap.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions