-/* Generated by re2c 0.9.8.dev on Wed Jun 15 12:56:03 2005 */
+/* Generated by re2c 0.9.8.dev on Thu Jun 16 15:24:58 2005 */
#line 1 "parse_date.re"
/*
+----------------------------------------------------------------------+
return 0;
}
-static long timelib_lookup_relative_text(char **ptr)
+static timelib_sll timelib_lookup_relative_text(char **ptr)
{
char *word;
char *begin = *ptr, *end;
- long value = 0;
+ timelib_sll value = 0;
const timelib_lookup_table *tp;
while ((**ptr >= 'A' && **ptr <= 'Z') || (**ptr >= 'a' && **ptr <= 'z')) {
return value;
}
-static long timelib_get_relative_text(char **ptr)
+static timelib_sll timelib_get_relative_text(char **ptr)
{
while (**ptr == ' ' || **ptr == '-' || **ptr == '/') {
++*ptr;
return value;
}
-static void timelib_set_relative(char **ptr, timelib_ull amount, Scanner *s)
+static void timelib_set_relative(char **ptr, timelib_sll amount, Scanner *s)
{
const timelib_relunit* relunit;
#line 1226 "parse_date.re"
{
- long i;
+ timelib_sll i;
TIMELIB_INIT;
TIMELIB_HAVE_RELATIVE();
return 0;
}
-static long timelib_lookup_relative_text(char **ptr)
+static timelib_sll timelib_lookup_relative_text(char **ptr)
{
char *word;
char *begin = *ptr, *end;
- long value = 0;
+ timelib_sll value = 0;
const timelib_lookup_table *tp;
while ((**ptr >= 'A' && **ptr <= 'Z') || (**ptr >= 'a' && **ptr <= 'z')) {
return value;
}
-static long timelib_get_relative_text(char **ptr)
+static timelib_sll timelib_get_relative_text(char **ptr)
{
while (**ptr == ' ' || **ptr == '-' || **ptr == '/') {
++*ptr;
return value;
}
-static void timelib_set_relative(char **ptr, timelib_ull amount, Scanner *s)
+static void timelib_set_relative(char **ptr, timelib_sll amount, Scanner *s)
{
const timelib_relunit* relunit;
relativetext
{
- long i;
+ timelib_sll i;
TIMELIB_INIT;
TIMELIB_HAVE_RELATIVE();
return 0;
}
-static long timelib_lookup_relative_text(char **ptr)
+static timelib_sll timelib_lookup_relative_text(char **ptr)
{
char *word;
char *begin = *ptr, *end;
- long value = 0;
+ timelib_sll value = 0;
const timelib_lookup_table *tp;
while ((**ptr >= 'A' && **ptr <= 'Z') || (**ptr >= 'a' && **ptr <= 'z')) {
return value;
}
-static long timelib_get_relative_text(char **ptr)
+static timelib_sll timelib_get_relative_text(char **ptr)
{
while (**ptr == ' ' || **ptr == '-' || **ptr == '/') {
++*ptr;
return value;
}
-static void timelib_set_relative(char **ptr, timelib_ull amount, Scanner *s)
+static void timelib_set_relative(char **ptr, timelib_sll amount, Scanner *s)
{
const timelib_relunit* relunit;
relativetext
{
- long i;
+ timelib_sll i;
TIMELIB_INIT;
TIMELIB_HAVE_RELATIVE();