We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following bash code throws a parsing error let X=1
ParsingError: unexpected token '\n' (position 3)
The text was updated successfully, but these errors were encountered:
Unable to reproduce this issue.
In a Python interactive session with bashlex version 0.18:
bashlex
0.18
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import bashlex >>> bashlex.parse('let') [CommandNode(parts=[WordNode(parts=[] pos=(0, 3) word='let')] pos=(0, 3))] >>> bashlex.parse('let\n\n\nX=1') [CommandNode(parts=[WordNode(parts=[] pos=(0, 3) word='let')] pos=(0, 3)), CommandNode(parts=[AssignmentNode(parts=[] pos=(6, 9) word='X=1')] pos=(6, 9))] >>> bashlex.parse('let \ ... \ ... \ ... X=1') [CommandNode(parts=[WordNode(parts=[] pos=(0, 3) word='let'), WordNode(parts=[] pos=(4, 7) word='X=1')] pos=(0, 7))]
Sorry, something went wrong.
No branches or pull requests
The following bash code throws a parsing error
let
X=1
ParsingError: unexpected token '\n' (position 3)
The text was updated successfully, but these errors were encountered: