Skip to content

native: discrepancy in array_assignment_list #68

Description

@r0mainK

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions