-
Notifications
You must be signed in to change notification settings - Fork 27
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
Unable to parse extended attribute with quoted tuple of values #38
Labels
bug
Something isn't working
Comments
I already made mention of this on the PR (#39), but wanted to bring it up here as well: This may only be a chrome IDL issue since the official WebIDL grammar (https://heycam.github.io/webidl/#es-extended-attributes) only seems to support identifier lists, not string lists. Feel free to ignore/close this issue if this is indeed the case. I can understand wanting to keep this library strictly in-line with the official grammar. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Weedle seems to be unable to parse extended attributes that contain a tuple of quoted values.
Steps to Reproduce
For example, this parses correctly:
With the result:
while quoted tuple values do not parse correctly:
This is also observed while parsing chrome IDLs:
Source Data
src/main.rs
Cargo.toml
The text was updated successfully, but these errors were encountered: