aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-08-29 17:24:03 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-09-06 11:50:30 +0000
commit4e7ae3938b2364370e848acb3d51e1a9c4c5d512 (patch)
treecc3fc3d13347d9b3179a0d6a41479b83029970cb /gcc/rust/hir/rust-hir-dump.cc
parent241e53bc424ae2ce7185d32f069d776ebddb599a (diff)
downloadgcc-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