diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-11-09 18:32:52 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-02-26 17:32:38 +0000 |
commit | 486b2043a08ff49605ea7d52fc2c3f5403d72079 (patch) | |
tree | e6b83c192c1803eae2c924369194ed6e66d706b8 /gcc/rust/hir | |
parent | 84477fc83223a883bbb53a31b4cbc08eee02af85 (diff) | |
download | gcc-486b2043a08ff49605ea7d52fc2c3f5403d72079.zip gcc-486b2043a08ff49605ea7d52fc2c3f5403d72079.tar.gz gcc-486b2043a08ff49605ea7d52fc2c3f5403d72079.tar.bz2 |
fmt: Start working on format_args!() parser
This commit adds a base class for parsing the various constructs of a
Rust format string, according to the grammar in the reference:
https://doc.rust-lang.org/std/fmt/index.html#syntax
gcc/rust/ChangeLog:
* Make-lang.in: Compile rust-fmt object
* ast/rust-fmt.cc: New file.
* ast/rust-fmt.h: New file.
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions