-
Notifications
You must be signed in to change notification settings - Fork 22
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
(Inline) Descendant combinator is not recognised properly #41
Comments
Detecting spaces in token-trees is a hard thing to do. I think the best course right now is to heavily document this. A simply workaround without ambiguity (I think) and not having to detect the space is to prefer the following syntax:
which is actionable and could be implemented to act correctly (possible have to adjust
Same underlying reason that it's not possible to detect the spacing in stable rust. |
This issue is mitigated in #42. The proper solution requires rust-lang/rust#54725 to become available in stable Rust. |
Proc macro's |
For the following stylesheet:
For inline syntax, the input above yields the following stylesheet:
After consulting the documentation of
proc_macro2
, I am not sure what's the best course of action to solve this issue.(I don't think possible to detect spaces between
Ident
andPunct
.)@WorldSEnder Any ideas?
The text was updated successfully, but these errors were encountered: