Parser skips the as keyword for @use and @forward #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello 👋
I've been testing
@lezer/sassand ran into a limitation with@useand@forward(otherwise it's worked swimmingly so far – love the support for both dialects). Both@useand@forwardhave the optionalaskeyword, where@usehas a special case*.@use "module" as m@use "module" as *@forward "module" as m-*I don't have any prior experience with grammars or parsers, but I've attached a patch. It seemed to work for me locally if you want to take a look. I can open a PR if you prefer.
Attached patch adds support for this.