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

Ident cannot contain number. Is that intentional? #34

Closed
xiaoniu-578fa6bff964d005 opened this issue Oct 19, 2019 · 1 comment
Closed

Comments

@xiaoniu-578fa6bff964d005

'a'..='z' | 'A'..='Z' | '_' => ident.push(ch),

This will cut off indentifier at the first occurrance of number if I get it right.
The identifier like "{a1b}" would be cut as "a” and “{1b}” which will just not work.

Is that intentional?

@dtolnay
Copy link
Owner

dtolnay commented Oct 19, 2019

Thanks, not intentional. I released 1.0.3 with a fix.

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

No branches or pull requests

2 participants