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

native: discrepancy in array_assignment_list #68

Open
r0mainK opened this issue Sep 12, 2019 · 0 comments
Open

native: discrepancy in array_assignment_list #68

r0mainK opened this issue Sep 12, 2019 · 0 comments
Labels

Comments

@r0mainK
Copy link

r0mainK commented Sep 12, 2019

When parsing export foo=(bar), the array_assignment_list node has token value bar) instead of either bar or bar). This is also true if the list has multiple element, e.g. export foo=(bar baz) yields an array_assignment_list node with token value bar baz).

The underlying combined_word node(s) have the correct value(s) though, although the parentheses are not contained - I was expecting bash:LP or bash_LT nodes but maybe this is expected behavior ?

@dennwc dennwc added the bug label Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants