cvs: php-src /ext/date/lib parse_date.c parse_date.re
| From: | Derick Rethans | Date: | Sun, 17 Feb 2008 18:17:01 +0000 |
| Subject: | cvs: php-src /ext/date/lib parse_date.c parse_date.re | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48611@lists.php.net to get a copy of this message | ||
derick Sun Feb 17 18:17:01 2008 UTC
Modified files:
/php-src/ext/date/lib parse_date.c parse_date.re
Log:
- Fixed typoes.
http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/parse_date.c?r1=1.80&r2=1.81&diff_format=u
Index: php-src/ext/date/lib/parse_date.c
diff -u php-src/ext/date/lib/parse_date.c:1.80 php-src/ext/date/lib/parse_date.c:1.81
--- php-src/ext/date/lib/parse_date.c:1.80 Sun Feb 3 14:10:46 2008
+++ php-src/ext/date/lib/parse_date.c Sun Feb 17 18:17:00 2008
@@ -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"
/*
+----------------------------------------------------------------------+
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: parse_date.c,v 1.80 2008/02/03 14:10:46 derick Exp $ */
+/* $Id: parse_date.c,v 1.81 2008/02/17 18:17:00 derick Exp $ */
#include "timelib.h"
@@ -620,7 +620,7 @@
}
}
-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 @@
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 @@
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 @@
++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++;
}
http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/parse_date.re?r1=1.71&r2=1.72&diff_format=u
Index: php-src/ext/date/lib/parse_date.re
diff -u php-src/ext/date/lib/parse_date.re:1.71 php-src/ext/date/lib/parse_date.re:1.72
--- php-src/ext/date/lib/parse_date.re:1.71 Sun Feb 3 14:10:48 2008
+++ php-src/ext/date/lib/parse_date.re Sun Feb 17 18:17:01 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: parse_date.re,v 1.71 2008/02/03 14:10:48 derick Exp $ */
+/* $Id: parse_date.re,v 1.72 2008/02/17 18:17:01 derick Exp $ */
#include "timelib.h"
@@ -618,7 +618,7 @@
}
}
-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 @@
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 @@
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 @@
++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++;
}