Skip to content

libsyntax: refactor the parser to consider foreign items as items #3704

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

Closed
wants to merge 1 commit into from
Closed

libsyntax: refactor the parser to consider foreign items as items #3704

wants to merge 1 commit into from

Conversation

Blei
Copy link
Contributor

@Blei Blei commented Oct 9, 2012

parse_item_or_view_item() would drop visibility if none of the conditions
following it would hold. This was the case when parsing extern {} blocks,
where the function was only used to parse view items, but discarded the
visibility of the first not-view item.

parse_item_or_view_item() would drop visibility if none of the conditions
following it would hold. This was the case when parsing extern {} blocks,
where the function was only used to parse view items, but discarded the
visibility of the first not-view item.
@Blei
Copy link
Contributor Author

Blei commented Oct 9, 2012

sorry, wrong target branch

@Blei Blei closed this Oct 9, 2012
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jun 29, 2024
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