summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-19 19:40:31 -0500
committerJune McEnroe <june@causal.agency>2021-01-19 19:40:31 -0500
commita4ef89693d688b37d359d1328189946388c83836 (patch)
tree303939c50cdd3f09b7272df1df81ceda7135a803 /bin
parentAllow matching lexers using first input line (diff)
downloadsrc-a4ef89693d688b37d359d1328189946388c83836.tar.gz
src-a4ef89693d688b37d359d1328189946388c83836.zip
Match tab following escaped newline in make assignments
Otherwise it ends up going into Shell state.
Diffstat (limited to 'bin')
-rw-r--r--bin/make.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/make.l b/bin/make.l
index 30a0621f..88f286dc 100644
--- a/bin/make.l
+++ b/bin/make.l
@@ -67,7 +67,7 @@ operator [:!]|::
 		BEGIN(pop = INITIAL);
 		return Normal;
 	}
-	"\\\n" { return String; }
+	"\\\n""\t"? { return String; }
 	[^\\$[:space:]]+|. { return String; }
 }
 
='2021-01-19 23:38:11 -0500'>2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe