-/* Generated by re2c 0.13.5 on Tue Jul 8 22:24:37 2008 */
+/* Generated by re2c 0.13.5 on Fri Jul 11 10:39:11 2008 */
#line 1 "ext/date/lib/parse_date.re"
/*
+----------------------------------------------------------------------+
switch (*fptr) {
case 'D': /* three letter day */
case 'l': /* full day */
- tmp = timelib_lookup_relunit((char **) &ptr);
- if (!tmp) {
+ if (!timelib_lookup_relunit((char **) &ptr)) {
add_pbf_error(s, "A textual day could not be found", string, begin);
- } else {
- s->time->m = tmp;
}
break;
case 'd': /* two digit day, with leading zero */
switch (*fptr) {
case 'D': /* three letter day */
case 'l': /* full day */
- tmp = timelib_lookup_relunit((char **) &ptr);
- if (!tmp) {
+ if (!timelib_lookup_relunit((char **) &ptr)) {
add_pbf_error(s, "A textual day could not be found", string, begin);
- } else {
- s->time->m = tmp;
}
break;
case 'd': /* two digit day, with leading zero */