mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
- That should have been ||.
This commit is contained in:
parent
81f2dc39bd
commit
99c56139c7
@ -1,4 +1,4 @@
|
||||
/* Generated by re2c 0.12.1 on Tue Jan 29 20:58:48 2008 */
|
||||
/* Generated by re2c 0.12.1 on Tue Jan 29 21:13:35 2008 */
|
||||
#line 1 "ext/date/lib/parse_date.re"
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
@ -757,7 +757,7 @@ static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_
|
||||
while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') {
|
||||
++*ptr;
|
||||
}
|
||||
if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' | (*ptr)[3] == '-')) {
|
||||
if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) {
|
||||
*ptr += 3;
|
||||
}
|
||||
if (**ptr == '+') {
|
||||
|
@ -755,7 +755,7 @@ static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_
|
||||
while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') {
|
||||
++*ptr;
|
||||
}
|
||||
if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' | (*ptr)[3] == '-')) {
|
||||
if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) {
|
||||
*ptr += 3;
|
||||
}
|
||||
if (**ptr == '+') {
|
||||
|
Loading…
Reference in New Issue
Block a user