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
commit3d51d8e6a41294649c7fb00f13752ffba9a57bfc (patch)
treeb5f9c4b1469d33e1c43988aa024ef6093d4c0cdd /bin
parentSwitch git.causal.agency to hilex and htagml (diff)
downloadsrc-3d51d8e6a41294649c7fb00f13752ffba9a57bfc.tar.gz
src-3d51d8e6a41294649c7fb00f13752ffba9a57bfc.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 c03ce3e5..d0bcb8fa 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;
 	}