summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-13 18:17:08 -0500
committerJune McEnroe <june@causal.agency>2021-01-13 18:18:35 -0500
commit79c337a4a50615e97289e4769579263e6e1c8861 (patch)
treee4c62ad280e6054b2319c8f6258dc0f0f2f1a451 /bin
parentSwitch git.causal.agency to hilex and htagml (diff)
downloadsrc-79c337a4a50615e97289e4769579263e6e1c8861.tar.gz
src-79c337a4a50615e97289e4769579263e6e1c8861.zip
Match strftime format specifiers
Diffstat (limited to 'bin')
-rw-r--r--bin/c11.l1
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;
 	}