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 | 3d51d8e6a41294649c7fb00f13752ffba9a57bfc (patch) | |
tree | b5f9c4b1469d33e1c43988aa024ef6093d4c0cdd | |
parent | Switch git.causal.agency to hilex and htagml (diff) | |
download | src-3d51d8e6a41294649c7fb00f13752ffba9a57bfc.tar.gz src-3d51d8e6a41294649c7fb00f13752ffba9a57bfc.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 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; } |