Skip to content

Backport (#323): Serialize struct idents with Serializer::write_identifier#324

Merged
torkleyy merged 2 commits into
v0.6from
esc_ident
Oct 22, 2021
Merged

Backport (#323): Serialize struct idents with Serializer::write_identifier#324
torkleyy merged 2 commits into
v0.6from
esc_ident

Conversation

@torkleyy

Copy link
Copy Markdown
Member

Backport #323 to v0.6 branch

Previously, struct field idents would be written directly into the
output buffer.
Now, the write_identifier method is used to apply the usual logic
and serialize as raw ident if characters are found to not be a valid
regular identifier.

Fixes #322
@torkleyy torkleyy merged commit 6825f0c into v0.6 Oct 22, 2021
@torkleyy torkleyy deleted the esc_ident branch October 22, 2021 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant