File tree 3 files changed +16
-16
lines changed
3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
- /* Generated by re2c 0.9.8.dev on Wed Jun 15 12:56:03 2005 */
1
+ /* Generated by re2c 0.9.8.dev on Thu Jun 16 15:24:58 2005 */
2
2
#line 1 "parse_date.re"
3
3
/*
4
4
+----------------------------------------------------------------------+
@@ -528,11 +528,11 @@ static long timelib_parse_tz_cor(char **ptr)
528
528
return 0 ;
529
529
}
530
530
531
- static long timelib_lookup_relative_text (char * * ptr )
531
+ static timelib_sll timelib_lookup_relative_text (char * * ptr )
532
532
{
533
533
char * word ;
534
534
char * begin = * ptr , * end ;
535
- long value = 0 ;
535
+ timelib_sll value = 0 ;
536
536
const timelib_lookup_table * tp ;
537
537
538
538
while ((* * ptr >= 'A' && * * ptr <= 'Z' ) || (* * ptr >= 'a' && * * ptr <= 'z' )) {
@@ -552,7 +552,7 @@ static long timelib_lookup_relative_text(char **ptr)
552
552
return value ;
553
553
}
554
554
555
- static long timelib_get_relative_text (char * * ptr )
555
+ static timelib_sll timelib_get_relative_text (char * * ptr )
556
556
{
557
557
while (* * ptr == ' ' || * * ptr == '-' || * * ptr == '/' ) {
558
558
++ * ptr ;
@@ -623,7 +623,7 @@ static const timelib_relunit* timelib_lookup_relunit(char **ptr)
623
623
return value ;
624
624
}
625
625
626
- static void timelib_set_relative (char * * ptr , timelib_ull amount , Scanner * s )
626
+ static void timelib_set_relative (char * * ptr , timelib_sll amount , Scanner * s )
627
627
{
628
628
const timelib_relunit * relunit ;
629
629
@@ -3128,7 +3128,7 @@ static int scan(Scanner *s)
3128
3128
3129
3129
#line 1226 "parse_date.re"
3130
3130
{
3131
- long i ;
3131
+ timelib_sll i ;
3132
3132
3133
3133
TIMELIB_INIT ;
3134
3134
TIMELIB_HAVE_RELATIVE ();
Original file line number Diff line number Diff line change @@ -526,11 +526,11 @@ static long timelib_parse_tz_cor(char **ptr)
526
526
return 0 ;
527
527
}
528
528
529
- static long timelib_lookup_relative_text (char * * ptr )
529
+ static timelib_sll timelib_lookup_relative_text (char * * ptr )
530
530
{
531
531
char * word ;
532
532
char * begin = * ptr , * end ;
533
- long value = 0 ;
533
+ timelib_sll value = 0 ;
534
534
const timelib_lookup_table * tp ;
535
535
536
536
while ((* * ptr >= 'A' && * * ptr <= 'Z' ) || (* * ptr >= 'a' && * * ptr <= 'z' )) {
@@ -550,7 +550,7 @@ static long timelib_lookup_relative_text(char **ptr)
550
550
return value ;
551
551
}
552
552
553
- static long timelib_get_relative_text (char * * ptr )
553
+ static timelib_sll timelib_get_relative_text (char * * ptr )
554
554
{
555
555
while (* * ptr == ' ' || * * ptr == '-' || * * ptr == '/' ) {
556
556
++ * ptr ;
@@ -621,7 +621,7 @@ static const timelib_relunit* timelib_lookup_relunit(char **ptr)
621
621
return value ;
622
622
}
623
623
624
- static void timelib_set_relative (char * * ptr , timelib_ull amount , Scanner * s )
624
+ static void timelib_set_relative (char * * ptr , timelib_sll amount , Scanner * s )
625
625
{
626
626
const timelib_relunit * relunit ;
627
627
@@ -1224,7 +1224,7 @@ relativetext = (reltextnumber space reltextunit)+;
1224
1224
1225
1225
relativetext
1226
1226
{
1227
- long i ;
1227
+ timelib_sll i ;
1228
1228
1229
1229
TIMELIB_INIT ;
1230
1230
TIMELIB_HAVE_RELATIVE ();
Original file line number Diff line number Diff line change @@ -526,11 +526,11 @@ static long timelib_parse_tz_cor(char **ptr)
526
526
return 0 ;
527
527
}
528
528
529
- static long timelib_lookup_relative_text (char * * ptr )
529
+ static timelib_sll timelib_lookup_relative_text (char * * ptr )
530
530
{
531
531
char * word ;
532
532
char * begin = * ptr , * end ;
533
- long value = 0 ;
533
+ timelib_sll value = 0 ;
534
534
const timelib_lookup_table * tp ;
535
535
536
536
while ((* * ptr >= 'A' && * * ptr <= 'Z' ) || (* * ptr >= 'a' && * * ptr <= 'z' )) {
@@ -550,7 +550,7 @@ static long timelib_lookup_relative_text(char **ptr)
550
550
return value ;
551
551
}
552
552
553
- static long timelib_get_relative_text (char * * ptr )
553
+ static timelib_sll timelib_get_relative_text (char * * ptr )
554
554
{
555
555
while (* * ptr == ' ' || * * ptr == '-' || * * ptr == '/' ) {
556
556
++ * ptr ;
@@ -621,7 +621,7 @@ static const timelib_relunit* timelib_lookup_relunit(char **ptr)
621
621
return value ;
622
622
}
623
623
624
- static void timelib_set_relative (char * * ptr , timelib_ull amount , Scanner * s )
624
+ static void timelib_set_relative (char * * ptr , timelib_sll amount , Scanner * s )
625
625
{
626
626
const timelib_relunit * relunit ;
627
627
@@ -1224,7 +1224,7 @@ relativetext = (reltextnumber space reltextunit)+;
1224
1224
1225
1225
relativetext
1226
1226
{
1227
- long i ;
1227
+ timelib_sll i ;
1228
1228
1229
1229
TIMELIB_INIT ;
1230
1230
TIMELIB_HAVE_RELATIVE ();
You can’t perform that action at this time.
0 commit comments