-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Syntax highlight error on quotes inside $(( )) #336
Comments
Thanks for the report. Originally the check for the quoting in the arithmetic context was implemented for Bash 4.3. However, the behavior of Bash seems to have changed. After your report, I have made comprehensive tests for quoting in the arithmetic context. Here are the behavioral differences of different quoting between different contexts and Bash versions, where the check mark indicates that the quoting is supported:
The behavior also depends on |
I've supported the Bash-version dependent checking in commit 611c1d9. (For a few contexts, I gave up a perfect implementation for older versions of Bash.) Could you update ble.sh by running the command |
The first double quote inside
$(( ))
, not(( ))
is highlighted as syntax erroror both quotes in these:
The text was updated successfully, but these errors were encountered: