Skip to content

Use raw identifier for reserved keywords (continued)#1822

Open
cydparser wants to merge 2 commits into
immunant:masterfrom
cydparser:raw-identifiers
Open

Use raw identifier for reserved keywords (continued)#1822
cydparser wants to merge 2 commits into
immunant:masterfrom
cydparser:raw-identifiers

Conversation

@cydparser

Copy link
Copy Markdown
Contributor

I've rebased and updated an old PR: #295

@ahomescu ahomescu requested review from ahomescu and fw-immunant July 6, 2026 22:18
field_name,
bytes,
attrs,
..

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What else is here? If it's only one or two extra fields, I'd add them explicitly.

if let Some(mut field_group) = last_bitfield_group.take() {
if let FieldType::BitfieldGroup {
ref mut field_name,
single_bitfield,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If you only care about the !single_bitfield case here, could you do something like single_bitfield: false, on this line?

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.

3 participants