diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-05-03 14:38:51 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-05-11 09:38:22 +0200 |
commit | f616a5db5cce0dc48bef0200952ae4c034cd107d (patch) | |
tree | 47b5958d78ffbda0769364f8dd667ce70998507c /gcc/cif-code.def | |
parent | 58c10eb4fbd58444aad9162692f571967a8d1ef2 (diff) | |
download | gcc-f616a5db5cce0dc48bef0200952ae4c034cd107d.zip gcc-f616a5db5cce0dc48bef0200952ae4c034cd107d.tar.gz gcc-f616a5db5cce0dc48bef0200952ae4c034cd107d.tar.bz2 |
converter: Convert literals back to tokens
Add the implementation of the function to convert Literal back to
tokens. Also change the function signature to accept const.
gcc/rust/ChangeLog:
* util/rust-token-converter.cc (from_literal): Add function
implementation.
(string_literal): String literal specific handler.
(byte_string_literal): Byte string specific handler.
(unsigned_literal): Unsigned literal specific handler.
(signed_literal): Signed literal specific handler.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/cif-code.def')
0 files changed, 0 insertions, 0 deletions