]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: dump: Fix spacing with dots and references
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 28 Jun 2023 09:13:15 +0000 (11:13 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:49:32 +0000 (18:49 +0100)
commitb8ce0e28a0114e8a253ab205189f7cb159218a46
tree378e8b44d6e3f59aff4d4912a71b166a1c8aa525
parent67d50818a7f0f06385d4635bdd96614cb542c5ee
gccrs: dump: Fix spacing with dots and references

A space was output around dots as well as after references, this made
things kinda horrible to look at and clearly not usual.

gcc/rust/ChangeLog:

* ast/rust-ast-dump.cc (Dump::require_spacing): Add a rule to
remove spaces around dots and after references.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-dump.cc