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
commit0f6347908d61df583d21cc07451016b2f14c7553 (patch)
treee8c67d9c3dba07ab96de4b869789a522e5daae84 /bin
parentRemove -t flag from ctags commands (diff)
downloadsrc-0f6347908d61df583d21cc07451016b2f14c7553.tar.gz
src-0f6347908d61df583d21cc07451016b2f14c7553.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 bbce5022..b9490f2e 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}) |