Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Update suffixed literal support #49

Open
ehuss opened this issue Jun 28, 2019 · 0 comments
Open

Update suffixed literal support #49

ehuss opened this issue Jun 28, 2019 · 0 comments
Labels
grammar Issues with the definition of the rust grammar lexer Issues with the lexer

Comments

@ehuss
Copy link
Contributor

ehuss commented Jun 28, 2019

Suffixed literals have been undergoing recent changes, and there are some oddities to consider.

"foo"suffix is accepted in some situations rust-lang/rust#60494

Tuple index (a.1i32) is temporarily allowed: rust-lang/rust#60210

Attribute literals cannot have suffixes for the = TOKEN_TREE form. #![foo=1u32] is not allowed. However, since these are only built-in attributes AFAIK, may not be worth covering.

@ehuss ehuss added lexer Issues with the lexer grammar Issues with the definition of the rust grammar labels Jun 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Issues with the definition of the rust grammar lexer Issues with the lexer
Projects
None yet
Development

No branches or pull requests

1 participant