diff options
author | June McEnroe <june@causal.agency> | 2019-02-12 18:18:52 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-02-12 18:18:52 -0500 |
commit | d6361806a1df4a3463481f66ff9ad6febd886a41 (patch) | |
tree | 1da03e6e187f1b99e59253f359410c0b08e670b7 /bin | |
parent | Unify *up scripts into one up.sh (diff) | |
download | src-d6361806a1df4a3463481f66ff9ad6febd886a41.tar.gz src-d6361806a1df4a3463481f66ff9ad6febd886a41.zip |
Fix sh comment pattern to require blank
Diffstat (limited to '')
-rw-r--r-- | bin/hi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c index a4d0e835..fa37584e 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -236,7 +236,7 @@ static const struct Syntax ShSyntax[] = { "(([^\n]|\n\t*[^E]|\n\t*E[^O]|\n\t*EO[^F]|\n\t*EOF[^\n])*)" "\n\t*EOF\n" }, { Comment, .parent = ~SET(String), .subexp = 2, - .pattern = "(^|" WS ")" "(#.*)" }, + .pattern = "(^|[[:blank:]]+)(#.*)" }, { Todo, .parent = SET(Comment), .pattern = PATTERN_TODO }, }; |