mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Revert "Update timelib to 2022.14"
This reverts commits: -a0329dbab0-b42bd2a359
This commit is contained in:
4
NEWS
4
NEWS
@@ -2,10 +2,6 @@ PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.2.30
|
||||
|
||||
- Date:
|
||||
. Fixed GH-17159: "P" format for ::createFromFormat swallows string literals.
|
||||
(nielsdos)
|
||||
|
||||
- Opcache:
|
||||
. Reset global pointers to prevent use-after-free in zend_jit_status().
|
||||
(Florian Engelhardt)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Generated by re2c 1.0.3 on Mon Sep 15 10:38:03 2025 */
|
||||
/* Generated by re2c 1.0.3 on Wed Sep 11 17:29:29 2024 */
|
||||
#line 1 "ext/date/lib/parse_date.re"
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
@@ -941,12 +941,10 @@ timelib_long timelib_parse_zone(const char **ptr, int *dst, timelib_time *t, int
|
||||
{
|
||||
timelib_tzinfo *res;
|
||||
timelib_long retval = 0;
|
||||
size_t paren_count = 0;
|
||||
|
||||
*tz_not_found = 0;
|
||||
|
||||
while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') {
|
||||
paren_count += **ptr == '(';
|
||||
++*ptr;
|
||||
}
|
||||
if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) {
|
||||
@@ -995,9 +993,8 @@ timelib_long timelib_parse_zone(const char **ptr, int *dst, timelib_time *t, int
|
||||
*tz_not_found = (found == 0);
|
||||
retval = offset;
|
||||
}
|
||||
while (paren_count > 0 && **ptr == ')') {
|
||||
while (**ptr == ')') {
|
||||
++*ptr;
|
||||
paren_count--;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
@@ -1021,11 +1018,11 @@ static int scan(Scanner *s, timelib_tz_get_wrapper tz_get_wrapper)
|
||||
std:
|
||||
s->tok = cursor;
|
||||
s->len = 0;
|
||||
#line 1154 "ext/date/lib/parse_date.re"
|
||||
#line 1151 "ext/date/lib/parse_date.re"
|
||||
|
||||
|
||||
|
||||
#line 1029 "ext/date/lib/parse_date.c"
|
||||
#line 1026 "<stdout>"
|
||||
{
|
||||
YYCTYPE yych;
|
||||
unsigned int yyaccept = 0;
|
||||
@@ -1206,23 +1203,23 @@ yy2:
|
||||
YYDEBUG(2, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(3, *YYCURSOR);
|
||||
#line 1987 "ext/date/lib/parse_date.re"
|
||||
#line 1984 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
s->pos = cursor; s->line++;
|
||||
goto std;
|
||||
}
|
||||
#line 1215 "ext/date/lib/parse_date.c"
|
||||
#line 1212 "<stdout>"
|
||||
yy4:
|
||||
YYDEBUG(4, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
yy5:
|
||||
YYDEBUG(5, *YYCURSOR);
|
||||
#line 1993 "ext/date/lib/parse_date.re"
|
||||
#line 1990 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
add_error(s, TIMELIB_ERR_UNEXPECTED_CHARACTER, "Unexpected character");
|
||||
goto std;
|
||||
}
|
||||
#line 1226 "ext/date/lib/parse_date.c"
|
||||
#line 1223 "<stdout>"
|
||||
yy6:
|
||||
YYDEBUG(6, *YYCURSOR);
|
||||
yyaccept = 0;
|
||||
@@ -1237,11 +1234,11 @@ yy6:
|
||||
if (yych <= '9') goto yy58;
|
||||
yy8:
|
||||
YYDEBUG(8, *YYCURSOR);
|
||||
#line 1982 "ext/date/lib/parse_date.re"
|
||||
#line 1979 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
goto std;
|
||||
}
|
||||
#line 1245 "ext/date/lib/parse_date.c"
|
||||
#line 1242 "<stdout>"
|
||||
yy9:
|
||||
YYDEBUG(9, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -1275,11 +1272,11 @@ yy11:
|
||||
YYDEBUG(11, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(12, *YYCURSOR);
|
||||
#line 1977 "ext/date/lib/parse_date.re"
|
||||
#line 1974 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
goto std;
|
||||
}
|
||||
#line 1283 "ext/date/lib/parse_date.c"
|
||||
#line 1280 "<stdout>"
|
||||
yy13:
|
||||
YYDEBUG(13, *YYCURSOR);
|
||||
yyaccept = 1;
|
||||
@@ -1780,7 +1777,7 @@ yy19:
|
||||
}
|
||||
yy20:
|
||||
YYDEBUG(20, *YYCURSOR);
|
||||
#line 1892 "ext/date/lib/parse_date.re"
|
||||
#line 1889 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int tz_not_found;
|
||||
DEBUG_OUTPUT("tzcorrection | tz");
|
||||
@@ -1794,7 +1791,7 @@ yy20:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_TIMEZONE;
|
||||
}
|
||||
#line 1798 "ext/date/lib/parse_date.c"
|
||||
#line 1795 "<stdout>"
|
||||
yy21:
|
||||
YYDEBUG(21, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -3599,7 +3596,7 @@ yy80:
|
||||
}
|
||||
yy81:
|
||||
YYDEBUG(81, *YYCURSOR);
|
||||
#line 1639 "ext/date/lib/parse_date.re"
|
||||
#line 1636 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("datenoyearrev");
|
||||
TIMELIB_INIT;
|
||||
@@ -3610,7 +3607,7 @@ yy81:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_TEXT;
|
||||
}
|
||||
#line 3614 "ext/date/lib/parse_date.c"
|
||||
#line 3611 "<stdout>"
|
||||
yy82:
|
||||
YYDEBUG(82, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -4125,7 +4122,7 @@ yy112:
|
||||
}
|
||||
if (yych == '.') goto yy289;
|
||||
YYDEBUG(114, *YYCURSOR);
|
||||
#line 1214 "ext/date/lib/parse_date.re"
|
||||
#line 1211 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_ull i;
|
||||
|
||||
@@ -4150,7 +4147,7 @@ yy112:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 4154 "ext/date/lib/parse_date.c"
|
||||
#line 4151 "<stdout>"
|
||||
yy115:
|
||||
YYDEBUG(115, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
@@ -5876,7 +5873,7 @@ yy176:
|
||||
}
|
||||
yy177:
|
||||
YYDEBUG(177, *YYCURSOR);
|
||||
#line 1380 "ext/date/lib/parse_date.re"
|
||||
#line 1377 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int tz_not_found;
|
||||
DEBUG_OUTPUT("timetiny24 | timeshort24 | timelong24 | iso8601long");
|
||||
@@ -5903,7 +5900,7 @@ yy177:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_TIME24_WITH_ZONE;
|
||||
}
|
||||
#line 5907 "ext/date/lib/parse_date.c"
|
||||
#line 5904 "<stdout>"
|
||||
yy178:
|
||||
YYDEBUG(178, *YYCURSOR);
|
||||
yyaccept = 4;
|
||||
@@ -6932,7 +6929,7 @@ yy223:
|
||||
}
|
||||
yy224:
|
||||
YYDEBUG(224, *YYCURSOR);
|
||||
#line 1474 "ext/date/lib/parse_date.re"
|
||||
#line 1471 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("americanshort | american");
|
||||
@@ -6947,7 +6944,7 @@ yy224:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_AMERICAN;
|
||||
}
|
||||
#line 6951 "ext/date/lib/parse_date.c"
|
||||
#line 6948 "<stdout>"
|
||||
yy225:
|
||||
YYDEBUG(225, *YYCURSOR);
|
||||
yyaccept = 5;
|
||||
@@ -7190,7 +7187,7 @@ yy250:
|
||||
if (yych <= '9') goto yy431;
|
||||
yy251:
|
||||
YYDEBUG(251, *YYCURSOR);
|
||||
#line 1556 "ext/date/lib/parse_date.re"
|
||||
#line 1553 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("datefull");
|
||||
@@ -7204,7 +7201,7 @@ yy251:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_FULL;
|
||||
}
|
||||
#line 7208 "ext/date/lib/parse_date.c"
|
||||
#line 7205 "<stdout>"
|
||||
yy252:
|
||||
YYDEBUG(252, *YYCURSOR);
|
||||
yyaccept = 3;
|
||||
@@ -7318,7 +7315,7 @@ yy259:
|
||||
if (yych == 'e') goto yy440;
|
||||
yy260:
|
||||
YYDEBUG(260, *YYCURSOR);
|
||||
#line 1961 "ext/date/lib/parse_date.re"
|
||||
#line 1958 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_ull i;
|
||||
DEBUG_OUTPUT("relative");
|
||||
@@ -7333,7 +7330,7 @@ yy260:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 7337 "ext/date/lib/parse_date.c"
|
||||
#line 7334 "<stdout>"
|
||||
yy261:
|
||||
YYDEBUG(261, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -7779,7 +7776,7 @@ yy289:
|
||||
if (yych <= '9') goto yy471;
|
||||
yy290:
|
||||
YYDEBUG(290, *YYCURSOR);
|
||||
#line 1240 "ext/date/lib/parse_date.re"
|
||||
#line 1237 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_sll i;
|
||||
timelib_ull us;
|
||||
@@ -7818,7 +7815,7 @@ yy290:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 7822 "ext/date/lib/parse_date.c"
|
||||
#line 7819 "<stdout>"
|
||||
yy291:
|
||||
YYDEBUG(291, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -7843,7 +7840,7 @@ yy292:
|
||||
}
|
||||
yy293:
|
||||
YYDEBUG(293, *YYCURSOR);
|
||||
#line 1802 "ext/date/lib/parse_date.re"
|
||||
#line 1799 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("ago");
|
||||
TIMELIB_INIT;
|
||||
@@ -7863,7 +7860,7 @@ yy293:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_AGO;
|
||||
}
|
||||
#line 7867 "ext/date/lib/parse_date.c"
|
||||
#line 7864 "<stdout>"
|
||||
yy294:
|
||||
YYDEBUG(294, *YYCURSOR);
|
||||
yyaccept = 7;
|
||||
@@ -7902,7 +7899,7 @@ yy294:
|
||||
}
|
||||
yy295:
|
||||
YYDEBUG(295, *YYCURSOR);
|
||||
#line 1882 "ext/date/lib/parse_date.re"
|
||||
#line 1879 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("monthtext");
|
||||
TIMELIB_INIT;
|
||||
@@ -7911,7 +7908,7 @@ yy295:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_TEXT;
|
||||
}
|
||||
#line 7915 "ext/date/lib/parse_date.c"
|
||||
#line 7912 "<stdout>"
|
||||
yy296:
|
||||
YYDEBUG(296, *YYCURSOR);
|
||||
yyaccept = 7;
|
||||
@@ -8486,7 +8483,7 @@ yy314:
|
||||
}
|
||||
yy315:
|
||||
YYDEBUG(315, *YYCURSOR);
|
||||
#line 1823 "ext/date/lib/parse_date.re"
|
||||
#line 1820 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
const timelib_relunit* relunit;
|
||||
DEBUG_OUTPUT("daytext");
|
||||
@@ -8503,7 +8500,7 @@ yy315:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_WEEKDAY;
|
||||
}
|
||||
#line 8507 "ext/date/lib/parse_date.c"
|
||||
#line 8504 "<stdout>"
|
||||
yy316:
|
||||
YYDEBUG(316, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -8771,7 +8768,7 @@ yy324:
|
||||
}
|
||||
yy325:
|
||||
YYDEBUG(325, *YYCURSOR);
|
||||
#line 1625 "ext/date/lib/parse_date.re"
|
||||
#line 1622 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("datetextual | datenoyear");
|
||||
@@ -8784,7 +8781,7 @@ yy325:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_TEXT;
|
||||
}
|
||||
#line 8788 "ext/date/lib/parse_date.c"
|
||||
#line 8785 "<stdout>"
|
||||
yy326:
|
||||
YYDEBUG(326, *YYCURSOR);
|
||||
yyaccept = 10;
|
||||
@@ -9478,7 +9475,7 @@ yy350:
|
||||
}
|
||||
yy351:
|
||||
YYDEBUG(351, *YYCURSOR);
|
||||
#line 1171 "ext/date/lib/parse_date.re"
|
||||
#line 1168 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("now");
|
||||
TIMELIB_INIT;
|
||||
@@ -9486,7 +9483,7 @@ yy351:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 9490 "ext/date/lib/parse_date.c"
|
||||
#line 9487 "<stdout>"
|
||||
yy352:
|
||||
YYDEBUG(352, *YYCURSOR);
|
||||
yyaccept = 2;
|
||||
@@ -10989,7 +10986,7 @@ yy419:
|
||||
}
|
||||
yy420:
|
||||
YYDEBUG(420, *YYCURSOR);
|
||||
#line 1408 "ext/date/lib/parse_date.re"
|
||||
#line 1405 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("gnunocolon");
|
||||
TIMELIB_INIT;
|
||||
@@ -11011,7 +11008,7 @@ yy420:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_GNU_NOCOLON;
|
||||
}
|
||||
#line 11015 "ext/date/lib/parse_date.c"
|
||||
#line 11012 "<stdout>"
|
||||
yy421:
|
||||
YYDEBUG(421, *YYCURSOR);
|
||||
yyaccept = 13;
|
||||
@@ -11092,7 +11089,7 @@ yy421:
|
||||
}
|
||||
yy422:
|
||||
YYDEBUG(422, *YYCURSOR);
|
||||
#line 1793 "ext/date/lib/parse_date.re"
|
||||
#line 1790 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("year4");
|
||||
TIMELIB_INIT;
|
||||
@@ -11100,7 +11097,7 @@ yy422:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_CLF;
|
||||
}
|
||||
#line 11104 "ext/date/lib/parse_date.c"
|
||||
#line 11101 "<stdout>"
|
||||
yy423:
|
||||
YYDEBUG(423, *YYCURSOR);
|
||||
yyaccept = 3;
|
||||
@@ -11707,7 +11704,7 @@ yy456:
|
||||
YYDEBUG(456, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(457, *YYCURSOR);
|
||||
#line 1342 "ext/date/lib/parse_date.re"
|
||||
#line 1339 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("timetiny12 | timeshort12 | timelong12");
|
||||
TIMELIB_INIT;
|
||||
@@ -11724,7 +11721,7 @@ yy456:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_TIME12;
|
||||
}
|
||||
#line 11728 "ext/date/lib/parse_date.c"
|
||||
#line 11725 "<stdout>"
|
||||
yy458:
|
||||
YYDEBUG(458, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -13051,7 +13048,7 @@ yy525:
|
||||
}
|
||||
yy526:
|
||||
YYDEBUG(526, *YYCURSOR);
|
||||
#line 1180 "ext/date/lib/parse_date.re"
|
||||
#line 1177 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("noon");
|
||||
TIMELIB_INIT;
|
||||
@@ -13062,7 +13059,7 @@ yy526:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 13066 "ext/date/lib/parse_date.c"
|
||||
#line 13063 "<stdout>"
|
||||
yy527:
|
||||
YYDEBUG(527, *YYCURSOR);
|
||||
yyaccept = 2;
|
||||
@@ -14108,7 +14105,7 @@ yy566:
|
||||
}
|
||||
yy567:
|
||||
YYDEBUG(567, *YYCURSOR);
|
||||
#line 1542 "ext/date/lib/parse_date.re"
|
||||
#line 1539 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("gnudateshort");
|
||||
@@ -14121,7 +14118,7 @@ yy567:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_DATE;
|
||||
}
|
||||
#line 14125 "ext/date/lib/parse_date.c"
|
||||
#line 14122 "<stdout>"
|
||||
yy568:
|
||||
YYDEBUG(568, *YYCURSOR);
|
||||
yyaccept = 15;
|
||||
@@ -14572,7 +14569,7 @@ yy599:
|
||||
}
|
||||
yy600:
|
||||
YYDEBUG(600, *YYCURSOR);
|
||||
#line 1611 "ext/date/lib/parse_date.re"
|
||||
#line 1608 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("datenodayrev");
|
||||
@@ -14585,7 +14582,7 @@ yy600:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_NO_DAY;
|
||||
}
|
||||
#line 14589 "ext/date/lib/parse_date.c"
|
||||
#line 14586 "<stdout>"
|
||||
yy601:
|
||||
YYDEBUG(601, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -15960,7 +15957,7 @@ yy696:
|
||||
YYDEBUG(696, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(697, *YYCURSOR);
|
||||
#line 1597 "ext/date/lib/parse_date.re"
|
||||
#line 1594 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("datenoday");
|
||||
@@ -15973,7 +15970,7 @@ yy696:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_NO_DAY;
|
||||
}
|
||||
#line 15977 "ext/date/lib/parse_date.c"
|
||||
#line 15974 "<stdout>"
|
||||
yy698:
|
||||
YYDEBUG(698, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -16534,7 +16531,7 @@ yy721:
|
||||
}
|
||||
yy722:
|
||||
YYDEBUG(722, *YYCURSOR);
|
||||
#line 1192 "ext/date/lib/parse_date.re"
|
||||
#line 1189 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("midnight | today");
|
||||
TIMELIB_INIT;
|
||||
@@ -16543,7 +16540,7 @@ yy722:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 16547 "ext/date/lib/parse_date.c"
|
||||
#line 16544 "<stdout>"
|
||||
yy723:
|
||||
YYDEBUG(723, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -16853,7 +16850,7 @@ yy738:
|
||||
if (yych <= '9') goto yy897;
|
||||
yy739:
|
||||
YYDEBUG(739, *YYCURSOR);
|
||||
#line 1583 "ext/date/lib/parse_date.re"
|
||||
#line 1580 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("pointed date YY");
|
||||
@@ -16866,7 +16863,7 @@ yy739:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_FULL_POINTED;
|
||||
}
|
||||
#line 16870 "ext/date/lib/parse_date.c"
|
||||
#line 16867 "<stdout>"
|
||||
yy740:
|
||||
YYDEBUG(740, *YYCURSOR);
|
||||
yyaccept = 15;
|
||||
@@ -16978,7 +16975,7 @@ yy751:
|
||||
}
|
||||
yy752:
|
||||
YYDEBUG(752, *YYCURSOR);
|
||||
#line 1528 "ext/date/lib/parse_date.re"
|
||||
#line 1525 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("gnudateshorter");
|
||||
@@ -16991,7 +16988,7 @@ yy752:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_DATE;
|
||||
}
|
||||
#line 16995 "ext/date/lib/parse_date.c"
|
||||
#line 16992 "<stdout>"
|
||||
yy753:
|
||||
YYDEBUG(753, *YYCURSOR);
|
||||
yyaccept = 18;
|
||||
@@ -17240,7 +17237,7 @@ yy776:
|
||||
}
|
||||
yy777:
|
||||
YYDEBUG(777, *YYCURSOR);
|
||||
#line 1454 "ext/date/lib/parse_date.re"
|
||||
#line 1451 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int tz_not_found;
|
||||
DEBUG_OUTPUT("iso8601nocolon");
|
||||
@@ -17259,7 +17256,7 @@ yy777:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_NOCOLON;
|
||||
}
|
||||
#line 17263 "ext/date/lib/parse_date.c"
|
||||
#line 17260 "<stdout>"
|
||||
yy778:
|
||||
YYDEBUG(778, *YYCURSOR);
|
||||
yyaccept = 19;
|
||||
@@ -18487,7 +18484,7 @@ yy848:
|
||||
}
|
||||
yy849:
|
||||
YYDEBUG(849, *YYCURSOR);
|
||||
#line 1931 "ext/date/lib/parse_date.re"
|
||||
#line 1928 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int tz_not_found;
|
||||
DEBUG_OUTPUT("dateshortwithtimeshort | dateshortwithtimelong | dateshortwithtimelongtz");
|
||||
@@ -18516,7 +18513,7 @@ yy849:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_SHORTDATE_WITH_TIME;
|
||||
}
|
||||
#line 18520 "ext/date/lib/parse_date.c"
|
||||
#line 18517 "<stdout>"
|
||||
yy850:
|
||||
YYDEBUG(850, *YYCURSOR);
|
||||
yyaccept = 20;
|
||||
@@ -19560,7 +19557,7 @@ yy925:
|
||||
}
|
||||
yy926:
|
||||
YYDEBUG(926, *YYCURSOR);
|
||||
#line 1689 "ext/date/lib/parse_date.re"
|
||||
#line 1686 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("pgydotd");
|
||||
@@ -19573,7 +19570,7 @@ yy926:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_PG_YEARDAY;
|
||||
}
|
||||
#line 19577 "ext/date/lib/parse_date.c"
|
||||
#line 19574 "<stdout>"
|
||||
yy927:
|
||||
YYDEBUG(927, *YYCURSOR);
|
||||
yyaccept = 21;
|
||||
@@ -19827,7 +19824,7 @@ yy941:
|
||||
if (yych <= '7') goto yy1059;
|
||||
yy942:
|
||||
YYDEBUG(942, *YYCURSOR);
|
||||
#line 1722 "ext/date/lib/parse_date.re"
|
||||
#line 1719 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_sll w, d;
|
||||
DEBUG_OUTPUT("isoweek");
|
||||
@@ -19845,7 +19842,7 @@ yy942:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_WEEK;
|
||||
}
|
||||
#line 19849 "ext/date/lib/parse_date.c"
|
||||
#line 19846 "<stdout>"
|
||||
yy943:
|
||||
YYDEBUG(943, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -20321,7 +20318,7 @@ yy981:
|
||||
if (yych == 'e') goto yy1094;
|
||||
yy982:
|
||||
YYDEBUG(982, *YYCURSOR);
|
||||
#line 1865 "ext/date/lib/parse_date.re"
|
||||
#line 1862 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_sll i;
|
||||
int behavior = 0;
|
||||
@@ -20337,7 +20334,7 @@ yy982:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 20341 "ext/date/lib/parse_date.c"
|
||||
#line 20338 "<stdout>"
|
||||
yy983:
|
||||
YYDEBUG(983, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -20684,7 +20681,7 @@ yy1020:
|
||||
YYDEBUG(1020, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1021, *YYCURSOR);
|
||||
#line 1571 "ext/date/lib/parse_date.re"
|
||||
#line 1568 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("pointed date YYYY");
|
||||
TIMELIB_INIT;
|
||||
@@ -20695,7 +20692,7 @@ yy1020:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_FULL_POINTED;
|
||||
}
|
||||
#line 20699 "ext/date/lib/parse_date.c"
|
||||
#line 20696 "<stdout>"
|
||||
yy1022:
|
||||
YYDEBUG(1022, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
@@ -20724,7 +20721,7 @@ yy1024:
|
||||
}
|
||||
yy1025:
|
||||
YYDEBUG(1025, *YYCURSOR);
|
||||
#line 1502 "ext/date/lib/parse_date.re"
|
||||
#line 1499 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("iso8601date2");
|
||||
@@ -20737,7 +20734,7 @@ yy1025:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_DATE;
|
||||
}
|
||||
#line 20741 "ext/date/lib/parse_date.c"
|
||||
#line 20738 "<stdout>"
|
||||
yy1026:
|
||||
YYDEBUG(1026, *YYCURSOR);
|
||||
yyaccept = 15;
|
||||
@@ -20957,7 +20954,7 @@ yy1042:
|
||||
}
|
||||
yy1043:
|
||||
YYDEBUG(1043, *YYCURSOR);
|
||||
#line 1490 "ext/date/lib/parse_date.re"
|
||||
#line 1487 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("iso8601date4 | iso8601date2 | iso8601dateslash | dateslash");
|
||||
TIMELIB_INIT;
|
||||
@@ -20968,7 +20965,7 @@ yy1043:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_DATE;
|
||||
}
|
||||
#line 20972 "ext/date/lib/parse_date.c"
|
||||
#line 20969 "<stdout>"
|
||||
yy1044:
|
||||
YYDEBUG(1044, *YYCURSOR);
|
||||
yyaccept = 26;
|
||||
@@ -21083,7 +21080,7 @@ yy1047:
|
||||
}
|
||||
yy1048:
|
||||
YYDEBUG(1048, *YYCURSOR);
|
||||
#line 1651 "ext/date/lib/parse_date.re"
|
||||
#line 1648 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("datenocolon");
|
||||
TIMELIB_INIT;
|
||||
@@ -21094,7 +21091,7 @@ yy1048:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_DATE_NOCOLON;
|
||||
}
|
||||
#line 21098 "ext/date/lib/parse_date.c"
|
||||
#line 21095 "<stdout>"
|
||||
yy1049:
|
||||
YYDEBUG(1049, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -21164,7 +21161,7 @@ yy1059:
|
||||
YYDEBUG(1059, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1060, *YYCURSOR);
|
||||
#line 1703 "ext/date/lib/parse_date.re"
|
||||
#line 1700 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_sll w, d;
|
||||
DEBUG_OUTPUT("isoweekday");
|
||||
@@ -21182,7 +21179,7 @@ yy1059:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_WEEK;
|
||||
}
|
||||
#line 21186 "ext/date/lib/parse_date.c"
|
||||
#line 21183 "<stdout>"
|
||||
yy1061:
|
||||
YYDEBUG(1061, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -21245,7 +21242,7 @@ yy1069:
|
||||
if (yych <= '9') goto yy1143;
|
||||
yy1070:
|
||||
YYDEBUG(1070, *YYCURSOR);
|
||||
#line 1741 "ext/date/lib/parse_date.re"
|
||||
#line 1738 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("pgtextshort");
|
||||
@@ -21258,7 +21255,7 @@ yy1070:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_PG_TEXT;
|
||||
}
|
||||
#line 21262 "ext/date/lib/parse_date.c"
|
||||
#line 21259 "<stdout>"
|
||||
yy1071:
|
||||
YYDEBUG(1071, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -21731,7 +21728,7 @@ yy1106:
|
||||
++YYCURSOR;
|
||||
yy1107:
|
||||
YYDEBUG(1107, *YYCURSOR);
|
||||
#line 1202 "ext/date/lib/parse_date.re"
|
||||
#line 1199 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("tomorrow");
|
||||
TIMELIB_INIT;
|
||||
@@ -21742,7 +21739,7 @@ yy1107:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 21746 "ext/date/lib/parse_date.c"
|
||||
#line 21743 "<stdout>"
|
||||
yy1108:
|
||||
YYDEBUG(1108, *YYCURSOR);
|
||||
yyaccept = 28;
|
||||
@@ -22079,7 +22076,7 @@ yy1140:
|
||||
YYDEBUG(1140, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1141, *YYCURSOR);
|
||||
#line 1755 "ext/date/lib/parse_date.re"
|
||||
#line 1752 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int length = 0;
|
||||
DEBUG_OUTPUT("pgtextreverse");
|
||||
@@ -22092,7 +22089,7 @@ yy1140:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_PG_TEXT;
|
||||
}
|
||||
#line 22096 "ext/date/lib/parse_date.c"
|
||||
#line 22093 "<stdout>"
|
||||
yy1142:
|
||||
YYDEBUG(1142, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
@@ -22136,7 +22133,7 @@ yy1144:
|
||||
}
|
||||
yy1145:
|
||||
YYDEBUG(1145, *YYCURSOR);
|
||||
#line 1297 "ext/date/lib/parse_date.re"
|
||||
#line 1294 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("backof | frontof");
|
||||
TIMELIB_INIT;
|
||||
@@ -22158,7 +22155,7 @@ yy1145:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_LF_DAY_OF_MONTH;
|
||||
}
|
||||
#line 22162 "ext/date/lib/parse_date.c"
|
||||
#line 22159 "<stdout>"
|
||||
yy1146:
|
||||
YYDEBUG(1146, *YYCURSOR);
|
||||
yyaccept = 29;
|
||||
@@ -22482,7 +22479,7 @@ yy1171:
|
||||
}
|
||||
yy1172:
|
||||
YYDEBUG(1172, *YYCURSOR);
|
||||
#line 1841 "ext/date/lib/parse_date.re"
|
||||
#line 1838 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_sll i;
|
||||
int behavior = 0;
|
||||
@@ -22505,7 +22502,7 @@ yy1172:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 22509 "ext/date/lib/parse_date.c"
|
||||
#line 22506 "<stdout>"
|
||||
yy1173:
|
||||
YYDEBUG(1173, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -22517,7 +22514,7 @@ yy1174:
|
||||
++YYCURSOR;
|
||||
yy1175:
|
||||
YYDEBUG(1175, *YYCURSOR);
|
||||
#line 1159 "ext/date/lib/parse_date.re"
|
||||
#line 1156 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("yesterday");
|
||||
TIMELIB_INIT;
|
||||
@@ -22528,7 +22525,7 @@ yy1175:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_RELATIVE;
|
||||
}
|
||||
#line 22532 "ext/date/lib/parse_date.c"
|
||||
#line 22529 "<stdout>"
|
||||
yy1176:
|
||||
YYDEBUG(1176, *YYCURSOR);
|
||||
yyaccept = 31;
|
||||
@@ -23021,7 +23018,7 @@ yy1222:
|
||||
YYDEBUG(1222, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1223, *YYCURSOR);
|
||||
#line 1907 "ext/date/lib/parse_date.re"
|
||||
#line 1904 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("dateshortwithtimeshort12 | dateshortwithtimelong12");
|
||||
TIMELIB_INIT;
|
||||
@@ -23044,7 +23041,7 @@ yy1222:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_SHORTDATE_WITH_TIME;
|
||||
}
|
||||
#line 23048 "ext/date/lib/parse_date.c"
|
||||
#line 23045 "<stdout>"
|
||||
yy1224:
|
||||
YYDEBUG(1224, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -23546,7 +23543,7 @@ yy1268:
|
||||
YYDEBUG(1268, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1269, *YYCURSOR);
|
||||
#line 1320 "ext/date/lib/parse_date.re"
|
||||
#line 1317 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
timelib_sll i;
|
||||
int behavior = 0;
|
||||
@@ -23567,7 +23564,7 @@ yy1268:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_WEEK_DAY_OF_MONTH;
|
||||
}
|
||||
#line 23571 "ext/date/lib/parse_date.c"
|
||||
#line 23568 "<stdout>"
|
||||
yy1270:
|
||||
YYDEBUG(1270, *YYCURSOR);
|
||||
yyaccept = 24;
|
||||
@@ -23614,7 +23611,7 @@ yy1273:
|
||||
YYDEBUG(1273, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1274, *YYCURSOR);
|
||||
#line 1280 "ext/date/lib/parse_date.re"
|
||||
#line 1277 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("firstdayof | lastdayof");
|
||||
TIMELIB_INIT;
|
||||
@@ -23630,12 +23627,12 @@ yy1273:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_LF_DAY_OF_MONTH;
|
||||
}
|
||||
#line 23634 "ext/date/lib/parse_date.c"
|
||||
#line 23631 "<stdout>"
|
||||
yy1275:
|
||||
YYDEBUG(1275, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1276, *YYCURSOR);
|
||||
#line 1516 "ext/date/lib/parse_date.re"
|
||||
#line 1513 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("iso8601datex");
|
||||
TIMELIB_INIT;
|
||||
@@ -23646,7 +23643,7 @@ yy1275:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_DATE;
|
||||
}
|
||||
#line 23650 "ext/date/lib/parse_date.c"
|
||||
#line 23647 "<stdout>"
|
||||
yy1277:
|
||||
YYDEBUG(1277, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -23749,7 +23746,7 @@ yy1290:
|
||||
YYDEBUG(1290, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
YYDEBUG(1291, *YYCURSOR);
|
||||
#line 1360 "ext/date/lib/parse_date.re"
|
||||
#line 1357 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
DEBUG_OUTPUT("mssqltime");
|
||||
TIMELIB_INIT;
|
||||
@@ -23768,7 +23765,7 @@ yy1290:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_TIME24_WITH_ZONE;
|
||||
}
|
||||
#line 23772 "ext/date/lib/parse_date.c"
|
||||
#line 23769 "<stdout>"
|
||||
yy1292:
|
||||
YYDEBUG(1292, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -24192,7 +24189,7 @@ yy1328:
|
||||
if (yych <= '9') goto yy1331;
|
||||
yy1329:
|
||||
YYDEBUG(1329, *YYCURSOR);
|
||||
#line 1663 "ext/date/lib/parse_date.re"
|
||||
#line 1660 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int tz_not_found;
|
||||
DEBUG_OUTPUT("xmlrpc | xmlrpcnocolon | soap | wddx | exif");
|
||||
@@ -24217,7 +24214,7 @@ yy1329:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_XMLRPC_SOAP;
|
||||
}
|
||||
#line 24221 "ext/date/lib/parse_date.c"
|
||||
#line 24218 "<stdout>"
|
||||
yy1330:
|
||||
YYDEBUG(1330, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -24587,7 +24584,7 @@ yy1374:
|
||||
if (yych <= ':') goto yy1383;
|
||||
yy1375:
|
||||
YYDEBUG(1375, *YYCURSOR);
|
||||
#line 1769 "ext/date/lib/parse_date.re"
|
||||
#line 1766 "ext/date/lib/parse_date.re"
|
||||
{
|
||||
int tz_not_found;
|
||||
DEBUG_OUTPUT("clf");
|
||||
@@ -24610,7 +24607,7 @@ yy1375:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_CLF;
|
||||
}
|
||||
#line 24614 "ext/date/lib/parse_date.c"
|
||||
#line 24611 "<stdout>"
|
||||
yy1376:
|
||||
YYDEBUG(1376, *YYCURSOR);
|
||||
yyaccept = 33;
|
||||
@@ -24842,7 +24839,7 @@ yy1406:
|
||||
if (yych == ':') goto yy1286;
|
||||
goto yy1329;
|
||||
}
|
||||
#line 1997 "ext/date/lib/parse_date.re"
|
||||
#line 1994 "ext/date/lib/parse_date.re"
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -939,12 +939,10 @@ timelib_long timelib_parse_zone(const char **ptr, int *dst, timelib_time *t, int
|
||||
{
|
||||
timelib_tzinfo *res;
|
||||
timelib_long retval = 0;
|
||||
size_t paren_count = 0;
|
||||
|
||||
*tz_not_found = 0;
|
||||
|
||||
while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') {
|
||||
paren_count += **ptr == '(';
|
||||
++*ptr;
|
||||
}
|
||||
if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) {
|
||||
@@ -993,9 +991,8 @@ timelib_long timelib_parse_zone(const char **ptr, int *dst, timelib_time *t, int
|
||||
*tz_not_found = (found == 0);
|
||||
retval = offset;
|
||||
}
|
||||
while (paren_count > 0 && **ptr == ')') {
|
||||
while (**ptr == ')') {
|
||||
++*ptr;
|
||||
paren_count--;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Generated by re2c 1.0.3 on Mon Sep 15 10:38:16 2025 */
|
||||
/* Generated by re2c 1.0.3 on Wed Sep 11 17:29:40 2024 */
|
||||
#line 1 "ext/date/lib/parse_iso_intervals.re"
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
@@ -180,7 +180,7 @@ std:
|
||||
|
||||
|
||||
|
||||
#line 184 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 184 "<stdout>"
|
||||
{
|
||||
YYCTYPE yych;
|
||||
unsigned int yyaccept = 0;
|
||||
@@ -252,7 +252,7 @@ yy2:
|
||||
s->pos = cursor; s->line++;
|
||||
goto std;
|
||||
}
|
||||
#line 256 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 256 "<stdout>"
|
||||
yy4:
|
||||
YYDEBUG(4, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
@@ -263,7 +263,7 @@ yy5:
|
||||
add_error(s, "Unexpected character");
|
||||
goto std;
|
||||
}
|
||||
#line 267 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 267 "<stdout>"
|
||||
yy6:
|
||||
YYDEBUG(6, *YYCURSOR);
|
||||
++YYCURSOR;
|
||||
@@ -272,7 +272,7 @@ yy6:
|
||||
{
|
||||
goto std;
|
||||
}
|
||||
#line 276 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 276 "<stdout>"
|
||||
yy8:
|
||||
YYDEBUG(8, *YYCURSOR);
|
||||
yyaccept = 0;
|
||||
@@ -330,7 +330,7 @@ yy10:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_PERIOD;
|
||||
}
|
||||
#line 334 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 334 "<stdout>"
|
||||
yy11:
|
||||
YYDEBUG(11, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -399,7 +399,7 @@ yy16:
|
||||
s->have_recurrences = 1;
|
||||
return TIMELIB_PERIOD;
|
||||
}
|
||||
#line 403 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 403 "<stdout>"
|
||||
yy19:
|
||||
YYDEBUG(19, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -917,7 +917,7 @@ yy89:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_ISO_DATE;
|
||||
}
|
||||
#line 921 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 921 "<stdout>"
|
||||
yy91:
|
||||
YYDEBUG(91, *YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
@@ -956,7 +956,7 @@ yy91:
|
||||
TIMELIB_DEINIT;
|
||||
return TIMELIB_PERIOD;
|
||||
}
|
||||
#line 960 "ext/date/lib/parse_iso_intervals.c"
|
||||
#line 960 "<stdout>"
|
||||
}
|
||||
#line 321 "ext/date/lib/parse_iso_intervals.re"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2015-2025 Derick Rethans
|
||||
* Copyright (c) 2015-2024 Derick Rethans
|
||||
* Copyright (c) 2018,2021 MongoDB, Inc.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
@@ -30,9 +30,9 @@
|
||||
# include "timelib_config.h"
|
||||
#endif
|
||||
|
||||
#define TIMELIB_VERSION 202214
|
||||
#define TIMELIB_EXTENDED_VERSION 20221401
|
||||
#define TIMELIB_ASCII_VERSION "2022.14"
|
||||
#define TIMELIB_VERSION 202212
|
||||
#define TIMELIB_EXTENDED_VERSION 20221201
|
||||
#define TIMELIB_ASCII_VERSION "2022.12"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
Reference in New Issue
Block a user