diff options
author | June McEnroe <june@causal.agency> | 2021-01-13 18:17:08 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-13 18:18:35 -0500 |
commit | 79c337a4a50615e97289e4769579263e6e1c8861 (patch) | |
tree | e4c62ad280e6054b2319c8f6258dc0f0f2f1a451 | |
parent | Switch git.causal.agency to hilex and htagml (diff) | |
download | src-79c337a4a50615e97289e4769579263e6e1c8861.tar.gz src-79c337a4a50615e97289e4769579263e6e1c8861.zip |
Match strftime format specifiers
-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 0cee3a23..bbce5022 100644 --- a/bin/c11.l +++ b/bin/c11.l @@ -111,6 +111,7 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while | } <StringLiteral>{ "%%" | + "%"[EO]?[ABCDFGHIMRSTUVWXYZabcdeghjmnprtuwxyz] | "%"[ #+-0]*{width}?("."{width})?([Lhjltz]|hh|ll)?[AEFGXacdefginopsux] { return Format; } |