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 error related to default assignment #185

Closed
nk-dzajac opened this issue Aug 10, 2023 · 0 comments · Fixed by #186
Closed

Parsing error related to default assignment #185

nk-dzajac opened this issue Aug 10, 2023 · 0 comments · Fixed by #186

Comments

@nk-dzajac
Copy link

First noticed this issue in the default .bashrc file that comes with WSL Ubuntu 20.04/22.04.

Line causing error:
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"

Treesitter Playground output:
image

An even more minimal example:
image

Not sure how this should be parsed, but it definitely shouldn't cause an error - the bash code in question is perfectly valid.

@amaanq amaanq mentioned this issue Aug 12, 2023
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

Successfully merging a pull request may close this issue.

1 participant