diff options
author | Derick Rethans <derick@php.net> | 2008-02-17 18:17:45 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2008-02-17 18:17:45 +0000 |
commit | 22392affefd36c47876f23157e7539e51fea6805 (patch) | |
tree | 25defd33fe677eed9a41691e4ca7edcef6c3bab7 | |
parent | af15fe6531e4d38e0af101d64afab84008ef291a (diff) | |
download | php-git-22392affefd36c47876f23157e7539e51fea6805.tar.gz |
- MFH: fixed typoes.
-rw-r--r-- | ext/date/lib/parse_date.c | 14 | ||||
-rw-r--r-- | ext/date/lib/parse_date.re | 12 |
2 files changed, 13 insertions, 13 deletions
diff --git a/ext/date/lib/parse_date.c b/ext/date/lib/parse_date.c index da11e0f68a..d46a37f956 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:10:59 2008 */ +/* Generated by re2c 0.12.1 on Sun Feb 17 19:15:32 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++; } |