Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type nesting rules for extern, parser, control, and package types #1328

Closed
wants to merge 1 commit into from

Conversation

jaehyun1ee
Copy link
Contributor

I would like to propose a change to the spec following the discussion made in #1324.
This adds the cases for extern / parser / control / package types for the type nesting rule defined in section 7.2.8.

In summary,

  • It disallows extern / parser / control / package types from being nested inside a header / header union / struct / tuple / list / header stack.
  • It allows extern / parser / control / package to be aliased by typedef, but disallows for type.

@jaehyun1ee jaehyun1ee closed this Nov 25, 2024
@jaehyun1ee jaehyun1ee deleted the type-nesting-objects branch November 25, 2024 05:15
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