| date_interpr
| date_phrase { make_date_value(DV_PHRASE,
def_date, def_date, $1); }
+ | /* empty */
+ {
+ /* If empty string: return empty string in 'phrase'
+ member as fallback */
+ /* Note: this can only happen in compatibility mode */
+ make_date_value(DV_PHRASE,
+ def_date, def_date, curr_line_value);
+ }
| error { /* On error: put entire string in 'phrase' member
as fallback */
make_date_value(DV_PHRASE,
- def_date, def_date, curr_line_value); }
+ def_date, def_date, curr_line_value);
+ }
;
date : ESC_DATE_GREG date_greg { copy_date(&$$, date_s);