aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-10 13:47:37 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-07-12 11:40:07 +0000
commit0bcba579624e6b32fae42850246e15a6087f0673 (patch)
treea89f2b1232d2c4098443b8a3288885a19cc91481 /gcc/rust/backend
parent4bbf156f3300590d9867b9e72ff9bb39e8a6f67a (diff)
downloadgcc-0bcba579624e6b32fae42850246e15a6087f0673.zip
gcc-0bcba579624e6b32fae42850246e15a6087f0673.tar.gz
gcc-0bcba579624e6b32fae42850246e15a6087f0673.tar.bz2
dump: Output escaped character values
Output escaped character values instead of their raw values in string. gcc/rust/ChangeLog: * lex/rust-token.cc (escape_special_chars): Add a function that escape a given string. (Token::as_string): Add call to escape function for string/char representations. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions