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 | 0f6347908d61df583d21cc07451016b2f14c7553 (patch) | |
tree | e8c67d9c3dba07ab96de4b869789a522e5daae84 /bin | |
parent | Remove -t flag from ctags commands (diff) | |
download | src-0f6347908d61df583d21cc07451016b2f14c7553.tar.gz src-0f6347908d61df583d21cc07451016b2f14c7553.zip |
Match \ before newline in string as Escape
Diffstat (limited to 'bin')
-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 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}) | |