1%{
2#if !defined DT_SEXY_BASE_YEAR
3# define DT_SEXY	DT_DUNK
4#endif  /* !DT_SEXY_BASE_YEAR */
5%}
6%7bit
7%readonly-tables
8%switch=1
9%ignore-case
10%enum
11%struct-type
12%define slot-name special
13%define hash-function-name ____fmt_special
14%define lookup-function-name __fmt_special
15%null-strings
16
17struct dt_fmt_special_s {
18	const char *special;
19	dt_dtyp_t e;
20};
21
22%%
23ymd, DT_YMD
24ymcw, DT_YMCW
25bizda, DT_BIZDA
26daisy, DT_DAISY
27sexy, (dt_dtyp_t)DT_SEXY
28bizsi, DT_BIZSI
29ywd, DT_YWD
30yd, DT_YD
31julian, DT_JDN
32jdn, DT_JDN
33lilian, DT_LDN
34ldn, DT_LDN
35