Skip to content
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

Attribute end position incorrect when for attribute lists #5

Open
ChristianMurphy opened this issue Apr 8, 2018 · 0 comments · May be fixed by #25
Open

Attribute end position incorrect when for attribute lists #5

ChristianMurphy opened this issue Apr 8, 2018 · 0 comments · May be fixed by #25
Labels
🐛 type/bug This is a problem

Comments

@ChristianMurphy
Copy link
Member

ast-issue

The early nodes over all following nodes.
Likely due to the recursive nature of the parsing:

a_list
= _ ida:ID eq:(_ '=' _ idb:ID {return idb})? _ ','? rest:a_list? {
return [{
type: 'attribute',
name: ida,
value: eq || undefined,
data: {},
position: location()
}].concat(rest || []);

@ChristianMurphy ChristianMurphy added the 🐛 type/bug This is a problem label Apr 8, 2018
@ChristianMurphy ChristianMurphy linked a pull request Jul 28, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 type/bug This is a problem
Development

Successfully merging a pull request may close this issue.

1 participant