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
commit5426534a897c735e3906788a94a5d61a3bd00701 (patch)
tree68074ef728d0435219be2c42270e33d32ee78ee0 /bin
parentAllow matching lexers using first input line (diff)
downloadsrc-5426534a897c735e3906788a94a5d61a3bd00701.tar.gz
src-5426534a897c735e3906788a94a5d61a3bd00701.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 a2d63e5b..49fda674 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; }
 }