diff options
author | June McEnroe <june@causal.agency> | 2021-01-13 19:00:38 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-13 19:00:38 -0500 |
commit | a715836703570d580a950cf476bb6858a8b22d08 (patch) | |
tree | 0cbea013dbb9e4193a6d11b1863882be4f6e5980 | |
parent | Remove -t flag from ctags commands (diff) | |
download | src-a715836703570d580a950cf476bb6858a8b22d08.tar.gz src-a715836703570d580a950cf476bb6858a8b22d08.zip |
Match \ before newline in string as Escape
-rw-r--r-- | bin/c11.l | 1 |
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}) | |