derick          Sun Feb 17 18:17:56 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/date/lib       parse_date.c parse_date.re 
  Log:
  - MFH: fixed typoes.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/parse_date.c?r1=1.29.2.30.2.14.2.7&r2=1.29.2.30.2.14.2.8&diff_format=u
Index: php-src/ext/date/lib/parse_date.c
diff -u php-src/ext/date/lib/parse_date.c:1.29.2.30.2.14.2.7 
php-src/ext/date/lib/parse_date.c:1.29.2.30.2.14.2.8
--- php-src/ext/date/lib/parse_date.c:1.29.2.30.2.14.2.7        Sun Feb  3 
14:14:49 2008
+++ php-src/ext/date/lib/parse_date.c   Sun Feb 17 18:17:28 2008
@@ -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"
 /*
    +----------------------------------------------------------------------+
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: parse_date.c,v 1.29.2.30.2.14.2.7 2008/02/03 14:14:49 derick Exp $ */
+/* $Id: parse_date.c,v 1.29.2.30.2.14.2.8 2008/02/17 18:17:28 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.26.2.27.2.12.2.6&r2=1.26.2.27.2.12.2.7&diff_format=u
Index: php-src/ext/date/lib/parse_date.re
diff -u php-src/ext/date/lib/parse_date.re:1.26.2.27.2.12.2.6 
php-src/ext/date/lib/parse_date.re:1.26.2.27.2.12.2.7
--- php-src/ext/date/lib/parse_date.re:1.26.2.27.2.12.2.6       Sun Feb  3 
14:15:07 2008
+++ php-src/ext/date/lib/parse_date.re  Sun Feb 17 18:17:45 2008
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: parse_date.re,v 1.26.2.27.2.12.2.6 2008/02/03 14:15:07 derick Exp $ */
+/* $Id: parse_date.re,v 1.26.2.27.2.12.2.7 2008/02/17 18:17:45 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++;
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to