Skip to content

Fix StructExprStructFields tokenstream#2100

Merged
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
P-E-P:ast_structexprstruct
Apr 14, 2023
Merged

Fix StructExprStructFields tokenstream#2100
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
P-E-P:ast_structexprstruct

Conversation

@P-E-P

@P-E-P P-E-P commented Apr 5, 2023

Copy link
Copy Markdown
Member

StructExprStructFields inherit from StructExprStruct and shall output the struct name and curly braces.

StructExprStructFields inherit from StructExprStruct and shall output
the struct name and curly braces.

gcc/rust/ChangeLog:

	* ast/rust-ast-tokenstream.cc (TokenStream::visit): Add struct
	name and curly braces to output tokenstream.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
@P-E-P P-E-P marked this pull request as ready for review April 5, 2023 11:49

@philberty philberty left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CohenArthur CohenArthur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice :)

@CohenArthur CohenArthur added this pull request to the merge queue Apr 14, 2023
Merged via the queue into Rust-GCC:master with commit ac79c65 Apr 14, 2023
@P-E-P P-E-P deleted the ast_structexprstruct branch November 21, 2023 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants