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

Parsing fails for *some* list nodes inside command substitution nodes. #54

Open
gmoshkin opened this issue Mar 29, 2020 · 0 comments
Open

Comments

@gmoshkin
Copy link

To reproduce do:

import bashlex
bashlex.parser.parse('echo $(pwd && pwd)')

Results in ParsingError: unexpected token ')' (position 10)

Parsing also fails for 'echo $(pwd || pwd)' and 'echo $(pwd & pwd)', but 'echo $(pwd ; pwd)' parses just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant