]> gcc.gnu.org Git - gcc.git/commit
gccrs: tokenstream: Add conversion for float literals
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Fri, 28 Apr 2023 13:07:33 +0000 (15:07 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:37:16 +0000 (18:37 +0100)
commiteb95910feee269f71cb4ab4aafbf1beecb2f9993
treedd4a5304e84ef1d61595acf963397a7a9f82c9aa
parenta21a4bc8947b628512db2fa00cdbcea883f31deb
gccrs: tokenstream: Add conversion for float literals

Add the conversion handler for float/double literal tokens to
tokenstream Literals.

gcc/rust/ChangeLog:

* ast/rust-ast-tokenstream.cc (dispatch_float_literals): Add
dispatch function for floating point literals.
(TokenStream::collect): Add call to dispatcher.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-tokenstream.cc
This page took 0.064928 seconds and 6 git commands to generate.