From 03470766d32782746fd158efab144d9e588ffb0d Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 12 Feb 2019 18:18:52 -0500 Subject: Fix sh comment pattern to require blank --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/hi.c b/bin/hi.c index 9ac3851e..2da1ea6d 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 }, }; -- cgit 1.4.1 c810f440af01a57'>this commit DON'T USE THIS! --- web frontend for git
about summary refs log tree commit diff
path: root/shared.c (unfollow)
Commit message (Expand)Author
2013-04-10cgitrc.5.txt: Specify when scan-path must be defined before.Jason A. Donenfeld
2013-04-10ui-snapshot.c: Prepend "V" when guessing ref namesLukas Fleischer
2013-04-10t0107: Skip ZIP tests if unzip(1) isn't availableLukas Fleischer
2013-04-10tests/: Do not use `sed -i`Lukas Fleischer
2013-04-10Add branch-sort and repo.branch-sort options.Jason A. Donenfeld
2013-04-10t0109: chain operations with &&John Keeping
2013-04-10cgit.c: Do not restore unset environment variablesLukas Fleischer
2013-04-09t0107: Use `tar -z` for gzip'ed archivesLukas Fleischer