--- embedaddon/php/ext/date/lib/parse_date.c 2013/07/22 01:31:38 1.1.1.3 +++ embedaddon/php/ext/date/lib/parse_date.c 2013/10/14 08:02:09 1.1.1.4 @@ -1,4 +1,4 @@ -/* Generated by re2c 0.13.5 on Sun Sep 30 20:14:42 2012 */ +/* Generated by re2c 0.13.5 on Sun Aug 25 14:46:08 2013 */ /* +----------------------------------------------------------------------+ | PHP Version 5 | @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: parse_date.c,v 1.1.1.3 2013/07/22 01:31:38 misho Exp $ */ +/* $Id: parse_date.c,v 1.1.1.4 2013/10/14 08:02:09 misho Exp $ */ #include "timelib.h" @@ -650,7 +650,8 @@ static const timelib_relunit* timelib_lookup_relunit(c char *begin = *ptr, *end; const timelib_relunit *tp, *value = NULL; - while (**ptr != '\0' && **ptr != ' ' && **ptr != ',' && **ptr != '\t') { + while (**ptr != '\0' && **ptr != ' ' && **ptr != ',' && **ptr != '\t' && **ptr != ';' && **ptr != ':' && + **ptr != '/' && **ptr != '.' && **ptr != '-' && **ptr != '(' && **ptr != ')' ) { ++*ptr; } end = *ptr; @@ -25025,7 +25026,7 @@ timelib_time *timelib_parse_from_format(char *format, break; case '\\': /* escaped char */ - *fptr++; + fptr++; if (*ptr == *fptr) { ++ptr; } else {