Skip to content

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

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 3 commits into from
Closed

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

wants to merge 3 commits 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.

Blei added 3 commits October 9, 2012 15:05
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.
@catamorphism
Copy link
Contributor

No worries -- I rebased the three patches into one. Thanks!

RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jun 29, 2024
unix/foreign_items: move getpid to the right part of the file
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.

2 participants