summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/sh.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/sh.l b/bin/sh.l
index 77dd2518..fcd5ce35 100644
--- a/bin/sh.l
+++ b/bin/sh.l
@@ -81,6 +81,10 @@ reserved [!{}]|else|do|elif|for|done|fi|then|until|while|if|case|esac
 	return Subst;
 }
 
+"\n" {
+	BEGIN(push(First));
+	return Normal;
+}
 [&();|]|"&&"|";;"|"||" {
 	BEGIN(push(First));
 	return Operator;
@@ -89,7 +93,6 @@ reserved [!{}]|else|do|elif|for|done|fi|then|until|while|if|case|esac
 	return Operator;
 }
 
-^{reserved} { return Keyword; }
 <First>{
 	[[:blank:]]+ { return Normal; }
 	{reserved} {
ay.c?id=40e464422d5a75fb3aa86cb170bddf04a57812f4&follow=1'>Ignore SIGPIPE in relayJune McEnroe 2019-09-07Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe