bashlex icon indicating copy to clipboard operation
bashlex copied to clipboard

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

Open gmoshkin opened this issue 4 years ago • 0 comments

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.

gmoshkin avatar Mar 29 '20 14:03 gmoshkin