summary refs log tree commit diff
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
parentSwitch git.causal.agency to hilex and htagml (diff)
downloadsrc-79c337a4a50615e97289e4769579263e6e1c8861.tar.gz
src-79c337a4a50615e97289e4769579263e6e1c8861.zip
Match strftime format specifiers
Diffstat (limited to '')
-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;
 	}
9-07-11 23:36:41 -0400'>2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe