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

Handle words containing bare '#' #109

Merged
merged 2 commits into from
Nov 1, 2021

Conversation

oxalica
Copy link
Contributor

@oxalica oxalica commented Oct 6, 2021

Only a word beginning with a '#' starts a comment. A word can contain
'#' character without escaping as long as it is not the first character.

See: Bash Reference Manual section '3.1.3 Comments'
https://www.gnu.org/software/bash/manual/bash.html#Comments

@oxalica oxalica force-pushed the fix/word-with-pound branch from deda5b2 to bb07c4a Compare October 10, 2021 15:17
Only a word beginning with a '#' starts a comment. A word can contain
'#' character without escaping as long as it is not the first character.

See: Bash Reference Manual section '3.1.3 Comments'
https://www.gnu.org/software/bash/manual/bash.html#Comments
@oxalica oxalica force-pushed the fix/word-with-pound branch from bb07c4a to 2d3662f Compare November 1, 2021 13:56
@oxalica
Copy link
Contributor Author

oxalica commented Nov 1, 2021

r? @maxbrunsfeld @mjambon

@maxbrunsfeld maxbrunsfeld merged commit 4094e3a into tree-sitter:master Nov 1, 2021
@oxalica oxalica deleted the fix/word-with-pound branch November 1, 2021 17:21
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 this pull request may close these issues.

2 participants