Searched defs:add_error (Results 1 - 2 of 2) sorted by relevance
| /PHP_TRUNK/ext/date/lib/ |
| H A D | parse_iso_intervals.c | 116 static void add_error(Scanner *s, char *error) function 327 add_error(s, "Unexpected character"); 360 add_error(s, "Missing expected time part"); 379 add_error(s, "Undefined period specifier"); 1032 add_error(&in, "Empty string");
|
| H A D | parse_date.c | 111 #define TIMELIB_HAVE_TIME() { if (s->time->have_time) { add_error(s, "Double time specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_time = 1; s->time->h = 0; s->time->i = 0; s->time->s = 0; s->time->f = 0; } } 113 #define TIMELIB_HAVE_DATE() { if (s->time->have_date) { add_error(s, "Double date specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_date = 1; } } 118 #define TIMELIB_HAVE_TZ() { s->cur = cursor; if (s->time->have_zone) { s->time->have_zone > 1 ? add_error(s, "Double timezone specification") : add_warning(s, "Double timezone specification"); timelib_string_free(str); s->time->have_zone++; return TIMELIB_ERROR; } else { s->time->have_zone++; } } 350 static void add_error(Scanner *s, char *error) function 1010 add_error(s, "The timezone could not be found in the database"); 1328 add_error(s, "Unexpected character"); 4472 add_error(s, "The timezone could not be found in the database"); 9802 add_error(s, "The timezone could not be found in the database"); 12077 add_error(s, "The timezone could not be found in the database"); 13468 add_error( [all...] |
Completed in 20 milliseconds