Open d0c-s4vage opened 4 years ago
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.
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