Skip to content

Improve identifier defintion in the reference #28764

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

Merged
merged 1 commit into from
Oct 1, 2015

Conversation

steveklabnik
Copy link
Member

Fixes #28706

I am pretty sure that this is accurate, bout would love a double check.

@rust-highfive
Copy link
Contributor

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

* The remaining characters have property `XID_continue`
Or
* The first character is `_`
* The remaining characters have property `XID_continue`
Copy link
Contributor

Choose a reason for hiding this comment

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

Is _ by itself an identifier?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is not. Should I be more explicit that there must be more than zero 'remaining characters' here?

@alexcrichton
Copy link
Member

r=me with a clarification of there must be some remaining characters for _ to start an identifier

@steveklabnik
Copy link
Member Author

@bors: r=alexcrichton rollup

@bors
Copy link
Collaborator

bors commented Sep 30, 2015

📌 Commit 2a787a2 has been approved by alexcrichton

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Sep 30, 2015
Fixes rust-lang#28706 

I am pretty sure that this is accurate, bout would love a double check.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Sep 30, 2015
Fixes rust-lang#28706 

I am pretty sure that this is accurate, bout would love a double check.
bors added a commit that referenced this pull request Sep 30, 2015
@bors bors merged commit 2a787a2 into rust-lang:master Oct 1, 2015
@steveklabnik steveklabnik deleted the gh28706 branch June 19, 2016 20:32
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.

6 participants