summaryrefslogtreecommitdiff
path: root/ext/date/lib/parse_iso_intervals.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/lib/parse_iso_intervals.c')
-rw-r--r--ext/date/lib/parse_iso_intervals.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/ext/date/lib/parse_iso_intervals.c b/ext/date/lib/parse_iso_intervals.c
index 55e8d1f124..7d1de0dde9 100644
--- a/ext/date/lib/parse_iso_intervals.c
+++ b/ext/date/lib/parse_iso_intervals.c
@@ -1,5 +1,5 @@
/* Generated by re2c 0.13.5 on Thu Aug 13 10:30:12 2015 */
-#line 1 "parse_iso_intervals.re"
+#line 1 "ext/date/lib/parse_iso_intervals.re"
/*
* The MIT License (MIT)
*
@@ -254,11 +254,11 @@ static int scan(Scanner *s)
std:
s->tok = cursor;
s->len = 0;
-#line 282 "parse_iso_intervals.re"
+#line 282 "ext/date/lib/parse_iso_intervals.re"
-#line 262 "<stdout>"
+#line 262 "ext/date/lib/parse_iso_intervals.c"
{
YYCTYPE yych;
unsigned int yyaccept = 0;
@@ -325,12 +325,12 @@ std:
if ((yych = *YYCURSOR) <= '/') goto yy3;
if (yych <= '9') goto yy98;
yy3:
-#line 395 "parse_iso_intervals.re"
+#line 395 "ext/date/lib/parse_iso_intervals.re"
{
add_error(s, "Unexpected character");
goto std;
}
-#line 334 "<stdout>"
+#line 334 "ext/date/lib/parse_iso_intervals.c"
yy4:
yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
@@ -344,7 +344,7 @@ yy5:
if (yych <= '9') goto yy12;
if (yych == 'T') goto yy14;
yy6:
-#line 322 "parse_iso_intervals.re"
+#line 322 "ext/date/lib/parse_iso_intervals.re"
{
timelib_sll nr;
int in_time = 0;
@@ -385,22 +385,22 @@ yy6:
TIMELIB_DEINIT;
return TIMELIB_PERIOD;
}
-#line 389 "<stdout>"
+#line 389 "ext/date/lib/parse_iso_intervals.c"
yy7:
++YYCURSOR;
-#line 384 "parse_iso_intervals.re"
+#line 384 "ext/date/lib/parse_iso_intervals.re"
{
goto std;
}
-#line 396 "<stdout>"
+#line 396 "ext/date/lib/parse_iso_intervals.c"
yy9:
++YYCURSOR;
-#line 389 "parse_iso_intervals.re"
+#line 389 "ext/date/lib/parse_iso_intervals.re"
{
s->pos = cursor; s->line++;
goto std;
}
-#line 404 "<stdout>"
+#line 404 "ext/date/lib/parse_iso_intervals.c"
yy11:
yych = *++YYCURSOR;
goto yy3;
@@ -682,7 +682,7 @@ yy51:
if (yych <= '/') goto yy13;
if (yych >= ':') goto yy13;
++YYCURSOR;
-#line 364 "parse_iso_intervals.re"
+#line 364 "ext/date/lib/parse_iso_intervals.re"
{
DEBUG_OUTPUT("combinedrep");
TIMELIB_INIT;
@@ -701,7 +701,7 @@ yy51:
TIMELIB_DEINIT;
return TIMELIB_PERIOD;
}
-#line 705 "<stdout>"
+#line 705 "ext/date/lib/parse_iso_intervals.c"
yy59:
yych = *++YYCURSOR;
if (yych <= '/') goto yy13;
@@ -804,7 +804,7 @@ yy76:
if (yych != 'Z') goto yy13;
yy83:
++YYCURSOR;
-#line 298 "parse_iso_intervals.re"
+#line 298 "ext/date/lib/parse_iso_intervals.re"
{
timelib_time *current;
@@ -827,7 +827,7 @@ yy83:
TIMELIB_DEINIT;
return TIMELIB_ISO_DATE;
}
-#line 831 "<stdout>"
+#line 831 "ext/date/lib/parse_iso_intervals.c"
yy85:
yych = *++YYCURSOR;
if (yych <= '/') goto yy13;
@@ -889,7 +889,7 @@ yy98:
if (yych <= '/') goto yy100;
if (yych <= '9') goto yy98;
yy100:
-#line 287 "parse_iso_intervals.re"
+#line 287 "ext/date/lib/parse_iso_intervals.re"
{
DEBUG_OUTPUT("recurrences");
TIMELIB_INIT;
@@ -899,9 +899,9 @@ yy100:
s->have_recurrences = 1;
return TIMELIB_PERIOD;
}
-#line 903 "<stdout>"
+#line 903 "ext/date/lib/parse_iso_intervals.c"
}
-#line 399 "parse_iso_intervals.re"
+#line 399 "ext/date/lib/parse_iso_intervals.re"
}
#ifdef PHP_WIN32