aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authormxlol233 <mxlol233@outlook.com>2023-01-11 20:36:13 +0800
committermxlol233 <mxlol233@outlook.com>2023-01-12 20:36:23 +0800
commit68839a57ea5091435c28e97f3d0f3dc6da9abacf (patch)
tree97c2b2c636936636861560d7c5cf10cf59cbd3a8 /gcc/rust/resolve
parentb6fcee808fd654d2d5c13b87565f1e59cc61a138 (diff)
downloadgcc-68839a57ea5091435c28e97f3d0f3dc6da9abacf.zip
gcc-68839a57ea5091435c28e97f3d0f3dc6da9abacf.tar.gz
gcc-68839a57ea5091435c28e97f3d0f3dc6da9abacf.tar.bz2
diagnostics: Add underline for tokens in diagnostics.
Currently, the diagnostics only point to the corresponding token's start position by carets, and lack of underlines for full token. This commit add support for such underlines in diagnostics by encoding range information in location_t. Signed-off-by: Xiao Ma <mxlol233@outlook.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions