summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-13 19:00:38 -0500
committerJune McEnroe <june@causal.agency>2021-01-13 19:00:38 -0500
commita715836703570d580a950cf476bb6858a8b22d08 (patch)
tree0cbea013dbb9e4193a6d11b1863882be4f6e5980 /bin
parentRemove -t flag from ctags commands (diff)
downloadsrc-a715836703570d580a950cf476bb6858a8b22d08.tar.gz
src-a715836703570d580a950cf476bb6858a8b22d08.zip
Match \ before newline in string as Escape
Diffstat (limited to '')
-rw-r--r--bin/c11.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/c11.l b/bin/c11.l
index d0bcb8fa..88e4d08b 100644
--- a/bin/c11.l
+++ b/bin/c11.l
@@ -101,6 +101,7 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while |
 }
 
 <CharLiteral,StringLiteral>{
+	"\\\n" |
 	"\\"[''""?\\abfnrtv] |
 	"\\"([0-7]{1,3}) |
 	"\\x"([[:xdigit:]]{2}) |