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; }
 }