From: Derick Rethans Date: Sun, 17 Feb 2008 18:17:01 +0000 (+0000) Subject: - Fixed typoes. X-Git-Tag: RELEASE_2_0_0a1~450 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93432884b226b4336e445971c2b4027e86545bdf;p=php - Fixed typoes. --- diff --git a/ext/date/lib/parse_date.c b/ext/date/lib/parse_date.c index 39bea021d6..45d591bb29 100644 --- a/ext/date/lib/parse_date.c +++ b/ext/date/lib/parse_date.c @@ -1,4 +1,4 @@ -/* Generated by re2c 0.12.1 on Sun Feb 3 15:07:12 2008 */ +/* Generated by re2c 0.12.1 on Sun Feb 17 19:16:04 2008 */ #line 1 "ext/date/lib/parse_date.re" /* +----------------------------------------------------------------------+ @@ -620,7 +620,7 @@ static void timelib_eat_spaces(char **ptr) } } -static void timelib_eat_until_seperator(char **ptr) +static void timelib_eat_until_separator(char **ptr) { while (strchr(" \t.,:;/-0123456789", **ptr) == NULL) { ++*ptr; @@ -23036,7 +23036,7 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim if (s->time->h == TIMELIB_UNSET) { add_pbf_error(s, "Meridian can only come after an hour has been found", string, begin); } else if ((tmp = timelib_meridian_with_check((char **) &ptr, s->time->h)) == TIMELIB_UNSET) { - add_pbf_error(s, "A meridian could no tbe found", string, begin); + add_pbf_error(s, "A meridian could not be found", string, begin); } else { s->time->h += tmp; } @@ -23091,7 +23091,7 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim if (*ptr == ';' || *ptr == ':' || *ptr == '/' || *ptr == '.' || *ptr == ',' || *ptr == '-') { ++ptr; } else { - add_pbf_error(s, "The seperation symbol ([;:/.,-]) could not be found", string, begin); + add_pbf_error(s, "The separation symbol ([;:/.,-]) could not be found", string, begin); } break; @@ -23099,13 +23099,13 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim ++ptr; break; - case '*': // random chars until a seperator or number ([ \t.,:;/-0123456789]) - timelib_eat_until_seperator((char **) &ptr); + case '*': // random chars until a separator or number ([ \t.,:;/-0123456789]) + timelib_eat_until_separator((char **) &ptr); break; default: if (*fptr != *ptr) { - add_pbf_error(s, "The format seperator does not match", string, begin); + add_pbf_error(s, "The format separator does not match", string, begin); } ptr++; } diff --git a/ext/date/lib/parse_date.re b/ext/date/lib/parse_date.re index 8e1798efc8..21f4fa9516 100644 --- a/ext/date/lib/parse_date.re +++ b/ext/date/lib/parse_date.re @@ -618,7 +618,7 @@ static void timelib_eat_spaces(char **ptr) } } -static void timelib_eat_until_seperator(char **ptr) +static void timelib_eat_until_separator(char **ptr) { while (strchr(" \t.,:;/-0123456789", **ptr) == NULL) { ++*ptr; @@ -1808,7 +1808,7 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim if (s->time->h == TIMELIB_UNSET) { add_pbf_error(s, "Meridian can only come after an hour has been found", string, begin); } else if ((tmp = timelib_meridian_with_check((char **) &ptr, s->time->h)) == TIMELIB_UNSET) { - add_pbf_error(s, "A meridian could no tbe found", string, begin); + add_pbf_error(s, "A meridian could not be found", string, begin); } else { s->time->h += tmp; } @@ -1863,7 +1863,7 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim if (*ptr == ';' || *ptr == ':' || *ptr == '/' || *ptr == '.' || *ptr == ',' || *ptr == '-') { ++ptr; } else { - add_pbf_error(s, "The seperation symbol ([;:/.,-]) could not be found", string, begin); + add_pbf_error(s, "The separation symbol ([;:/.,-]) could not be found", string, begin); } break; @@ -1871,13 +1871,13 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim ++ptr; break; - case '*': // random chars until a seperator or number ([ \t.,:;/-0123456789]) - timelib_eat_until_seperator((char **) &ptr); + case '*': // random chars until a separator or number ([ \t.,:;/-0123456789]) + timelib_eat_until_separator((char **) &ptr); break; default: if (*fptr != *ptr) { - add_pbf_error(s, "The format seperator does not match", string, begin); + add_pbf_error(s, "The format separator does not match", string, begin); } ptr++; }