diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2020-06-29 13:13:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-29 14:07:33 +0000 |
commit | 3ea60282c8841c67d4e2f3a365b7f1640c84198c (patch) | |
tree | 2d4a8324aac5d490e7a8200803f01f4f99e7e15d /src | |
parent | 2d3367bd91ff4d2e61bb7a25b38769a6c68e5722 (diff) | |
download | mongo-3ea60282c8841c67d4e2f3a365b7f1640c84198c.tar.gz |
Revert "SERVER-44278 Upgrade timelib to 2018.03"
This reverts commit 22d98e72ac45cd4e145d6b9b42099c5585727ec7.
Diffstat (limited to 'src')
-rw-r--r-- | src/third_party/SConscript | 2 | ||||
-rwxr-xr-x | src/third_party/scripts/timelib_get_sources.sh | 27 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/LICENSE.rst (renamed from src/third_party/timelib-2018.03/LICENSE.rst) | 4 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/Makefile (renamed from src/third_party/timelib-2018.03/Makefile) | 6 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/README.rst (renamed from src/third_party/timelib-2018.03/README.rst) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/SConscript (renamed from src/third_party/timelib-2018.03/SConscript) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/astro.c (renamed from src/third_party/timelib-2018.03/astro.c) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/astro.h (renamed from src/third_party/timelib-2018.03/astro.h) | 3 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/docs/date-from-iso-parts.c (renamed from src/third_party/timelib-2018.03/docs/date-from-iso-parts.c) | 6 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/docs/date-from-parts.c (renamed from src/third_party/timelib-2018.03/docs/date-from-parts.c) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/docs/date-from-string.c (renamed from src/third_party/timelib-2018.03/docs/date-from-string.c) | 6 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/docs/date-to-parts.c (renamed from src/third_party/timelib-2018.03/docs/date-to-parts.c) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/dow.c (renamed from src/third_party/timelib-2018.03/dow.c) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/fallbackmap.h (renamed from src/third_party/timelib-2018.03/fallbackmap.h) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/gettzmapping.php (renamed from src/third_party/timelib-2018.03/gettzmapping.php) | 6 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/interval.c (renamed from src/third_party/timelib-2018.03/interval.c) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/parse_date.c | 25622 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/parse_date.re (renamed from src/third_party/timelib-2018.03/parse_date.re) | 3 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/parse_iso_intervals.c (renamed from src/third_party/timelib-2018.03/parse_iso_intervals.c) | 791 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/parse_iso_intervals.re (renamed from src/third_party/timelib-2018.03/parse_iso_intervals.re) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/parse_tz.c (renamed from src/third_party/timelib-2018.03/parse_tz.c) | 12 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/parse_zoneinfo.c (renamed from src/third_party/timelib-2018.03/parse_zoneinfo.c) | 13 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/timelib.c (renamed from src/third_party/timelib-2018.03/timelib.c) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/timelib.h (renamed from src/third_party/timelib-2018.03/timelib.h) | 9 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/timelib.m4 | 80 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/timelib_private.h (renamed from src/third_party/timelib-2018.03/timelib_private.h) | 13 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/timezonedb.h (renamed from src/third_party/timelib-2018.03/timezonedb.h) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/timezonemap.h (renamed from src/third_party/timelib-2018.03/timezonemap.h) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/tm2unixtime.c (renamed from src/third_party/timelib-2018.03/tm2unixtime.c) | 18 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/unixtime2tm.c (renamed from src/third_party/timelib-2018.03/unixtime2tm.c) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/win_dirent.h (renamed from src/third_party/timelib-2018.03/win_dirent.h) | 27 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/Makefile (renamed from src/third_party/timelib-2018.03/zones/Makefile) | 18 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/README.rst (renamed from src/third_party/timelib-2018.03/zones/README.rst) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/build-idx.php (renamed from src/third_party/timelib-2018.03/zones/build-idx.php) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/create-entry.php (renamed from src/third_party/timelib-2018.03/zones/create-entry.php) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/create_dot_h_file.php (renamed from src/third_party/timelib-2018.03/zones/create_dot_h_file.php) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/sort-index.php (renamed from src/third_party/timelib-2018.03/zones/sort-index.php) | 2 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/update-package-version.php (renamed from src/third_party/timelib-2018.03/zones/update-package-version.php) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.01/zones/update-package-xml.php (renamed from src/third_party/timelib-2018.03/zones/update-package-xml.php) | 0 | ||||
-rw-r--r-- | src/third_party/timelib-2018.03/parse_date.c | 22825 |
40 files changed, 26198 insertions, 23309 deletions
diff --git a/src/third_party/SConscript b/src/third_party/SConscript index fb8aeb0da52..3dd1a5ab18b 100644 --- a/src/third_party/SConscript +++ b/src/third_party/SConscript @@ -20,7 +20,7 @@ mozjsSuffix = '-60' yamlSuffix = '-0.6.2' icuSuffix = '-57.1' gperftoolsSuffix = '-2.7' -timelibSuffix = '-2018.03' +timelibSuffix = '-2018.01' tomcryptSuffix = '-1.18.2' variantSuffix = '-1.4.0' diff --git a/src/third_party/scripts/timelib_get_sources.sh b/src/third_party/scripts/timelib_get_sources.sh index c2b919619d6..dc645881274 100755 --- a/src/third_party/scripts/timelib_get_sources.sh +++ b/src/third_party/scripts/timelib_get_sources.sh @@ -3,15 +3,22 @@ set -o verbose set -o errexit -# This script downloads and imports timelib. It is designed to run on Linux or Mac OS X +# This script downloads and imports timelib +# timelib does not use any autotools/cmake/config system to it is a simple import. -# timelib does not use any autotools/cmake/config system so it is a simple import. +# This script is designed to run on Linux or Mac OS X +# Parsers make use of re2c, which needs to be installed and be version 0.15.3 +# *only*. re2c 0.16 introduces an issues with clang which causes any date +# parser to hang. +# -VERSION=2018.03 +IS_WSL=$(grep -q Microsoft /proc/version) + +VERSION=2018.01 NAME=timelib TARBALL=$VERSION.tar.gz TARBALL_DIR=$NAME-$VERSION -if grep -q Microsoft /proc/version; then +if $IS_WSL; then TEMP_DIR=$(wslpath -u $(powershell.exe -Command "Get-ChildItem Env:TEMP | Get-Content | Write-Host")) else TEMP_DIR="/tmp" @@ -19,6 +26,18 @@ fi TEMP_DIR=$(mktemp -d $TEMP_DIR/$NAME.XXXXXX) DEST_DIR=`git rev-parse --show-toplevel`/src/third_party/$NAME-$VERSION +# Check prerequisites: re2c, wget +if ! [ -x "$(command -v re2c)" ]; then + echo 'Error: re2c is not installed.' >&2 + exit 1 +fi + +RE2C_VERSION=`re2c --version` +if ! [ "re2c 0.15.3" == "$RE2C_VERSION" ]; then + echo 'Error: re2c MUST be version 0.15.3.' >&2 + exit 1 +fi + if ! [ -x "$(command -v wget)" ]; then echo 'Error: wget is not installed.' >&2 exit 1 diff --git a/src/third_party/timelib-2018.03/LICENSE.rst b/src/third_party/timelib-2018.01/LICENSE.rst index 36898b306d1..70bf7b00bde 100644 --- a/src/third_party/timelib-2018.03/LICENSE.rst +++ b/src/third_party/timelib-2018.01/LICENSE.rst @@ -1,7 +1,7 @@ The MIT License (MIT) -Copyright (c) 2015-2019 Derick Rethans -Copyright (c) 2017-2019 MongoDB, Inc. +Copyright (c) 2015-2017 Derick Rethans +Copyright (c) 2017 MongoDB, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.03/Makefile b/src/third_party/timelib-2018.01/Makefile index 60c5f4d1df7..46b03b40d45 100644 --- a/src/third_party/timelib-2018.03/Makefile +++ b/src/third_party/timelib-2018.01/Makefile @@ -2,17 +2,17 @@ FLAGS=-O0 -ggdb3 \ -Wall -Werror -Wextra -fsanitize=undefined -fsanitize=address \ -Wmaybe-uninitialized -Wmissing-field-initializers -Wshadow -Wno-unused-parameter \ -pedantic -Wno-implicit-fallthrough \ - -DHAVE_STDINT_H -DHAVE_GETTIMEOFDAY -DHAVE_UNISTD_H -DHAVE_DIRENT_H -I.# -DDEBUG_PARSER + -DHAVE_STDINT_H -DHAVE_STRING_H -DHAVE_GETTIMEOFDAY -DHAVE_UNISTD_H -DHAVE_DIRENT_H -I.# -DDEBUG_PARSER CFLAGS=-Wdeclaration-after-statement ${FLAGS} CPPFLAGS=${FLAGS} -LDFLAGS=-lm -fsanitize=undefined -l:libubsan.so +LDFLAGS=-lm -fsanitize=undefined -l:libubsan.so.1 TEST_LDFLAGS=-lCppUTest -CC=gcc +CC=gcc-8 MANUAL_TESTS=tests/tester-parse-interval \ tests/tester-parse-tz tests/tester-iso-week tests/test-abbr-to-id \ tests/enumerate-timezones tests/date_from_isodate diff --git a/src/third_party/timelib-2018.03/README.rst b/src/third_party/timelib-2018.01/README.rst index a63dbc6ef3f..a63dbc6ef3f 100644 --- a/src/third_party/timelib-2018.03/README.rst +++ b/src/third_party/timelib-2018.01/README.rst diff --git a/src/third_party/timelib-2018.03/SConscript b/src/third_party/timelib-2018.01/SConscript index 67830d9ccfb..67830d9ccfb 100644 --- a/src/third_party/timelib-2018.03/SConscript +++ b/src/third_party/timelib-2018.01/SConscript diff --git a/src/third_party/timelib-2018.03/astro.c b/src/third_party/timelib-2018.01/astro.c index faf62d29f17..bae96e20574 100644 --- a/src/third_party/timelib-2018.03/astro.c +++ b/src/third_party/timelib-2018.01/astro.c @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.03/astro.h b/src/third_party/timelib-2018.01/astro.h index 9aa3d15bd77..8b2b800b526 100644 --- a/src/third_party/timelib-2018.03/astro.h +++ b/src/third_party/timelib-2018.01/astro.h @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -72,3 +72,4 @@ /* below the horizon. */ #define astronomical_twilight(ts,lon,lat,start,end) \ timelib_astro_rise_set_altitude( ts, lon, lat, -18.0, 0, start, end ) + diff --git a/src/third_party/timelib-2018.03/docs/date-from-iso-parts.c b/src/third_party/timelib-2018.01/docs/date-from-iso-parts.c index e38f5c51cc0..a4855e4f043 100644 --- a/src/third_party/timelib-2018.03/docs/date-from-iso-parts.c +++ b/src/third_party/timelib-2018.01/docs/date-from-iso-parts.c @@ -23,7 +23,7 @@ */ /* - * Example that shows how to convert a date/time in its parts, to a + * Example that shows how to convert a date/time in its parts, to a * Unix timestamp. * * Compile with: @@ -80,12 +80,12 @@ int main(int argc, char *argv[]) char *tz_id = "America/New_York"; timelib_time *t; timelib_tzinfo *tzi; - + if (argc < 4) { printf("Usage:\n\tdate-from-iso-parts isoyear isoweek isoday\n\tExample: ./date-from-iso-parts 2017 23 2\n\n"); exit(-1); } - + ty = atoll(argv[1]); tw = atoll(argv[2]); td = atoll(argv[3]); diff --git a/src/third_party/timelib-2018.03/docs/date-from-parts.c b/src/third_party/timelib-2018.01/docs/date-from-parts.c index a9055baddbb..d4985dd1cb0 100644 --- a/src/third_party/timelib-2018.03/docs/date-from-parts.c +++ b/src/third_party/timelib-2018.01/docs/date-from-parts.c @@ -23,7 +23,7 @@ */ /* - * Example that shows how to convert a date/time in its parts, to a + * Example that shows how to convert a date/time in its parts, to a * Unix timestamp. * * Compile with: diff --git a/src/third_party/timelib-2018.03/docs/date-from-string.c b/src/third_party/timelib-2018.01/docs/date-from-string.c index 98faf6bb20b..612beb966fa 100644 --- a/src/third_party/timelib-2018.03/docs/date-from-string.c +++ b/src/third_party/timelib-2018.01/docs/date-from-string.c @@ -24,7 +24,7 @@ */ /* - * Example that shows how to convert a date/time in its parts, to a + * Example that shows how to convert a date/time in its parts, to a * Unix timestamp. * * Compile with: @@ -81,12 +81,12 @@ int main(int argc, char *argv[]) timelib_tzinfo *tzi = NULL; timelib_tzinfo *tzi_utc = NULL; timelib_error_container *errors; - + if (argc < 2) { printf("Usage:\n\tdate-from-string string [tzExpression]\n\n"); exit(-1); } - + time_string = argv[1]; if (argc >= 3) { diff --git a/src/third_party/timelib-2018.03/docs/date-to-parts.c b/src/third_party/timelib-2018.01/docs/date-to-parts.c index 7b05e77c281..7b05e77c281 100644 --- a/src/third_party/timelib-2018.03/docs/date-to-parts.c +++ b/src/third_party/timelib-2018.01/docs/date-to-parts.c diff --git a/src/third_party/timelib-2018.03/dow.c b/src/third_party/timelib-2018.01/dow.c index 52f43b1a89d..0ae02178b72 100644 --- a/src/third_party/timelib-2018.03/dow.c +++ b/src/third_party/timelib-2018.01/dow.c @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.03/fallbackmap.h b/src/third_party/timelib-2018.01/fallbackmap.h index 5a4c6123c3a..5a4c6123c3a 100644 --- a/src/third_party/timelib-2018.03/fallbackmap.h +++ b/src/third_party/timelib-2018.01/fallbackmap.h diff --git a/src/third_party/timelib-2018.03/gettzmapping.php b/src/third_party/timelib-2018.01/gettzmapping.php index 21539e8bfd8..3a94791b7fe 100644 --- a/src/third_party/timelib-2018.03/gettzmapping.php +++ b/src/third_party/timelib-2018.01/gettzmapping.php @@ -758,7 +758,7 @@ ); $mapping = array(); - + foreach ($zones as $zone) { fprintf(STDERR, "Checking $zone: "); if (!(preg_match( '@^([A-Z][a-z]+([_/-][A-Za-z]+)+)$@', $zone) || (preg_match( '@^[A-Z]{1,6}$@', $zone)))) { @@ -814,7 +814,7 @@ } $mapping["z|0|0"] = array(null); - //Special BC overrides + //Special BC overrides $mapping['cast|34200|0'] = array('Australia/Adelaide'); //Add UTC @@ -848,7 +848,7 @@ } } //var_dump($mapping2); - + foreach ($mapping2 as $abbr => $abbr_parts) { ksort($abbr_parts); foreach ($abbr_parts as $abbr_elements) { diff --git a/src/third_party/timelib-2018.03/interval.c b/src/third_party/timelib-2018.01/interval.c index df3e282e53a..d1f7db107af 100644 --- a/src/third_party/timelib-2018.03/interval.c +++ b/src/third_party/timelib-2018.01/interval.c @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.01/parse_date.c b/src/third_party/timelib-2018.01/parse_date.c new file mode 100644 index 00000000000..ed89dd4dbc7 --- /dev/null +++ b/src/third_party/timelib-2018.01/parse_date.c @@ -0,0 +1,25622 @@ +/* Generated by re2c 0.15.3 on Tue Jan 15 10:10:44 2019 */ +#line 1 "parse_date.re" +/* + * The MIT License (MIT) + * + * Copyright (c) 2015 Derick Rethans + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "timelib.h" +#include "timelib_private.h" + +#include <ctype.h> +#include <math.h> +#include <assert.h> + +#if defined(_MSC_VER) +# define strtoll(s, f, b) _atoi64(s) +#elif !defined(HAVE_STRTOLL) +# if defined(HAVE_ATOLL) +# define strtoll(s, f, b) atoll(s) +# else +# define strtoll(s, f, b) strtol(s, f, b) +# endif +#endif + +#define EOI 257 +#define TIME 258 +#define DATE 259 + +#define TIMELIB_XMLRPC_SOAP 260 +#define TIMELIB_TIME12 261 +#define TIMELIB_TIME24 262 +#define TIMELIB_GNU_NOCOLON 263 +#define TIMELIB_GNU_NOCOLON_TZ 264 +#define TIMELIB_ISO_NOCOLON 265 + +#define TIMELIB_AMERICAN 266 +#define TIMELIB_ISO_DATE 267 +#define TIMELIB_DATE_FULL 268 +#define TIMELIB_DATE_TEXT 269 +#define TIMELIB_DATE_NOCOLON 270 +#define TIMELIB_PG_YEARDAY 271 +#define TIMELIB_PG_TEXT 272 +#define TIMELIB_PG_REVERSE 273 +#define TIMELIB_CLF 274 +#define TIMELIB_DATE_NO_DAY 275 +#define TIMELIB_SHORTDATE_WITH_TIME 276 +#define TIMELIB_DATE_FULL_POINTED 277 +#define TIMELIB_TIME24_WITH_ZONE 278 +#define TIMELIB_ISO_WEEK 279 +#define TIMELIB_LF_DAY_OF_MONTH 280 +#define TIMELIB_WEEK_DAY_OF_MONTH 281 + +#define TIMELIB_TIMEZONE 300 +#define TIMELIB_AGO 301 + +#define TIMELIB_RELATIVE 310 + +#define TIMELIB_ERROR 999 + +/* Some compilers like AIX, defines uchar in sys/types.h */ +#undef uchar +typedef unsigned char uchar; + +#define BSIZE 8192 + +#define YYCTYPE uchar +#define YYCURSOR cursor +#define YYLIMIT s->lim +#define YYMARKER s->ptr +#define YYFILL(n) return EOI; + +#define RET(i) {s->cur = cursor; return i;} + +#define timelib_string_free timelib_free + +#define TIMELIB_HAVE_TIME() { if (s->time->have_time) { add_error(s, TIMELIB_ERR_DOUBLE_TIME, "Double time specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_time = 1; s->time->h = 0; s->time->i = 0; s->time->s = 0; s->time->us = 0; } } +#define TIMELIB_UNHAVE_TIME() { s->time->have_time = 0; s->time->h = 0; s->time->i = 0; s->time->s = 0; s->time->us = 0; } +#define TIMELIB_HAVE_DATE() { if (s->time->have_date) { add_error(s, TIMELIB_ERR_DOUBLE_DATE, "Double date specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_date = 1; } } +#define TIMELIB_UNHAVE_DATE() { s->time->have_date = 0; s->time->d = 0; s->time->m = 0; s->time->y = 0; } +#define TIMELIB_HAVE_RELATIVE() { s->time->have_relative = 1; } +#define TIMELIB_HAVE_WEEKDAY_RELATIVE() { s->time->have_relative = 1; s->time->relative.have_weekday_relative = 1; } +#define TIMELIB_HAVE_SPECIAL_RELATIVE() { s->time->have_relative = 1; s->time->relative.have_special_relative = 1; } +#define TIMELIB_HAVE_TZ() { s->cur = cursor; if (s->time->have_zone) { s->time->have_zone > 1 ? add_error(s, TIMELIB_ERR_DOUBLE_TZ, "Double timezone specification") : add_warning(s, TIMELIB_WARN_DOUBLE_TZ, "Double timezone specification"); timelib_string_free(str); s->time->have_zone++; return TIMELIB_ERROR; } else { s->time->have_zone++; } } + +#define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str +#define TIMELIB_DEINIT timelib_string_free(str) +#define TIMELIB_ADJUST_RELATIVE_WEEKDAY() if (in->time.have_weekday_relative && (in.rel.d > 0)) { in.rel.d -= 7; } + +#define TIMELIB_PROCESS_YEAR(x, l) { \ + if (((x) == TIMELIB_UNSET) || ((l) >= 4)) { \ + /* (x) = 0; */ \ + } else if ((x) < 100) { \ + if ((x) < 70) { \ + (x) += 2000; \ + } else { \ + (x) += 1900; \ + } \ + } \ +} + +#ifdef DEBUG_PARSER +#define DEBUG_OUTPUT(s) printf("%s\n", s); +#define YYDEBUG(s,c) { if (s != -1) { printf("state: %d ", s); printf("[%c]\n", c); } } +#else +#define DEBUG_OUTPUT(s) +#define YYDEBUG(s,c) +#endif + +typedef struct _timelib_elems { + unsigned int c; /* Number of elements */ + char **v; /* Values */ +} timelib_elems; + +typedef struct _Scanner { + int fd; + uchar *lim, *str, *ptr, *cur, *tok, *pos; + unsigned int line, len; + timelib_error_container *errors; + + timelib_time *time; + const timelib_tzdb *tzdb; +} Scanner; + +typedef struct _timelib_lookup_table { + const char *name; + int type; + int value; +} timelib_lookup_table; + +typedef struct _timelib_relunit { + const char *name; + int unit; + int multiplier; +} timelib_relunit; + +/* The timezone table. */ +static const timelib_tz_lookup_table timelib_timezone_lookup[] = { +#include "timezonemap.h" + { NULL, 0, 0, NULL }, +}; + +static const timelib_tz_lookup_table timelib_timezone_fallbackmap[] = { +#include "fallbackmap.h" + { NULL, 0, 0, NULL }, +}; + +static const timelib_tz_lookup_table timelib_timezone_utc[] = { + { "utc", 0, 0, "UTC" }, +}; + +static timelib_relunit const timelib_relunit_lookup[] = { + { "ms", TIMELIB_MICROSEC, 1000 }, + { "msec", TIMELIB_MICROSEC, 1000 }, + { "msecs", TIMELIB_MICROSEC, 1000 }, + { "millisecond", TIMELIB_MICROSEC, 1000 }, + { "milliseconds", TIMELIB_MICROSEC, 1000 }, + { "µs", TIMELIB_MICROSEC, 1 }, + { "usec", TIMELIB_MICROSEC, 1 }, + { "usecs", TIMELIB_MICROSEC, 1 }, + { "µsec", TIMELIB_MICROSEC, 1 }, + { "µsecs", TIMELIB_MICROSEC, 1 }, + { "microsecond", TIMELIB_MICROSEC, 1 }, + { "microseconds", TIMELIB_MICROSEC, 1 }, + { "sec", TIMELIB_SECOND, 1 }, + { "secs", TIMELIB_SECOND, 1 }, + { "second", TIMELIB_SECOND, 1 }, + { "seconds", TIMELIB_SECOND, 1 }, + { "min", TIMELIB_MINUTE, 1 }, + { "mins", TIMELIB_MINUTE, 1 }, + { "minute", TIMELIB_MINUTE, 1 }, + { "minutes", TIMELIB_MINUTE, 1 }, + { "hour", TIMELIB_HOUR, 1 }, + { "hours", TIMELIB_HOUR, 1 }, + { "day", TIMELIB_DAY, 1 }, + { "days", TIMELIB_DAY, 1 }, + { "week", TIMELIB_DAY, 7 }, + { "weeks", TIMELIB_DAY, 7 }, + { "fortnight", TIMELIB_DAY, 14 }, + { "fortnights", TIMELIB_DAY, 14 }, + { "forthnight", TIMELIB_DAY, 14 }, + { "forthnights", TIMELIB_DAY, 14 }, + { "month", TIMELIB_MONTH, 1 }, + { "months", TIMELIB_MONTH, 1 }, + { "year", TIMELIB_YEAR, 1 }, + { "years", TIMELIB_YEAR, 1 }, + + { "monday", TIMELIB_WEEKDAY, 1 }, + { "mon", TIMELIB_WEEKDAY, 1 }, + { "tuesday", TIMELIB_WEEKDAY, 2 }, + { "tue", TIMELIB_WEEKDAY, 2 }, + { "wednesday", TIMELIB_WEEKDAY, 3 }, + { "wed", TIMELIB_WEEKDAY, 3 }, + { "thursday", TIMELIB_WEEKDAY, 4 }, + { "thu", TIMELIB_WEEKDAY, 4 }, + { "friday", TIMELIB_WEEKDAY, 5 }, + { "fri", TIMELIB_WEEKDAY, 5 }, + { "saturday", TIMELIB_WEEKDAY, 6 }, + { "sat", TIMELIB_WEEKDAY, 6 }, + { "sunday", TIMELIB_WEEKDAY, 0 }, + { "sun", TIMELIB_WEEKDAY, 0 }, + + { "weekday", TIMELIB_SPECIAL, TIMELIB_SPECIAL_WEEKDAY }, + { "weekdays", TIMELIB_SPECIAL, TIMELIB_SPECIAL_WEEKDAY }, + { NULL, 0, 0 } +}; + +/* The relative text table. */ +static timelib_lookup_table const timelib_reltext_lookup[] = { + { "first", 0, 1 }, + { "next", 0, 1 }, + { "second", 0, 2 }, + { "third", 0, 3 }, + { "fourth", 0, 4 }, + { "fifth", 0, 5 }, + { "sixth", 0, 6 }, + { "seventh", 0, 7 }, + { "eight", 0, 8 }, + { "eighth", 0, 8 }, + { "ninth", 0, 9 }, + { "tenth", 0, 10 }, + { "eleventh", 0, 11 }, + { "twelfth", 0, 12 }, + { "last", 0, -1 }, + { "previous", 0, -1 }, + { "this", 1, 0 }, + { NULL, 1, 0 } +}; + +/* The month table. */ +static timelib_lookup_table const timelib_month_lookup[] = { + { "jan", 0, 1 }, + { "feb", 0, 2 }, + { "mar", 0, 3 }, + { "apr", 0, 4 }, + { "may", 0, 5 }, + { "jun", 0, 6 }, + { "jul", 0, 7 }, + { "aug", 0, 8 }, + { "sep", 0, 9 }, + { "sept", 0, 9 }, + { "oct", 0, 10 }, + { "nov", 0, 11 }, + { "dec", 0, 12 }, + { "i", 0, 1 }, + { "ii", 0, 2 }, + { "iii", 0, 3 }, + { "iv", 0, 4 }, + { "v", 0, 5 }, + { "vi", 0, 6 }, + { "vii", 0, 7 }, + { "viii", 0, 8 }, + { "ix", 0, 9 }, + { "x", 0, 10 }, + { "xi", 0, 11 }, + { "xii", 0, 12 }, + + { "january", 0, 1 }, + { "february", 0, 2 }, + { "march", 0, 3 }, + { "april", 0, 4 }, + { "may", 0, 5 }, + { "june", 0, 6 }, + { "july", 0, 7 }, + { "august", 0, 8 }, + { "september", 0, 9 }, + { "october", 0, 10 }, + { "november", 0, 11 }, + { "december", 0, 12 }, + { NULL, 0, 0 } +}; + +#if 0 +static char* timelib_ltrim(char *s) +{ + char *ptr = s; + while (ptr[0] == ' ' || ptr[0] == '\t') { + ptr++; + } + return ptr; +} +#endif + +#if 0 +uchar *fill(Scanner *s, uchar *cursor){ + if(!s->eof){ + unsigned int cnt = s->tok - s->bot; + if(cnt){ + memcpy(s->bot, s->tok, s->lim - s->tok); + s->tok = s->bot; + s->ptr -= cnt; + cursor -= cnt; + s->pos -= cnt; + s->lim -= cnt; + } + if((s->top - s->lim) < BSIZE){ + uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar)); + memcpy(buf, s->tok, s->lim - s->tok); + s->tok = buf; + s->ptr = &buf[s->ptr - s->bot]; + cursor = &buf[cursor - s->bot]; + s->pos = &buf[s->pos - s->bot]; + s->lim = &buf[s->lim - s->bot]; + s->top = &s->lim[BSIZE]; + timelib_free(s->bot); + s->bot = buf; + } + if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){ + s->eof = &s->lim[cnt]; *(s->eof)++ = '\n'; + } + s->lim += cnt; + } + return cursor; +} +#endif + +static void add_warning(Scanner *s, int error_code, char *error) +{ + s->errors->warning_count++; + s->errors->warning_messages = timelib_realloc(s->errors->warning_messages, s->errors->warning_count * sizeof(timelib_error_message)); + s->errors->warning_messages[s->errors->warning_count - 1].error_code = error_code; + s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; + s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; + s->errors->warning_messages[s->errors->warning_count - 1].message = timelib_strdup(error); +} + +static void add_error(Scanner *s, int error_code, char *error) +{ + s->errors->error_count++; + s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * sizeof(timelib_error_message)); + s->errors->error_messages[s->errors->error_count - 1].error_code = error_code; + s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; + s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; + s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error); +} + +static void add_pbf_warning(Scanner *s, int error_code, char *error, char *sptr, char *cptr) +{ + s->errors->warning_count++; + s->errors->warning_messages = timelib_realloc(s->errors->warning_messages, s->errors->warning_count * sizeof(timelib_error_message)); + s->errors->warning_messages[s->errors->warning_count - 1].error_code = error_code; + s->errors->warning_messages[s->errors->warning_count - 1].position = cptr - sptr; + s->errors->warning_messages[s->errors->warning_count - 1].character = *cptr; + s->errors->warning_messages[s->errors->warning_count - 1].message = timelib_strdup(error); +} + +static void add_pbf_error(Scanner *s, int error_code, char *error, char *sptr, char *cptr) +{ + s->errors->error_count++; + s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * sizeof(timelib_error_message)); + s->errors->error_messages[s->errors->error_count - 1].error_code = error_code; + s->errors->error_messages[s->errors->error_count - 1].position = cptr - sptr; + s->errors->error_messages[s->errors->error_count - 1].character = *cptr; + s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error); +} + +static timelib_sll timelib_meridian(char **ptr, timelib_sll h) +{ + timelib_sll retval = 0; + + while (!strchr("AaPp", **ptr)) { + ++*ptr; + } + if (**ptr == 'a' || **ptr == 'A') { + if (h == 12) { + retval = -12; + } + } else if (h != 12) { + retval = 12; + } + ++*ptr; + if (**ptr == '.') { + ++*ptr; + } + if (**ptr == 'M' || **ptr == 'm') { + ++*ptr; + } + if (**ptr == '.') { + ++*ptr; + } + return retval; +} + +static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h) +{ + timelib_sll retval = 0; + + while (**ptr && !strchr("AaPp", **ptr)) { + ++*ptr; + } + if(!**ptr) { + return TIMELIB_UNSET; + } + if (**ptr == 'a' || **ptr == 'A') { + if (h == 12) { + retval = -12; + } + } else if (h != 12) { + retval = 12; + } + ++*ptr; + if (**ptr == '.') { + ++*ptr; + if (**ptr != 'm' && **ptr != 'M') { + return TIMELIB_UNSET; + } + ++*ptr; + if (**ptr != '.' ) { + return TIMELIB_UNSET; + } + ++*ptr; + } else if (**ptr == 'm' || **ptr == 'M') { + ++*ptr; + } else { + return TIMELIB_UNSET; + } + return retval; +} + +static char *timelib_string(Scanner *s) +{ + char *tmp = timelib_calloc(1, s->cur - s->tok + 1); + memcpy(tmp, s->tok, s->cur - s->tok); + + return tmp; +} + +static timelib_sll timelib_get_nr_ex(char **ptr, int max_length, int *scanned_length) +{ + char *begin, *end, *str; + timelib_sll tmp_nr = TIMELIB_UNSET; + int len = 0; + + while ((**ptr < '0') || (**ptr > '9')) { + if (**ptr == '\0') { + return TIMELIB_UNSET; + } + ++*ptr; + } + begin = *ptr; + while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { + ++*ptr; + ++len; + } + end = *ptr; + if (scanned_length) { + *scanned_length = end - begin; + } + str = timelib_calloc(1, end - begin + 1); + memcpy(str, begin, end - begin); + tmp_nr = strtoll(str, NULL, 10); + timelib_free(str); + return tmp_nr; +} + +static timelib_sll timelib_get_nr(char **ptr, int max_length) +{ + return timelib_get_nr_ex(ptr, max_length, NULL); +} + +static void timelib_skip_day_suffix(char **ptr) +{ + if (isspace(**ptr)) { + return; + } + if (!timelib_strncasecmp(*ptr, "nd", 2) || !timelib_strncasecmp(*ptr, "rd", 2) ||!timelib_strncasecmp(*ptr, "st", 2) || !timelib_strncasecmp(*ptr, "th", 2)) { + *ptr += 2; + } +} + +static timelib_sll timelib_get_frac_nr(char **ptr, int max_length) +{ + char *begin, *end, *str; + double tmp_nr = TIMELIB_UNSET; + int len = 0; + + while ((**ptr != '.') && (**ptr != ':') && ((**ptr < '0') || (**ptr > '9'))) { + if (**ptr == '\0') { + return TIMELIB_UNSET; + } + ++*ptr; + } + begin = *ptr; + while (((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) && len < max_length) { + ++*ptr; + ++len; + } + end = *ptr; + str = timelib_calloc(1, end - begin); + memcpy(str, begin + 1, end - begin - 1); + tmp_nr = strtod(str, NULL) * pow(10, 7 - (end - begin)); + timelib_free(str); + return tmp_nr; +} + +static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length) +{ + timelib_ull dir = 1; + + while (((**ptr < '0') || (**ptr > '9')) && (**ptr != '+') && (**ptr != '-')) { + if (**ptr == '\0') { + return TIMELIB_UNSET; + } + ++*ptr; + } + + while (**ptr == '+' || **ptr == '-') + { + if (**ptr == '-') { + dir *= -1; + } + ++*ptr; + } + return dir * timelib_get_nr(ptr, max_length); +} + +static timelib_sll timelib_lookup_relative_text(char **ptr, int *behavior) +{ + char *word; + char *begin = *ptr, *end; + timelib_sll value = 0; + const timelib_lookup_table *tp; + + while ((**ptr >= 'A' && **ptr <= 'Z') || (**ptr >= 'a' && **ptr <= 'z')) { + ++*ptr; + } + end = *ptr; + word = timelib_calloc(1, end - begin + 1); + memcpy(word, begin, end - begin); + + for (tp = timelib_reltext_lookup; tp->name; tp++) { + if (timelib_strcasecmp(word, tp->name) == 0) { + value = tp->value; + *behavior = tp->type; + } + } + + timelib_free(word); + return value; +} + +static timelib_sll timelib_get_relative_text(char **ptr, int *behavior) +{ + while (**ptr == ' ' || **ptr == '\t' || **ptr == '-' || **ptr == '/') { + ++*ptr; + } + return timelib_lookup_relative_text(ptr, behavior); +} + +static timelib_long timelib_lookup_month(char **ptr) +{ + char *word; + char *begin = *ptr, *end; + timelib_long value = 0; + const timelib_lookup_table *tp; + + while ((**ptr >= 'A' && **ptr <= 'Z') || (**ptr >= 'a' && **ptr <= 'z')) { + ++*ptr; + } + end = *ptr; + word = timelib_calloc(1, end - begin + 1); + memcpy(word, begin, end - begin); + + for (tp = timelib_month_lookup; tp->name; tp++) { + if (timelib_strcasecmp(word, tp->name) == 0) { + value = tp->value; + } + } + + timelib_free(word); + return value; +} + +static timelib_long timelib_get_month(char **ptr) +{ + while (**ptr == ' ' || **ptr == '\t' || **ptr == '-' || **ptr == '.' || **ptr == '/') { + ++*ptr; + } + return timelib_lookup_month(ptr); +} + +static void timelib_eat_spaces(char **ptr) +{ + while (**ptr == ' ' || **ptr == '\t') { + ++*ptr; + } +} + +static void timelib_eat_until_separator(char **ptr) +{ + ++*ptr; + while (strchr(" \t.,:;/-0123456789", **ptr) == NULL) { + ++*ptr; + } +} + +static const timelib_relunit* timelib_lookup_relunit(char **ptr) +{ + char *word; + char *begin = *ptr, *end; + const timelib_relunit *tp, *value = NULL; + + while (**ptr != '\0' && **ptr != ' ' && **ptr != ',' && **ptr != '\t' && **ptr != ';' && **ptr != ':' && + **ptr != '/' && **ptr != '.' && **ptr != '-' && **ptr != '(' && **ptr != ')' ) { + ++*ptr; + } + end = *ptr; + word = timelib_calloc(1, end - begin + 1); + memcpy(word, begin, end - begin); + + for (tp = timelib_relunit_lookup; tp->name; tp++) { + if (timelib_strcasecmp(word, tp->name) == 0) { + value = tp; + break; + } + } + + timelib_free(word); + return value; +} + +static void timelib_set_relative(char **ptr, timelib_sll amount, int behavior, Scanner *s) +{ + const timelib_relunit* relunit; + + if (!(relunit = timelib_lookup_relunit(ptr))) { + return; + } + + switch (relunit->unit) { + case TIMELIB_MICROSEC: s->time->relative.us += amount * relunit->multiplier; break; + case TIMELIB_SECOND: s->time->relative.s += amount * relunit->multiplier; break; + case TIMELIB_MINUTE: s->time->relative.i += amount * relunit->multiplier; break; + case TIMELIB_HOUR: s->time->relative.h += amount * relunit->multiplier; break; + case TIMELIB_DAY: s->time->relative.d += amount * relunit->multiplier; break; + case TIMELIB_MONTH: s->time->relative.m += amount * relunit->multiplier; break; + case TIMELIB_YEAR: s->time->relative.y += amount * relunit->multiplier; break; + + case TIMELIB_WEEKDAY: + TIMELIB_HAVE_WEEKDAY_RELATIVE(); + TIMELIB_UNHAVE_TIME(); + s->time->relative.d += (amount > 0 ? amount - 1 : amount) * 7; + s->time->relative.weekday = relunit->multiplier; + s->time->relative.weekday_behavior = behavior; + break; + + case TIMELIB_SPECIAL: + TIMELIB_HAVE_SPECIAL_RELATIVE(); + TIMELIB_UNHAVE_TIME(); + s->time->relative.special.type = relunit->multiplier; + s->time->relative.special.amount = amount; + } +} + +static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst) +{ + int first_found = 0; + const timelib_tz_lookup_table *tp, *first_found_elem = NULL; + const timelib_tz_lookup_table *fmp; + + if (timelib_strcasecmp("utc", word) == 0 || timelib_strcasecmp("gmt", word) == 0) { + return timelib_timezone_utc; + } + + for (tp = timelib_timezone_lookup; tp->name; tp++) { + if (timelib_strcasecmp(word, tp->name) == 0) { + if (!first_found) { + first_found = 1; + first_found_elem = tp; + if (gmtoffset == -1) { + return tp; + } + } + if (tp->gmtoffset == gmtoffset) { + return tp; + } + } + } + if (first_found) { + return first_found_elem; + } + + /* Still didn't find anything, let's find the zone solely based on + * offset/isdst then */ + for (fmp = timelib_timezone_fallbackmap; fmp->name; fmp++) { + if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) { + return fmp; + } + } + return NULL; +} + +static timelib_long timelib_lookup_abbr(char **ptr, int *dst, char **tz_abbr, int *found) +{ + char *word; + char *begin = *ptr, *end; + timelib_long value = 0; + const timelib_tz_lookup_table *tp; + + while (**ptr != '\0' && **ptr != ')' && **ptr != ' ') { + ++*ptr; + } + end = *ptr; + word = timelib_calloc(1, end - begin + 1); + memcpy(word, begin, end - begin); + + if ((tp = abbr_search(word, -1, 0))) { + value = tp->gmtoffset; + *dst = tp->type; + value -= tp->type * 3600; + *found = 1; + } else { + *found = 0; + } + + *tz_abbr = word; + return value; +} + +#define sHOUR(a) (int)(a * 3600) +#define sMIN(a) (int)(a * 60) + +static timelib_long timelib_parse_tz_cor(char **ptr) +{ + char *begin = *ptr, *end; + timelib_long tmp; + + while (isdigit(**ptr) || **ptr == ':') { + ++*ptr; + } + end = *ptr; + switch (end - begin) { + case 1: /* H */ + case 2: /* HH */ + return sHOUR(strtol(begin, NULL, 10)); + break; + case 3: /* H:M */ + case 4: /* H:MM, HH:M, HHMM */ + if (begin[1] == ':') { + tmp = sHOUR(strtol(begin, NULL, 10)) + sMIN(strtol(begin + 2, NULL, 10)); + return tmp; + } else if (begin[2] == ':') { + tmp = sHOUR(strtol(begin, NULL, 10)) + sMIN(strtol(begin + 3, NULL, 10)); + return tmp; + } else { + tmp = strtol(begin, NULL, 10); + return sHOUR(tmp / 100) + sMIN(tmp % 100); + } + case 5: /* HH:MM */ + tmp = sHOUR(strtol(begin, NULL, 10)) + sMIN(strtol(begin + 3, NULL, 10)); + return tmp; + } + return 0; +} + +static timelib_long timelib_parse_tz_minutes(char **ptr, timelib_time *t) +{ + timelib_long retval = TIMELIB_UNSET; + char *begin = *ptr; + + /* First character must be +/- */ + if (**ptr != '+' && **ptr != '-') { + return retval; + } + + ++*ptr; + while (isdigit(**ptr)) { + ++*ptr; + } + + if (*begin == '+') { + t->is_localtime = 1; + t->zone_type = TIMELIB_ZONETYPE_OFFSET; + t->dst = 0; + + retval = sMIN(strtol(begin + 1, NULL, 10)); + } else if (*begin == '-') { + t->is_localtime = 1; + t->zone_type = TIMELIB_ZONETYPE_OFFSET; + t->dst = 0; + + retval = -1 * sMIN(strtol(begin + 1, NULL, 10)); + } + return retval; +} + +timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_wrapper) +{ + timelib_tzinfo *res; + timelib_long retval = 0; + + *tz_not_found = 0; + + while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') { + ++*ptr; + } + if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) { + *ptr += 3; + } + if (**ptr == '+') { + ++*ptr; + t->is_localtime = 1; + t->zone_type = TIMELIB_ZONETYPE_OFFSET; + *tz_not_found = 0; + t->dst = 0; + + retval = timelib_parse_tz_cor(ptr); + } else if (**ptr == '-') { + ++*ptr; + t->is_localtime = 1; + t->zone_type = TIMELIB_ZONETYPE_OFFSET; + *tz_not_found = 0; + t->dst = 0; + + retval = -1 * timelib_parse_tz_cor(ptr); + } else { + int found = 0; + timelib_long offset = 0; + char *tz_abbr; + + t->is_localtime = 1; + + /* First, we lookup by abbreviation only */ + offset = timelib_lookup_abbr(ptr, dst, &tz_abbr, &found); + if (found) { + t->zone_type = TIMELIB_ZONETYPE_ABBR; + timelib_time_tz_abbr_update(t, tz_abbr); + } + + /* Otherwise, we look if we have a TimeZone identifier */ + if (!found || strcmp("UTC", tz_abbr) == 0) { + int dummy_error_code; + + if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { + t->tz_info = res; + t->zone_type = TIMELIB_ZONETYPE_ID; + found++; + } + } + timelib_free(tz_abbr); + *tz_not_found = (found == 0); + retval = offset; + } + while (**ptr == ')') { + ++*ptr; + } + return retval; +} + +#define timelib_split_free(arg) { \ + int i; \ + for (i = 0; i < arg.c; i++) { \ + timelib_free(arg.v[i]); \ + } \ + if (arg.v) { \ + timelib_free(arg.v); \ + } \ +} + +static int scan(Scanner *s, timelib_tz_get_wrapper tz_get_wrapper) +{ + uchar *cursor = s->cur; + char *str, *ptr = NULL; + +std: + s->tok = cursor; + s->len = 0; +#line 1010 "parse_date.re" + + + +#line 891 "<stdout>" +{ + YYCTYPE yych; + unsigned int yyaccept = 0; + static const unsigned char yybm[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 100, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 100, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 128, 64, 160, 96, 0, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 0, 0, 0, 0, 0, 0, + 0, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 8, 0, 0, 0, 0, 0, + 0, 24, 24, 24, 88, 24, 24, 24, + 88, 24, 24, 24, 24, 24, 88, 24, + 24, 24, 88, 88, 88, 24, 24, 24, + 24, 24, 24, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + }; + YYDEBUG(0, *YYCURSOR); + if ((YYLIMIT - YYCURSOR) < 33) YYFILL(33); + yych = *YYCURSOR; + switch (yych) { + case 0x00: + case '\n': goto yy51; + case '\t': + case ' ': goto yy48; + case '(': goto yy45; + case '+': + case '-': goto yy30; + case ',': + case '.': goto yy50; + case '0': goto yy25; + case '1': goto yy26; + case '2': goto yy27; + case '3': goto yy28; + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy29; + case '@': goto yy11; + case 'A': goto yy36; + case 'B': goto yy17; + case 'C': + case 'H': + case 'K': + case 'Q': + case 'R': + case 'U': + case 'Z': goto yy46; + case 'D': goto yy40; + case 'E': goto yy21; + case 'F': goto yy13; + case 'G': goto yy44; + case 'I': goto yy31; + case 'J': goto yy34; + case 'L': goto yy15; + case 'M': goto yy7; + case 'N': goto yy5; + case 'O': goto yy38; + case 'P': goto yy23; + case 'S': goto yy19; + case 'T': goto yy9; + case 'V': goto yy32; + case 'W': goto yy42; + case 'X': goto yy33; + case 'Y': goto yy2; + case 'a': goto yy37; + case 'b': goto yy18; + case 'c': + case 'g': + case 'h': + case 'i': + case 'k': + case 'q': + case 'r': + case 'u': + case 'v': + case 'x': + case 'z': goto yy47; + case 'd': goto yy41; + case 'e': goto yy22; + case 'f': goto yy14; + case 'j': goto yy35; + case 'l': goto yy16; + case 'm': goto yy8; + case 'n': goto yy6; + case 'o': goto yy39; + case 'p': goto yy24; + case 's': goto yy20; + case 't': goto yy10; + case 'w': goto yy43; + case 'y': goto yy4; + default: goto yy53; + } +yy2: + YYDEBUG(2, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= 'E') { + if (yych <= ')') { + if (yych >= ')') goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy1523; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych >= 'a') goto yy170; + } else { + if (yych <= 'e') goto yy1532; + if (yych <= 'z') goto yy170; + } + } +yy3: + YYDEBUG(3, *YYCURSOR); +#line 1718 "parse_date.re" + { + int tz_not_found; + DEBUG_OUTPUT("tzcorrection | tz"); + TIMELIB_INIT; + TIMELIB_HAVE_TZ(); + s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); + if (tz_not_found) { + add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); + } + TIMELIB_DEINIT; + return TIMELIB_TIMEZONE; + } +#line 1042 "<stdout>" +yy4: + YYDEBUG(4, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy1523; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy165; + } else { + if (yych <= 'e') goto yy1523; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy5: + YYDEBUG(5, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= 'D') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'H') { + if (yych <= 'E') goto yy1494; + goto yy165; + } else { + if (yych <= 'I') goto yy1495; + if (yych <= 'N') goto yy165; + goto yy1493; + } + } + } else { + if (yych <= 'h') { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych == 'e') goto yy1510; + goto yy170; + } + } else { + if (yych <= 'n') { + if (yych <= 'i') goto yy1511; + goto yy170; + } else { + if (yych <= 'o') goto yy1509; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy6: + YYDEBUG(6, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= 'D') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'H') { + if (yych <= 'E') goto yy1494; + goto yy165; + } else { + if (yych <= 'I') goto yy1495; + if (yych <= 'N') goto yy165; + goto yy1493; + } + } + } else { + if (yych <= 'h') { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych == 'e') goto yy1494; + goto yy165; + } + } else { + if (yych <= 'n') { + if (yych <= 'i') goto yy1495; + goto yy165; + } else { + if (yych <= 'o') goto yy1493; + if (yych <= 'z') goto yy165; + goto yy3; + } + } + } +yy7: + YYDEBUG(7, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy1463; + } else { + if (yych == 'I') goto yy1464; + if (yych <= 'N') goto yy165; + goto yy1465; + } + } else { + if (yych <= 'h') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1478; + goto yy170; + } else { + if (yych <= 'n') { + if (yych <= 'i') goto yy1479; + goto yy170; + } else { + if (yych <= 'o') goto yy1480; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy8: + YYDEBUG(8, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy1463; + } else { + if (yych == 'I') goto yy1464; + if (yych <= 'N') goto yy165; + goto yy1465; + } + } else { + if (yych <= 'h') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1463; + goto yy165; + } else { + if (yych <= 'n') { + if (yych <= 'i') goto yy1464; + goto yy165; + } else { + if (yych <= 'o') goto yy1465; + if (yych <= 'z') goto yy165; + goto yy3; + } + } + } +yy9: + YYDEBUG(9, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + switch (yych) { + case ')': goto yy164; + case '0': + case '1': goto yy1393; + case '2': goto yy1394; + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy1395; + case 'A': + case 'B': + case 'C': + case 'D': + case 'F': + case 'G': + case 'I': + case 'J': + case 'K': + case 'L': + case 'M': + case 'N': + case 'P': + case 'Q': + case 'R': + case 'S': + case 'T': + case 'V': + case 'X': + case 'Y': + case 'Z': goto yy165; + case 'E': goto yy1388; + case 'H': goto yy1389; + case 'O': goto yy1390; + case 'U': goto yy1391; + case 'W': goto yy1392; + case 'a': + case 'b': + case 'c': + case 'd': + case 'f': + case 'g': + case 'i': + case 'j': + case 'k': + case 'l': + case 'm': + case 'n': + case 'p': + case 'q': + case 'r': + case 's': + case 't': + case 'v': + case 'x': + case 'y': + case 'z': goto yy170; + case 'e': goto yy1431; + case 'h': goto yy1432; + case 'o': goto yy1433; + case 'u': goto yy1434; + case 'w': goto yy1435; + default: goto yy3; + } +yy10: + YYDEBUG(10, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + switch (yych) { + case ')': goto yy164; + case '0': + case '1': goto yy1393; + case '2': goto yy1394; + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy1395; + case 'A': + case 'B': + case 'C': + case 'D': + case 'F': + case 'G': + case 'I': + case 'J': + case 'K': + case 'L': + case 'M': + case 'N': + case 'P': + case 'Q': + case 'R': + case 'S': + case 'T': + case 'V': + case 'X': + case 'Y': + case 'Z': + case 'a': + case 'b': + case 'c': + case 'd': + case 'f': + case 'g': + case 'i': + case 'j': + case 'k': + case 'l': + case 'm': + case 'n': + case 'p': + case 'q': + case 'r': + case 's': + case 't': + case 'v': + case 'x': + case 'y': + case 'z': goto yy165; + case 'E': + case 'e': goto yy1388; + case 'H': + case 'h': goto yy1389; + case 'O': + case 'o': goto yy1390; + case 'U': + case 'u': goto yy1391; + case 'W': + case 'w': goto yy1392; + default: goto yy3; + } +yy11: + YYDEBUG(11, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '-') goto yy1376; + if (yych <= '/') goto yy12; + if (yych <= '9') goto yy1377; +yy12: + YYDEBUG(12, *YYCURSOR); +#line 1813 "parse_date.re" + { + add_error(s, TIMELIB_ERR_UNEXPECTED_CHARACTER, "Unexpected character"); + goto std; + } +#line 1356 "<stdout>" +yy13: + YYDEBUG(13, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy1311; + } + } else { + if (yych <= 'N') { + if (yych == 'I') goto yy1312; + goto yy165; + } else { + if (yych <= 'O') goto yy1313; + if (yych <= 'Q') goto yy165; + goto yy1314; + } + } + } else { + if (yych <= 'i') { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy170; + } else { + if (yych <= 'e') goto yy1353; + if (yych <= 'h') goto yy170; + goto yy1354; + } + } else { + if (yych <= 'q') { + if (yych == 'o') goto yy1355; + goto yy170; + } else { + if (yych <= 'r') goto yy1356; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy14: + YYDEBUG(14, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy1311; + } + } else { + if (yych <= 'N') { + if (yych == 'I') goto yy1312; + goto yy165; + } else { + if (yych <= 'O') goto yy1313; + if (yych <= 'Q') goto yy165; + goto yy1314; + } + } + } else { + if (yych <= 'i') { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy165; + } else { + if (yych <= 'e') goto yy1311; + if (yych <= 'h') goto yy165; + goto yy1312; + } + } else { + if (yych <= 'q') { + if (yych == 'o') goto yy1313; + goto yy165; + } else { + if (yych <= 'r') goto yy1314; + if (yych <= 'z') goto yy165; + goto yy3; + } + } + } +yy15: + YYDEBUG(15, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy1297; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych <= 'a') goto yy1308; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy16: + YYDEBUG(16, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy1297; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych <= 'a') goto yy1297; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy17: + YYDEBUG(17, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy1276; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych <= 'a') goto yy1294; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy18: + YYDEBUG(18, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy1276; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych <= 'a') goto yy1276; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy19: + YYDEBUG(19, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'A') goto yy1219; + goto yy165; + } + } else { + if (yych <= 'H') { + if (yych <= 'E') goto yy1218; + goto yy165; + } else { + if (yych <= 'I') goto yy1220; + if (yych <= 'T') goto yy165; + goto yy1221; + } + } + } else { + if (yych <= 'e') { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych <= 'a') goto yy1248; + if (yych <= 'd') goto yy170; + goto yy1247; + } + } else { + if (yych <= 't') { + if (yych == 'i') goto yy1249; + goto yy170; + } else { + if (yych <= 'u') goto yy1250; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy20: + YYDEBUG(20, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'A') goto yy1219; + goto yy165; + } + } else { + if (yych <= 'H') { + if (yych <= 'E') goto yy1218; + goto yy165; + } else { + if (yych <= 'I') goto yy1220; + if (yych <= 'T') goto yy165; + goto yy1221; + } + } + } else { + if (yych <= 'e') { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych <= 'a') goto yy1219; + if (yych <= 'd') goto yy165; + goto yy1218; + } + } else { + if (yych <= 't') { + if (yych == 'i') goto yy1220; + goto yy165; + } else { + if (yych <= 'u') goto yy1221; + if (yych <= 'z') goto yy165; + goto yy3; + } + } + } +yy21: + YYDEBUG(21, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'I') goto yy1188; + if (yych <= 'K') goto yy165; + goto yy1189; + } + } else { + if (yych <= 'i') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + if (yych <= 'h') goto yy170; + goto yy1206; + } else { + if (yych == 'l') goto yy1207; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy22: + YYDEBUG(22, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'I') goto yy1188; + if (yych <= 'K') goto yy165; + goto yy1189; + } + } else { + if (yych <= 'i') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + if (yych <= 'h') goto yy165; + goto yy1188; + } else { + if (yych == 'l') goto yy1189; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy23: + YYDEBUG(23, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy165; + goto yy1062; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy170; + } else { + if (yych <= 'r') goto yy1181; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy24: + YYDEBUG(24, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy165; + goto yy1062; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy165; + } else { + if (yych <= 'r') goto yy1062; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy25: + YYDEBUG(25, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '`') { + if (yych <= '@') { + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1016; + goto yy12; + } else { + if (yych <= ' ') goto yy1018; + if (yych <= ',') goto yy12; + goto yy437; + } + } else { + if (yych <= '0') { + if (yych <= '.') goto yy1028; + if (yych <= '/') goto yy436; + goto yy1061; + } else { + if (yych <= '9') goto yy1060; + if (yych <= ':') goto yy1029; + goto yy12; + } + } + } else { + if (yych <= 'G') { + if (yych <= 'D') { + if (yych <= 'A') goto yy1018; + if (yych <= 'C') goto yy12; + goto yy1018; + } else { + if (yych == 'F') goto yy1018; + goto yy12; + } + } else { + if (yych <= 'O') { + if (yych <= 'J') goto yy1018; + if (yych <= 'L') goto yy12; + goto yy1018; + } else { + if (yych <= 'R') goto yy12; + if (yych <= 'Y') goto yy1018; + goto yy12; + } + } + } + } else { + if (yych <= 'n') { + if (yych <= 'g') { + if (yych <= 'd') { + if (yych <= 'a') goto yy1018; + if (yych <= 'c') goto yy12; + goto yy1018; + } else { + if (yych == 'f') goto yy1018; + goto yy12; + } + } else { + if (yych <= 'j') { + if (yych == 'i') goto yy12; + goto yy1018; + } else { + if (yych <= 'l') goto yy12; + if (yych <= 'm') goto yy1018; + goto yy434; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'r') { + if (yych <= 'o') goto yy1018; + if (yych <= 'q') goto yy12; + goto yy435; + } else { + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy1018; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy1018; + goto yy12; + } else { + if (yych <= 'y') goto yy1018; + if (yych == 0xC2) goto yy1018; + goto yy12; + } + } + } + } +yy26: + YYDEBUG(26, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '`') { + if (yych <= '@') { + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy424; + goto yy12; + } else { + if (yych <= ' ') goto yy426; + if (yych <= ',') goto yy12; + goto yy437; + } + } else { + if (yych <= '2') { + if (yych <= '.') goto yy438; + if (yych <= '/') goto yy436; + goto yy1060; + } else { + if (yych <= '9') goto yy1027; + if (yych <= ':') goto yy447; + goto yy12; + } + } + } else { + if (yych <= 'G') { + if (yych <= 'D') { + if (yych <= 'A') goto yy426; + if (yych <= 'C') goto yy12; + goto yy426; + } else { + if (yych == 'F') goto yy426; + goto yy12; + } + } else { + if (yych <= 'P') { + if (yych <= 'J') goto yy426; + if (yych <= 'L') goto yy12; + goto yy426; + } else { + if (yych <= 'R') goto yy12; + if (yych <= 'Y') goto yy426; + goto yy12; + } + } + } + } else { + if (yych <= 'n') { + if (yych <= 'g') { + if (yych <= 'd') { + if (yych <= 'a') goto yy426; + if (yych <= 'c') goto yy12; + goto yy426; + } else { + if (yych == 'f') goto yy426; + goto yy12; + } + } else { + if (yych <= 'j') { + if (yych == 'i') goto yy12; + goto yy426; + } else { + if (yych <= 'l') goto yy12; + if (yych <= 'm') goto yy426; + goto yy434; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'r') { + if (yych <= 'p') goto yy426; + if (yych <= 'q') goto yy12; + goto yy435; + } else { + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy426; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy426; + goto yy12; + } else { + if (yych <= 'y') goto yy426; + if (yych == 0xC2) goto yy426; + goto yy12; + } + } + } + } +yy27: + YYDEBUG(27, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '`') { + if (yych <= '@') { + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy424; + goto yy12; + } else { + if (yych <= ' ') goto yy426; + if (yych <= ',') goto yy12; + goto yy437; + } + } else { + if (yych <= '4') { + if (yych <= '.') goto yy438; + if (yych <= '/') goto yy436; + goto yy1027; + } else { + if (yych <= '9') goto yy1014; + if (yych <= ':') goto yy447; + goto yy12; + } + } + } else { + if (yych <= 'G') { + if (yych <= 'D') { + if (yych <= 'A') goto yy426; + if (yych <= 'C') goto yy12; + goto yy426; + } else { + if (yych == 'F') goto yy426; + goto yy12; + } + } else { + if (yych <= 'P') { + if (yych <= 'J') goto yy426; + if (yych <= 'L') goto yy12; + goto yy426; + } else { + if (yych <= 'R') goto yy12; + if (yych <= 'Y') goto yy426; + goto yy12; + } + } + } + } else { + if (yych <= 'n') { + if (yych <= 'g') { + if (yych <= 'd') { + if (yych <= 'a') goto yy426; + if (yych <= 'c') goto yy12; + goto yy426; + } else { + if (yych == 'f') goto yy426; + goto yy12; + } + } else { + if (yych <= 'j') { + if (yych == 'i') goto yy12; + goto yy426; + } else { + if (yych <= 'l') goto yy12; + if (yych <= 'm') goto yy426; + goto yy434; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'r') { + if (yych <= 'p') goto yy426; + if (yych <= 'q') goto yy12; + goto yy435; + } else { + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy426; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy426; + goto yy12; + } else { + if (yych <= 'y') goto yy426; + if (yych == 0xC2) goto yy426; + goto yy12; + } + } + } + } +yy28: + YYDEBUG(28, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '`') { + if (yych <= '@') { + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy424; + goto yy12; + } else { + if (yych <= ' ') goto yy426; + if (yych <= ',') goto yy12; + goto yy437; + } + } else { + if (yych <= '1') { + if (yych <= '.') goto yy438; + if (yych <= '/') goto yy436; + goto yy1014; + } else { + if (yych <= '9') goto yy433; + if (yych <= ':') goto yy447; + goto yy12; + } + } + } else { + if (yych <= 'G') { + if (yych <= 'D') { + if (yych <= 'A') goto yy426; + if (yych <= 'C') goto yy12; + goto yy426; + } else { + if (yych == 'F') goto yy426; + goto yy12; + } + } else { + if (yych <= 'P') { + if (yych <= 'J') goto yy426; + if (yych <= 'L') goto yy12; + goto yy426; + } else { + if (yych <= 'R') goto yy12; + if (yych <= 'Y') goto yy426; + goto yy12; + } + } + } + } else { + if (yych <= 'n') { + if (yych <= 'g') { + if (yych <= 'd') { + if (yych <= 'a') goto yy426; + if (yych <= 'c') goto yy12; + goto yy426; + } else { + if (yych == 'f') goto yy426; + goto yy12; + } + } else { + if (yych <= 'j') { + if (yych == 'i') goto yy12; + goto yy426; + } else { + if (yych <= 'l') goto yy12; + if (yych <= 'm') goto yy426; + goto yy434; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'r') { + if (yych <= 'p') goto yy426; + if (yych <= 'q') goto yy12; + goto yy435; + } else { + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy426; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy426; + goto yy12; + } else { + if (yych <= 'y') goto yy426; + if (yych == 0xC2) goto yy426; + goto yy12; + } + } + } + } +yy29: + YYDEBUG(29, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'a') { + if (yych <= 'A') { + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy424; + goto yy12; + } else { + if (yych <= ' ') goto yy426; + if (yych <= ',') goto yy12; + goto yy437; + } + } else { + if (yych <= '9') { + if (yych <= '.') goto yy438; + if (yych <= '/') goto yy436; + goto yy433; + } else { + if (yych <= ':') goto yy447; + if (yych <= '@') goto yy12; + goto yy426; + } + } + } else { + if (yych <= 'J') { + if (yych <= 'E') { + if (yych == 'D') goto yy426; + goto yy12; + } else { + if (yych == 'G') goto yy12; + goto yy426; + } + } else { + if (yych <= 'R') { + if (yych <= 'L') goto yy12; + if (yych <= 'P') goto yy426; + goto yy12; + } else { + if (yych <= 'Y') goto yy426; + if (yych <= '`') goto yy12; + goto yy426; + } + } + } + } else { + if (yych <= 'p') { + if (yych <= 'h') { + if (yych <= 'e') { + if (yych == 'd') goto yy426; + goto yy12; + } else { + if (yych == 'g') goto yy12; + goto yy426; + } + } else { + if (yych <= 'l') { + if (yych == 'j') goto yy426; + goto yy12; + } else { + if (yych == 'n') goto yy434; + goto yy426; + } + } + } else { + if (yych <= 'v') { + if (yych <= 's') { + if (yych <= 'q') goto yy12; + if (yych <= 'r') goto yy435; + goto yy429; + } else { + if (yych <= 't') goto yy432; + if (yych <= 'u') goto yy426; + goto yy12; + } + } else { + if (yych <= 'y') { + if (yych == 'x') goto yy12; + goto yy426; + } else { + if (yych == 0xC2) goto yy426; + goto yy12; + } + } + } + } +yy30: + YYDEBUG(30, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 4) { + goto yy57; + } + switch (yych) { + case '+': + case '-': goto yy404; + case '0': + case '1': goto yy401; + case '2': goto yy402; + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy403; + default: goto yy12; + } +yy31: + YYDEBUG(31, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy3; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy3; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy3; + } else { + if (yych == '/') goto yy3; + goto yy220; + } + } + } else { + if (yych <= 'V') { + if (yych <= 'H') { + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'I') goto yy400; + if (yych <= 'U') goto yy165; + goto yy399; + } + } else { + if (yych <= 'Z') { + if (yych == 'X') goto yy399; + goto yy165; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy32: + YYDEBUG(32, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy3; + goto yy220; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy220; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'Z') { + if (yych <= 'I') goto yy396; + goto yy165; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy33: + YYDEBUG(33, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy3; + goto yy220; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy220; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'Z') { + if (yych <= 'I') goto yy394; + goto yy165; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy34: + YYDEBUG(34, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'A') goto yy377; + if (yych <= 'T') goto yy165; + goto yy376; + } + } else { + if (yych <= 'a') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy386; + } else { + if (yych == 'u') goto yy385; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy35: + YYDEBUG(35, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'A') goto yy377; + if (yych <= 'T') goto yy165; + goto yy376; + } + } else { + if (yych <= 'a') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy377; + } else { + if (yych == 'u') goto yy376; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy36: + YYDEBUG(36, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'F') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'O') { + if (yych <= 'G') goto yy355; + goto yy165; + } else { + if (yych <= 'P') goto yy354; + if (yych <= 'T') goto yy165; + goto yy353; + } + } + } else { + if (yych <= 'o') { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych == 'g') goto yy367; + goto yy170; + } + } else { + if (yych <= 't') { + if (yych <= 'p') goto yy366; + goto yy170; + } else { + if (yych <= 'u') goto yy365; + if (yych <= 'z') goto yy170; + goto yy3; + } + } + } +yy37: + YYDEBUG(37, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'F') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'O') { + if (yych <= 'G') goto yy355; + goto yy165; + } else { + if (yych <= 'P') goto yy354; + if (yych <= 'T') goto yy165; + goto yy353; + } + } + } else { + if (yych <= 'o') { + if (yych <= '`') { + if (yych <= 'Z') goto yy165; + goto yy3; + } else { + if (yych == 'g') goto yy355; + goto yy165; + } + } else { + if (yych <= 't') { + if (yych <= 'p') goto yy354; + goto yy165; + } else { + if (yych <= 'u') goto yy353; + if (yych <= 'z') goto yy165; + goto yy3; + } + } + } +yy38: + YYDEBUG(38, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'C') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'B') goto yy165; + goto yy343; + } + } else { + if (yych <= 'b') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy170; + } else { + if (yych <= 'c') goto yy348; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy39: + YYDEBUG(39, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'C') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'B') goto yy165; + goto yy343; + } + } else { + if (yych <= 'b') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy165; + } else { + if (yych <= 'c') goto yy343; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy40: + YYDEBUG(40, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy216; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy170; + } else { + if (yych <= 'e') goto yy334; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy41: + YYDEBUG(41, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy216; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy165; + } else { + if (yych <= 'e') goto yy216; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy42: + YYDEBUG(42, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy189; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy170; + } else { + if (yych <= 'e') goto yy203; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy43: + YYDEBUG(43, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy165; + goto yy189; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + goto yy165; + } else { + if (yych <= 'e') goto yy189; + if (yych <= 'z') goto yy165; + goto yy3; + } + } +yy44: + YYDEBUG(44, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy165; + } else { + if (yych <= 'Z') { + if (yych <= 'M') goto yy181; + goto yy165; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy170; + goto yy3; + } + } +yy45: + YYDEBUG(45, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') goto yy12; + if (yych <= 'Z') goto yy180; + if (yych <= '`') goto yy12; + if (yych <= 'z') goto yy180; + goto yy12; +yy46: + YYDEBUG(46, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy170; + goto yy3; + } +yy47: + YYDEBUG(47, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy165; + goto yy3; + } +yy48: + YYDEBUG(48, *YYCURSOR); + yyaccept = 2; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 4) { + goto yy57; + } + if (yych <= '/') goto yy49; + if (yych <= '9') goto yy54; +yy49: + YYDEBUG(49, *YYCURSOR); +#line 1802 "parse_date.re" + { + goto std; + } +#line 2604 "<stdout>" +yy50: + YYDEBUG(50, *YYCURSOR); + yych = *++YYCURSOR; + goto yy49; +yy51: + YYDEBUG(51, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(52, *YYCURSOR); +#line 1807 "parse_date.re" + { + s->pos = cursor; s->line++; + goto std; + } +#line 2618 "<stdout>" +yy53: + YYDEBUG(53, *YYCURSOR); + yych = *++YYCURSOR; + goto yy12; +yy54: + YYDEBUG(54, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); + yych = *YYCURSOR; + YYDEBUG(55, *YYCURSOR); + if (yybm[0+yych] & 2) { + goto yy54; + } + if (yych <= 'X') { + if (yych <= 'G') { + if (yych <= ' ') { + if (yych == '\t') goto yy59; + if (yych >= ' ') goto yy59; + } else { + if (yych <= 'D') { + if (yych >= 'D') goto yy66; + } else { + if (yych == 'F') goto yy67; + } + } + } else { + if (yych <= 'S') { + if (yych <= 'L') { + if (yych <= 'H') goto yy65; + } else { + if (yych <= 'M') goto yy61; + if (yych >= 'S') goto yy64; + } + } else { + if (yych <= 'U') { + if (yych <= 'T') goto yy70; + goto yy63; + } else { + if (yych == 'W') goto yy69; + } + } + } + } else { + if (yych <= 'r') { + if (yych <= 'f') { + if (yych <= 'c') { + if (yych <= 'Y') goto yy68; + } else { + if (yych <= 'd') goto yy66; + if (yych >= 'f') goto yy67; + } + } else { + if (yych <= 'h') { + if (yych >= 'h') goto yy65; + } else { + if (yych == 'm') goto yy61; + } + } + } else { + if (yych <= 'w') { + if (yych <= 't') { + if (yych <= 's') goto yy64; + goto yy70; + } else { + if (yych <= 'u') goto yy63; + if (yych >= 'w') goto yy69; + } + } else { + if (yych <= 'y') { + if (yych >= 'y') goto yy68; + } else { + if (yych == 0xC2) goto yy62; + } + } + } + } +yy56: + YYDEBUG(56, *YYCURSOR); + YYCURSOR = YYMARKER; + if (yyaccept <= 16) { + if (yyaccept <= 8) { + if (yyaccept <= 4) { + if (yyaccept <= 2) { + if (yyaccept <= 1) { + if (yyaccept == 0) { + goto yy3; + } else { + goto yy12; + } + } else { + goto yy49; + } + } else { + if (yyaccept == 3) { + goto yy74; + } else { + goto yy191; + } + } + } else { + if (yyaccept <= 6) { + if (yyaccept == 5) { + goto yy218; + } else { + goto yy232; + } + } else { + if (yyaccept == 7) { + goto yy246; + } else { + goto yy357; + } + } + } + } else { + if (yyaccept <= 12) { + if (yyaccept <= 10) { + if (yyaccept == 9) { + goto yy440; + } else { + goto yy455; + } + } else { + if (yyaccept == 11) { + goto yy576; + } else { + goto yy621; + } + } + } else { + if (yyaccept <= 14) { + if (yyaccept == 13) { + goto yy631; + } else { + goto yy728; + } + } else { + if (yyaccept == 15) { + goto yy748; + } else { + goto yy779; + } + } + } + } + } else { + if (yyaccept <= 25) { + if (yyaccept <= 21) { + if (yyaccept <= 19) { + if (yyaccept <= 18) { + if (yyaccept == 17) { + goto yy786; + } else { + goto yy813; + } + } else { + goto yy758; + } + } else { + if (yyaccept == 20) { + goto yy419; + } else { + goto yy938; + } + } + } else { + if (yyaccept <= 23) { + if (yyaccept == 22) { + goto yy807; + } else { + goto yy1032; + } + } else { + if (yyaccept == 24) { + goto yy1040; + } else { + goto yy1084; + } + } + } + } else { + if (yyaccept <= 29) { + if (yyaccept <= 27) { + if (yyaccept == 26) { + goto yy1108; + } else { + goto yy1284; + } + } else { + if (yyaccept == 28) { + goto yy1379; + } else { + goto yy1417; + } + } + } else { + if (yyaccept <= 31) { + if (yyaccept == 30) { + goto yy1420; + } else { + goto yy1500; + } + } else { + if (yyaccept == 32) { + goto yy1508; + } else { + goto yy1531; + } + } + } + } + } +yy57: + YYDEBUG(57, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(58, *YYCURSOR); + if (yybm[0+yych] & 4) { + goto yy57; + } + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy54; + goto yy56; +yy59: + YYDEBUG(59, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); + yych = *YYCURSOR; +yy60: + YYDEBUG(60, *YYCURSOR); + if (yych <= 'X') { + if (yych <= 'G') { + if (yych <= ' ') { + if (yych == '\t') goto yy59; + if (yych <= 0x1F) goto yy56; + goto yy59; + } else { + if (yych <= 'D') { + if (yych <= 'C') goto yy56; + goto yy66; + } else { + if (yych == 'F') goto yy67; + goto yy56; + } + } + } else { + if (yych <= 'S') { + if (yych <= 'L') { + if (yych <= 'H') goto yy65; + goto yy56; + } else { + if (yych <= 'M') goto yy61; + if (yych <= 'R') goto yy56; + goto yy64; + } + } else { + if (yych <= 'U') { + if (yych <= 'T') goto yy70; + goto yy63; + } else { + if (yych == 'W') goto yy69; + goto yy56; + } + } + } + } else { + if (yych <= 'r') { + if (yych <= 'f') { + if (yych <= 'c') { + if (yych <= 'Y') goto yy68; + goto yy56; + } else { + if (yych <= 'd') goto yy66; + if (yych <= 'e') goto yy56; + goto yy67; + } + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + goto yy65; + } else { + if (yych != 'm') goto yy56; + } + } + } else { + if (yych <= 'w') { + if (yych <= 't') { + if (yych <= 's') goto yy64; + goto yy70; + } else { + if (yych <= 'u') goto yy63; + if (yych <= 'v') goto yy56; + goto yy69; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy56; + goto yy68; + } else { + if (yych == 0xC2) goto yy62; + goto yy56; + } + } + } + } +yy61: + YYDEBUG(61, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= 'N') { + if (yych == 'I') goto yy138; + goto yy56; + } else { + if (yych <= 'O') goto yy137; + if (yych <= 'R') goto yy56; + goto yy139; + } + } else { + if (yych <= 'n') { + if (yych == 'i') goto yy138; + goto yy56; + } else { + if (yych <= 'o') goto yy137; + if (yych == 's') goto yy139; + goto yy56; + } + } +yy62: + YYDEBUG(62, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 0xB5) goto yy134; + goto yy56; +yy63: + YYDEBUG(63, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy132; + if (yych == 's') goto yy132; + goto yy56; +yy64: + YYDEBUG(64, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'D') { + if (yych == 'A') goto yy119; + goto yy56; + } else { + if (yych <= 'E') goto yy120; + if (yych <= 'T') goto yy56; + goto yy118; + } + } else { + if (yych <= 'd') { + if (yych == 'a') goto yy119; + goto yy56; + } else { + if (yych <= 'e') goto yy120; + if (yych == 'u') goto yy118; + goto yy56; + } + } +yy65: + YYDEBUG(65, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy116; + if (yych == 'o') goto yy116; + goto yy56; +yy66: + YYDEBUG(66, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy115; + if (yych == 'a') goto yy115; + goto yy56; +yy67: + YYDEBUG(67, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych == 'O') goto yy100; + if (yych <= 'Q') goto yy56; + goto yy99; + } else { + if (yych <= 'o') { + if (yych <= 'n') goto yy56; + goto yy100; + } else { + if (yych == 'r') goto yy99; + goto yy56; + } + } +yy68: + YYDEBUG(68, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy96; + if (yych == 'e') goto yy96; + goto yy56; +yy69: + YYDEBUG(69, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy84; + if (yych == 'e') goto yy84; + goto yy56; +yy70: + YYDEBUG(70, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'H') goto yy71; + if (yych <= 'T') goto yy56; + goto yy72; + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + } else { + if (yych == 'u') goto yy72; + goto yy56; + } + } +yy71: + YYDEBUG(71, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'U') goto yy79; + if (yych == 'u') goto yy79; + goto yy56; +yy72: + YYDEBUG(72, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy73; + if (yych != 'e') goto yy56; +yy73: + YYDEBUG(73, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'S') goto yy75; + if (yych == 's') goto yy75; +yy74: + YYDEBUG(74, *YYCURSOR); +#line 1786 "parse_date.re" + { + timelib_ull i; + DEBUG_OUTPUT("relative"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + + while(*ptr) { + i = timelib_get_unsigned_nr((char **) &ptr, 24); + timelib_eat_spaces((char **) &ptr); + timelib_set_relative((char **) &ptr, i, 1, s); + } + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 3069 "<stdout>" +yy75: + YYDEBUG(75, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy76; + if (yych != 'd') goto yy56; +yy76: + YYDEBUG(76, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy77; + if (yych != 'a') goto yy56; +yy77: + YYDEBUG(77, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy78; + if (yych != 'y') goto yy56; +yy78: + YYDEBUG(78, *YYCURSOR); + yych = *++YYCURSOR; + goto yy74; +yy79: + YYDEBUG(79, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'R') goto yy80; + if (yych != 'r') goto yy74; +yy80: + YYDEBUG(80, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy81; + if (yych != 's') goto yy56; +yy81: + YYDEBUG(81, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy82; + if (yych != 'd') goto yy56; +yy82: + YYDEBUG(82, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy83; + if (yych != 'a') goto yy56; +yy83: + YYDEBUG(83, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy78; + if (yych == 'y') goto yy78; + goto yy56; +yy84: + YYDEBUG(84, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= 'C') goto yy56; + if (yych <= 'D') goto yy86; + } else { + if (yych <= 'c') goto yy56; + if (yych <= 'd') goto yy86; + if (yych >= 'f') goto yy56; + } + YYDEBUG(85, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'K') goto yy92; + if (yych == 'k') goto yy92; + goto yy56; +yy86: + YYDEBUG(86, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'N') goto yy87; + if (yych != 'n') goto yy74; +yy87: + YYDEBUG(87, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy88; + if (yych != 'e') goto yy56; +yy88: + YYDEBUG(88, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy89; + if (yych != 's') goto yy56; +yy89: + YYDEBUG(89, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy90; + if (yych != 'd') goto yy56; +yy90: + YYDEBUG(90, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy91; + if (yych != 'a') goto yy56; +yy91: + YYDEBUG(91, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy78; + if (yych == 'y') goto yy78; + goto yy56; +yy92: + YYDEBUG(92, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych == 'D') goto yy93; + if (yych <= 'R') goto yy74; + goto yy78; + } else { + if (yych <= 'd') { + if (yych <= 'c') goto yy74; + } else { + if (yych == 's') goto yy78; + goto yy74; + } + } +yy93: + YYDEBUG(93, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy94; + if (yych != 'a') goto yy56; +yy94: + YYDEBUG(94, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy95; + if (yych != 'y') goto yy56; +yy95: + YYDEBUG(95, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy78; + if (yych == 's') goto yy78; + goto yy74; +yy96: + YYDEBUG(96, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy97; + if (yych != 'a') goto yy56; +yy97: + YYDEBUG(97, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy98; + if (yych != 'r') goto yy56; +yy98: + YYDEBUG(98, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy78; + if (yych == 's') goto yy78; + goto yy74; +yy99: + YYDEBUG(99, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy112; + if (yych == 'i') goto yy112; + goto yy56; +yy100: + YYDEBUG(100, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy101; + if (yych != 'r') goto yy56; +yy101: + YYDEBUG(101, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy102; + if (yych != 't') goto yy56; +yy102: + YYDEBUG(102, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'H') goto yy104; + if (yych <= 'M') goto yy56; + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + goto yy104; + } else { + if (yych != 'n') goto yy56; + } + } + YYDEBUG(103, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy109; + if (yych == 'i') goto yy109; + goto yy56; +yy104: + YYDEBUG(104, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy105; + if (yych != 'n') goto yy56; +yy105: + YYDEBUG(105, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy106; + if (yych != 'i') goto yy56; +yy106: + YYDEBUG(106, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy107; + if (yych != 'g') goto yy56; +yy107: + YYDEBUG(107, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy108; + if (yych != 'h') goto yy56; +yy108: + YYDEBUG(108, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy98; + if (yych == 't') goto yy98; + goto yy56; +yy109: + YYDEBUG(109, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy110; + if (yych != 'g') goto yy56; +yy110: + YYDEBUG(110, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy111; + if (yych != 'h') goto yy56; +yy111: + YYDEBUG(111, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy98; + if (yych == 't') goto yy98; + goto yy56; +yy112: + YYDEBUG(112, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'D') goto yy113; + if (yych != 'd') goto yy74; +yy113: + YYDEBUG(113, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy114; + if (yych != 'a') goto yy56; +yy114: + YYDEBUG(114, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy78; + if (yych == 'y') goto yy78; + goto yy56; +yy115: + YYDEBUG(115, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy98; + if (yych == 'y') goto yy98; + goto yy56; +yy116: + YYDEBUG(116, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'U') goto yy117; + if (yych != 'u') goto yy56; +yy117: + YYDEBUG(117, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy98; + if (yych == 'r') goto yy98; + goto yy56; +yy118: + YYDEBUG(118, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy129; + if (yych == 'n') goto yy129; + goto yy56; +yy119: + YYDEBUG(119, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy124; + if (yych == 't') goto yy124; + goto yy56; +yy120: + YYDEBUG(120, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy121; + if (yych != 'c') goto yy56; +yy121: + YYDEBUG(121, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych == 'O') goto yy122; + if (yych <= 'R') goto yy74; + goto yy78; + } else { + if (yych <= 'o') { + if (yych <= 'n') goto yy74; + } else { + if (yych == 's') goto yy78; + goto yy74; + } + } +yy122: + YYDEBUG(122, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy123; + if (yych != 'n') goto yy56; +yy123: + YYDEBUG(123, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy98; + if (yych == 'd') goto yy98; + goto yy56; +yy124: + YYDEBUG(124, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'U') goto yy125; + if (yych != 'u') goto yy74; +yy125: + YYDEBUG(125, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy126; + if (yych != 'r') goto yy56; +yy126: + YYDEBUG(126, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy127; + if (yych != 'd') goto yy56; +yy127: + YYDEBUG(127, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy128; + if (yych != 'a') goto yy56; +yy128: + YYDEBUG(128, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy78; + if (yych == 'y') goto yy78; + goto yy56; +yy129: + YYDEBUG(129, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'D') goto yy130; + if (yych != 'd') goto yy74; +yy130: + YYDEBUG(130, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy131; + if (yych != 'a') goto yy56; +yy131: + YYDEBUG(131, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy78; + if (yych == 'y') goto yy78; + goto yy56; +yy132: + YYDEBUG(132, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy133; + if (yych != 'e') goto yy56; +yy133: + YYDEBUG(133, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy98; + if (yych == 'c') goto yy98; + goto yy56; +yy134: + YYDEBUG(134, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy135; + if (yych != 's') goto yy56; +yy135: + YYDEBUG(135, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy136; + if (yych != 'e') goto yy74; +yy136: + YYDEBUG(136, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy98; + if (yych == 'c') goto yy98; + goto yy56; +yy137: + YYDEBUG(137, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy160; + if (yych == 'n') goto yy160; + goto yy56; +yy138: + YYDEBUG(138, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= 'K') { + if (yych == 'C') goto yy142; + goto yy56; + } else { + if (yych <= 'L') goto yy141; + if (yych <= 'M') goto yy56; + goto yy143; + } + } else { + if (yych <= 'k') { + if (yych == 'c') goto yy142; + goto yy56; + } else { + if (yych <= 'l') goto yy141; + if (yych == 'n') goto yy143; + goto yy56; + } + } +yy139: + YYDEBUG(139, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy140; + if (yych != 'e') goto yy74; +yy140: + YYDEBUG(140, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy98; + if (yych == 'c') goto yy98; + goto yy56; +yy141: + YYDEBUG(141, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'L') goto yy153; + if (yych == 'l') goto yy153; + goto yy56; +yy142: + YYDEBUG(142, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy146; + if (yych == 'r') goto yy146; + goto yy56; +yy143: + YYDEBUG(143, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'U') { + if (yych == 'S') goto yy78; + if (yych <= 'T') goto yy74; + } else { + if (yych <= 's') { + if (yych <= 'r') goto yy74; + goto yy78; + } else { + if (yych != 'u') goto yy74; + } + } + YYDEBUG(144, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy145; + if (yych != 't') goto yy56; +yy145: + YYDEBUG(145, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy98; + if (yych == 'e') goto yy98; + goto yy56; +yy146: + YYDEBUG(146, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy147; + if (yych != 'o') goto yy56; +yy147: + YYDEBUG(147, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy148; + if (yych != 's') goto yy56; +yy148: + YYDEBUG(148, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy149; + if (yych != 'e') goto yy56; +yy149: + YYDEBUG(149, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy150; + if (yych != 'c') goto yy56; +yy150: + YYDEBUG(150, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy151; + if (yych != 'o') goto yy56; +yy151: + YYDEBUG(151, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy152; + if (yych != 'n') goto yy56; +yy152: + YYDEBUG(152, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy98; + if (yych == 'd') goto yy98; + goto yy56; +yy153: + YYDEBUG(153, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy154; + if (yych != 'i') goto yy56; +yy154: + YYDEBUG(154, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy155; + if (yych != 's') goto yy56; +yy155: + YYDEBUG(155, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy156; + if (yych != 'e') goto yy56; +yy156: + YYDEBUG(156, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy157; + if (yych != 'c') goto yy56; +yy157: + YYDEBUG(157, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy158; + if (yych != 'o') goto yy56; +yy158: + YYDEBUG(158, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy159; + if (yych != 'n') goto yy56; +yy159: + YYDEBUG(159, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy98; + if (yych == 'd') goto yy98; + goto yy56; +yy160: + YYDEBUG(160, *YYCURSOR); + yyaccept = 3; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych == 'D') goto yy161; + if (yych <= 'S') goto yy74; + goto yy162; + } else { + if (yych <= 'd') { + if (yych <= 'c') goto yy74; + } else { + if (yych == 't') goto yy162; + goto yy74; + } + } +yy161: + YYDEBUG(161, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy163; + if (yych == 'a') goto yy163; + goto yy56; +yy162: + YYDEBUG(162, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy98; + if (yych == 'h') goto yy98; + goto yy56; +yy163: + YYDEBUG(163, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy78; + if (yych == 'y') goto yy78; + goto yy56; +yy164: + YYDEBUG(164, *YYCURSOR); + yych = *++YYCURSOR; + goto yy3; +yy165: + YYDEBUG(165, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych >= '{') goto yy3; + } +yy166: + YYDEBUG(166, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + if (yych >= '{') goto yy3; + } +yy167: + YYDEBUG(167, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + if (yych >= '{') goto yy3; + } +yy168: + YYDEBUG(168, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + if (yych >= '{') goto yy3; + } +yy169: + YYDEBUG(169, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == ')') goto yy164; + goto yy3; +yy170: + YYDEBUG(170, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + goto yy172; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy3; + if (yych <= 'Z') goto yy166; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + if (yych >= '{') goto yy3; + } + } +yy171: + YYDEBUG(171, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy3; + if (yych <= 'Z') goto yy167; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy175; + goto yy3; + } + } +yy172: + YYDEBUG(172, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + if (yybm[0+yych] & 8) { + goto yy173; + } + goto yy56; +yy173: + YYDEBUG(173, *YYCURSOR); + yyaccept = 0; + YYMARKER = ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(174, *YYCURSOR); + if (yybm[0+yych] & 8) { + goto yy173; + } + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy3; + } else { + if (yych <= '/') goto yy172; + if (yych == '_') goto yy172; + goto yy3; + } +yy175: + YYDEBUG(175, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + goto yy172; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy3; + if (yych <= 'Z') goto yy168; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + if (yych >= '{') goto yy3; + } + } +yy176: + YYDEBUG(176, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + goto yy172; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy3; + if (yych <= 'Z') goto yy169; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + if (yych >= '{') goto yy3; + } + } +yy177: + YYDEBUG(177, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych <= '/') { + if (yych <= '.') goto yy3; + goto yy172; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } +yy178: + YYDEBUG(178, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; +yy179: + YYDEBUG(179, *YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy56; + } else { + if (yych <= '/') goto yy172; + if (yych == '_') goto yy172; + goto yy56; + } +yy180: + YYDEBUG(180, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Z') goto yy165; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy165; + goto yy3; + } +yy181: + YYDEBUG(181, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy166; + } else { + if (yych <= 'Z') { + if (yych >= 'U') goto yy166; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy166; + goto yy3; + } + } + YYDEBUG(182, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych != '+') goto yy3; + } + } else { + if (yych <= 'Z') { + if (yych <= '-') goto yy183; + if (yych <= '@') goto yy3; + goto yy167; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy183: + YYDEBUG(183, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy184; + if (yych <= '2') goto yy185; + if (yych <= '9') goto yy186; + goto yy56; +yy184: + YYDEBUG(184, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy186; + if (yych <= ':') goto yy187; + goto yy3; +yy185: + YYDEBUG(185, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '5') { + if (yych <= '/') goto yy3; + if (yych >= '5') goto yy188; + } else { + if (yych <= '9') goto yy164; + if (yych <= ':') goto yy187; + goto yy3; + } +yy186: + YYDEBUG(186, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy3; + if (yych <= '5') goto yy188; + if (yych <= '9') goto yy164; + if (yych >= ';') goto yy3; +yy187: + YYDEBUG(187, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy3; + if (yych <= '5') goto yy188; + if (yych <= '9') goto yy164; + goto yy3; +yy188: + YYDEBUG(188, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy164; + goto yy3; +yy189: + YYDEBUG(189, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'C') goto yy166; + if (yych >= 'E') goto yy192; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'd') goto yy190; + if (yych <= 'e') goto yy192; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy190: + YYDEBUG(190, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= 'N') { + if (yych <= ')') { + if (yych >= ')') goto yy164; + } else { + if (yych <= '@') goto yy191; + if (yych <= 'M') goto yy167; + goto yy198; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy167; + if (yych >= 'a') goto yy167; + } else { + if (yych <= 'n') goto yy198; + if (yych <= 'z') goto yy167; + } + } +yy191: + YYDEBUG(191, *YYCURSOR); +#line 1649 "parse_date.re" + { + const timelib_relunit* relunit; + DEBUG_OUTPUT("daytext"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + TIMELIB_HAVE_WEEKDAY_RELATIVE(); + TIMELIB_UNHAVE_TIME(); + relunit = timelib_lookup_relunit((char**) &ptr); + s->time->relative.weekday = relunit->multiplier; + if (s->time->relative.weekday_behavior != 2) { + s->time->relative.weekday_behavior = 1; + } + + TIMELIB_DEINIT; + return TIMELIB_WEEKDAY; + } +#line 3989 "<stdout>" +yy192: + YYDEBUG(192, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'K') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'J') goto yy167; + } + } else { + if (yych <= 'j') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'k') goto yy193; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy193: + YYDEBUG(193, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy168; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'd') goto yy194; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy194: + YYDEBUG(194, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy169; + goto yy3; + } else { + if (yych <= 'a') goto yy195; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy195: + YYDEBUG(195, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'X') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Y') goto yy196; + if (yych != 'y') goto yy3; + } +yy196: + YYDEBUG(196, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy197; + if (yych != 's') goto yy191; +yy197: + YYDEBUG(197, *YYCURSOR); + yych = *++YYCURSOR; + goto yy191; +yy198: + YYDEBUG(198, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy168; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'e') goto yy199; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy199: + YYDEBUG(199, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'R') goto yy169; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 's') goto yy200; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy200: + YYDEBUG(200, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'D') goto yy201; + if (yych != 'd') goto yy3; + } +yy201: + YYDEBUG(201, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy202; + if (yych != 'a') goto yy56; +yy202: + YYDEBUG(202, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy197; + if (yych == 'y') goto yy197; + goto yy56; +yy203: + YYDEBUG(203, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych <= '/') { + if (yych <= '.') goto yy3; + goto yy172; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy166; + goto yy190; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'E') goto yy192; + goto yy166; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 'd') { + if (yych <= 'c') goto yy171; + } else { + if (yych <= 'e') goto yy205; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } + YYDEBUG(204, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy191; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy198; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy191; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy191; + goto yy175; + } else { + if (yych <= 'n') goto yy211; + if (yych <= 'z') goto yy175; + goto yy191; + } + } + } +yy205: + YYDEBUG(205, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'J') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'K') goto yy193; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'j') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'k') goto yy206; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy206: + YYDEBUG(206, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy194; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'd') goto yy207; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy207: + YYDEBUG(207, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy195; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy208; + if (yych <= 'z') goto yy177; + goto yy3; + } + } +yy208: + YYDEBUG(208, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'Y') goto yy196; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'y') goto yy209; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy209: + YYDEBUG(209, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy191; + } else { + if (yych <= '/') goto yy172; + if (yych <= 'R') goto yy191; + goto yy197; + } + } else { + if (yych <= '`') { + if (yych == '_') goto yy172; + goto yy191; + } else { + if (yych == 's') goto yy210; + if (yych <= 'z') goto yy178; + goto yy191; + } + } +yy210: + YYDEBUG(210, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy191; + } else { + if (yych <= '/') goto yy172; + if (yych == '_') goto yy172; + goto yy191; + } +yy211: + YYDEBUG(211, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy199; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'e') goto yy212; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy212: + YYDEBUG(212, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'S') goto yy200; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'r') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 's') goto yy213; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy213: + YYDEBUG(213, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'D') goto yy201; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'd') goto yy214; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy214: + YYDEBUG(214, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy202; + if (yych != 'a') goto yy179; + YYDEBUG(215, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy197; + if (yych == 'y') goto yy210; + goto yy179; +yy216: + YYDEBUG(216, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'C') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'B') goto yy166; + } + } else { + if (yych <= 'b') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'c') goto yy217; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy217: + YYDEBUG(217, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych >= '\t') goto yy220; + } else { + if (yych == ' ') goto yy220; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + } else { + if (yych == 'E') goto yy225; + goto yy167; + } + } else { + if (yych <= 'd') { + if (yych >= 'a') goto yy167; + } else { + if (yych <= 'e') goto yy225; + if (yych <= 'z') goto yy167; + } + } + } +yy218: + YYDEBUG(218, *YYCURSOR); +#line 1708 "parse_date.re" + { + DEBUG_OUTPUT("monthtext"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->m = timelib_lookup_month((char **) &ptr); + TIMELIB_DEINIT; + return TIMELIB_DATE_TEXT; + } +#line 4518 "<stdout>" +yy219: + YYDEBUG(219, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 23) YYFILL(23); + yych = *YYCURSOR; +yy220: + YYDEBUG(220, *YYCURSOR); + if (yybm[0+yych] & 32) { + goto yy219; + } + if (yych <= '/') goto yy56; + if (yych <= '2') goto yy222; + if (yych <= '3') goto yy223; + if (yych <= '9') goto yy224; + goto yy56; +yy221: + YYDEBUG(221, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy220; + if (yych <= '0') goto yy324; + if (yych <= '2') goto yy325; + if (yych <= '3') goto yy326; + goto yy220; +yy222: + YYDEBUG(222, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy236; + goto yy56; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + goto yy323; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } +yy223: + YYDEBUG(223, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '1') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy236; + goto yy56; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + goto yy323; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= '9') goto yy230; + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } +yy224: + YYDEBUG(224, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy236; + goto yy56; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + goto yy230; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } +yy225: + YYDEBUG(225, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'M') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'L') goto yy168; + } + } else { + if (yych <= 'l') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'm') goto yy226; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy226: + YYDEBUG(226, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'B') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'A') goto yy169; + } + } else { + if (yych <= 'a') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'b') goto yy227; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy227: + YYDEBUG(227, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'E') goto yy228; + if (yych != 'e') goto yy3; + } +yy228: + YYDEBUG(228, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy229; + if (yych != 'r') goto yy56; +yy229: + YYDEBUG(229, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy218; + goto yy220; + } else { + if (yych <= '.') { + if (yych <= ',') goto yy218; + goto yy220; + } else { + if (yych <= '/') goto yy218; + if (yych <= '9') goto yy220; + goto yy218; + } + } +yy230: + YYDEBUG(230, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy320; + goto yy56; +yy231: + YYDEBUG(231, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 't') goto yy319; + goto yy237; +yy232: + YYDEBUG(232, *YYCURSOR); +#line 1454 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("datetextual | datenoyear"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->m = timelib_get_month((char **) &ptr); + s->time->d = timelib_get_nr((char **) &ptr, 2); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_DATE_TEXT; + } +#line 4780 "<stdout>" +yy233: + YYDEBUG(233, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'd') goto yy319; + goto yy237; +yy234: + YYDEBUG(234, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'd') goto yy319; + goto yy237; +yy235: + YYDEBUG(235, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'h') goto yy319; + goto yy237; +yy236: + YYDEBUG(236, *YYCURSOR); + yyaccept = 6; + YYMARKER = ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 18) YYFILL(18); + yych = *YYCURSOR; +yy237: + YYDEBUG(237, *YYCURSOR); + if (yybm[0+yych] & 64) { + goto yy236; + } + if (yych <= '2') { + if (yych <= '/') goto yy232; + if (yych <= '0') goto yy310; + if (yych <= '1') goto yy311; + goto yy312; + } else { + if (yych <= '9') goto yy313; + if (yych == 'T') goto yy239; + goto yy232; + } +yy238: + YYDEBUG(238, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '0') { + if (yych <= '/') goto yy232; + goto yy240; + } else { + if (yych <= '1') goto yy241; + if (yych <= '2') goto yy242; + goto yy243; + } + } else { + if (yych <= 'T') { + if (yych <= 'S') goto yy232; + } else { + if (yych != 't') goto yy232; + } + } +yy239: + YYDEBUG(239, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy308; + if (yych <= '2') goto yy309; + if (yych <= '9') goto yy298; + goto yy56; +yy240: + YYDEBUG(240, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy299; + goto yy56; + } else { + if (yych <= '0') goto yy298; + if (yych <= '9') goto yy243; + if (yych <= ':') goto yy299; + goto yy56; + } +yy241: + YYDEBUG(241, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy244; + goto yy56; + } else { + if (yych <= '2') goto yy243; + if (yych <= '9') goto yy298; + if (yych <= ':') goto yy244; + goto yy56; + } +yy242: + YYDEBUG(242, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy244; + goto yy56; + } else { + if (yych <= '4') goto yy298; + if (yych == ':') goto yy244; + goto yy56; + } +yy243: + YYDEBUG(243, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '.') goto yy244; + if (yych != ':') goto yy56; +yy244: + YYDEBUG(244, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy245; + if (yych <= '9') goto yy247; + goto yy56; +yy245: + YYDEBUG(245, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy248; + } else { + if (yych <= '9') goto yy291; + if (yych <= ':') goto yy248; + } +yy246: + YYDEBUG(246, *YYCURSOR); +#line 1756 "parse_date.re" + { + int tz_not_found; + DEBUG_OUTPUT("dateshortwithtimeshort | dateshortwithtimelong | dateshortwithtimelongtz"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->m = timelib_get_month((char **) &ptr); + s->time->d = timelib_get_nr((char **) &ptr, 2); + + TIMELIB_HAVE_TIME(); + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + if (*ptr == ':') { + s->time->s = timelib_get_nr((char **) &ptr, 2); + + if (*ptr == '.') { + s->time->us = timelib_get_frac_nr((char **) &ptr, 8); + } + } + + if (*ptr != '\0') { + s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); + if (tz_not_found) { + add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); + } + } + TIMELIB_DEINIT; + return TIMELIB_SHORTDATE_WITH_TIME; + } +#line 4936 "<stdout>" +yy247: + YYDEBUG(247, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy248; + if (yych != ':') goto yy246; +yy248: + YYDEBUG(248, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy249; + if (yych <= '6') goto yy250; + if (yych <= '9') goto yy251; + goto yy56; +yy249: + YYDEBUG(249, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy246; + if (yych <= '9') goto yy252; + goto yy246; +yy250: + YYDEBUG(250, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '0') goto yy252; + goto yy246; +yy251: + YYDEBUG(251, *YYCURSOR); + yych = *++YYCURSOR; + goto yy246; +yy252: + YYDEBUG(252, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '*') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy254; + goto yy246; + } else { + if (yych <= ' ') goto yy254; + if (yych == '(') goto yy254; + goto yy246; + } + } else { + if (yych <= '@') { + if (yych == ',') goto yy246; + if (yych <= '-') goto yy254; + goto yy246; + } else { + if (yych <= 'Z') goto yy254; + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy254; + goto yy246; + } + } +yy253: + YYDEBUG(253, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); + yych = *YYCURSOR; +yy254: + YYDEBUG(254, *YYCURSOR); + if (yych <= '@') { + if (yych <= '\'') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy56; + goto yy253; + } else { + if (yych == ' ') goto yy253; + goto yy56; + } + } else { + if (yych <= '+') { + if (yych <= '(') goto yy257; + if (yych <= '*') goto yy56; + goto yy256; + } else { + if (yych == '-') goto yy256; + goto yy56; + } + } + } else { + if (yych <= 'Z') { + if (yych <= 'G') { + if (yych <= 'A') goto yy258; + if (yych <= 'F') goto yy259; + } else { + if (yych == 'P') goto yy258; + goto yy259; + } + } else { + if (yych <= 'o') { + if (yych <= '`') goto yy56; + if (yych <= 'a') goto yy260; + goto yy261; + } else { + if (yych <= 'p') goto yy260; + if (yych <= 'z') goto yy261; + goto yy56; + } + } + } +yy255: + YYDEBUG(255, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych == ')') goto yy251; + if (yych <= '@') goto yy246; + goto yy262; + } else { + if (yych <= 'Z') { + if (yych <= 'M') goto yy289; + goto yy262; + } else { + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy273; + goto yy246; + } + } +yy256: + YYDEBUG(256, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy284; + if (yych <= '2') goto yy285; + if (yych <= '9') goto yy286; + goto yy56; +yy257: + YYDEBUG(257, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') goto yy56; + if (yych <= 'Z') goto yy261; + if (yych <= '`') goto yy56; + if (yych <= 'z') goto yy261; + goto yy56; +yy258: + YYDEBUG(258, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'L') { + if (yych <= '-') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= '.') goto yy267; + if (yych <= '@') goto yy246; + goto yy262; + } + } else { + if (yych <= '`') { + if (yych <= 'M') goto yy268; + if (yych <= 'Z') goto yy262; + goto yy246; + } else { + if (yych == 'm') goto yy283; + if (yych <= 'z') goto yy273; + goto yy246; + } + } +yy259: + YYDEBUG(259, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= 'Z') goto yy262; + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy273; + goto yy246; + } +yy260: + YYDEBUG(260, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'L') { + if (yych <= '-') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= '.') goto yy267; + if (yych <= '@') goto yy246; + goto yy262; + } + } else { + if (yych <= '`') { + if (yych <= 'M') goto yy268; + if (yych <= 'Z') goto yy262; + goto yy246; + } else { + if (yych == 'm') goto yy268; + if (yych <= 'z') goto yy262; + goto yy246; + } + } +yy261: + YYDEBUG(261, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= 'Z') goto yy262; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } +yy262: + YYDEBUG(262, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= 'Z') goto yy263; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } +yy263: + YYDEBUG(263, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= 'Z') goto yy264; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } +yy264: + YYDEBUG(264, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= 'Z') goto yy265; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } +yy265: + YYDEBUG(265, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '@') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych <= 'Z') goto yy266; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } +yy266: + YYDEBUG(266, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == ')') goto yy251; + goto yy246; +yy267: + YYDEBUG(267, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy272; + if (yych == 'm') goto yy272; + goto yy56; +yy268: + YYDEBUG(268, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ')') { + if (yych <= '\t') { + if (yych <= 0x00) goto yy270; + if (yych <= 0x08) goto yy246; + goto yy270; + } else { + if (yych == ' ') goto yy270; + if (yych <= '(') goto yy246; + goto yy251; + } + } else { + if (yych <= '@') { + if (yych != '.') goto yy246; + } else { + if (yych <= 'Z') goto yy263; + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy263; + goto yy246; + } + } +yy269: + YYDEBUG(269, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy270; + if (yych <= 0x08) goto yy56; + } else { + if (yych != ' ') goto yy56; + } +yy270: + YYDEBUG(270, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(271, *YYCURSOR); +#line 1732 "parse_date.re" + { + DEBUG_OUTPUT("dateshortwithtimeshort12 | dateshortwithtimelong12"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->m = timelib_get_month((char **) &ptr); + s->time->d = timelib_get_nr((char **) &ptr, 2); + + TIMELIB_HAVE_TIME(); + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + if (*ptr == ':' || *ptr == '.') { + s->time->s = timelib_get_nr((char **) &ptr, 2); + + if (*ptr == '.') { + s->time->us = timelib_get_frac_nr((char **) &ptr, 8); + } + } + + s->time->h += timelib_meridian((char **) &ptr, s->time->h); + TIMELIB_DEINIT; + return TIMELIB_SHORTDATE_WITH_TIME; + } +#line 5257 "<stdout>" +yy272: + YYDEBUG(272, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy270; + if (yych == '\t') goto yy270; + goto yy56; + } else { + if (yych <= ' ') goto yy270; + if (yych == '.') goto yy269; + goto yy56; + } +yy273: + YYDEBUG(273, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych == '.') goto yy246; + goto yy275; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy246; + if (yych <= 'Z') goto yy263; + goto yy246; + } else { + if (yych <= '_') goto yy275; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } + } +yy274: + YYDEBUG(274, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych == '.') goto yy246; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy246; + if (yych <= 'Z') goto yy264; + goto yy246; + } else { + if (yych <= '_') goto yy275; + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy278; + goto yy246; + } + } +yy275: + YYDEBUG(275, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + if (yych <= '@') goto yy56; + if (yych <= 'Z') goto yy276; + if (yych <= '`') goto yy56; + if (yych >= '{') goto yy56; +yy276: + YYDEBUG(276, *YYCURSOR); + yyaccept = 7; + YYMARKER = ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(277, *YYCURSOR); + if (yych <= '@') { + if (yych <= '-') { + if (yych <= ',') goto yy246; + goto yy275; + } else { + if (yych == '/') goto yy275; + goto yy246; + } + } else { + if (yych <= '_') { + if (yych <= 'Z') goto yy276; + if (yych <= '^') goto yy246; + goto yy275; + } else { + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy276; + goto yy246; + } + } +yy278: + YYDEBUG(278, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych == '.') goto yy246; + goto yy275; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy246; + if (yych <= 'Z') goto yy265; + goto yy246; + } else { + if (yych <= '_') goto yy275; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } + } + YYDEBUG(279, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy251; + goto yy246; + } else { + if (yych == '.') goto yy246; + goto yy275; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy246; + if (yych <= 'Z') goto yy266; + goto yy246; + } else { + if (yych <= '_') goto yy275; + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } + } + YYDEBUG(280, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy246; + goto yy251; + } else { + if (yych == '-') goto yy275; + goto yy246; + } + } else { + if (yych <= '_') { + if (yych <= '/') goto yy275; + if (yych <= '^') goto yy246; + goto yy275; + } else { + if (yych <= '`') goto yy246; + if (yych >= '{') goto yy246; + } + } +yy281: + YYDEBUG(281, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(282, *YYCURSOR); + if (yych <= '/') { + if (yych == '-') goto yy275; + if (yych <= '.') goto yy56; + goto yy275; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy56; + goto yy275; + } else { + if (yych <= '`') goto yy56; + if (yych <= 'z') goto yy281; + goto yy56; + } + } +yy283: + YYDEBUG(283, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy270; + if (yych == '\t') goto yy270; + goto yy246; + } else { + if (yych <= '(') { + if (yych <= ' ') goto yy270; + goto yy246; + } else { + if (yych <= ')') goto yy251; + if (yych <= ',') goto yy246; + goto yy275; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '.') goto yy269; + if (yych <= '/') goto yy275; + if (yych <= '@') goto yy246; + goto yy263; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy246; + goto yy275; + } else { + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy274; + goto yy246; + } + } + } +yy284: + YYDEBUG(284, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy246; + if (yych <= '9') goto yy286; + if (yych <= ':') goto yy287; + goto yy246; +yy285: + YYDEBUG(285, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '5') { + if (yych <= '/') goto yy246; + if (yych >= '5') goto yy288; + } else { + if (yych <= '9') goto yy251; + if (yych <= ':') goto yy287; + goto yy246; + } +yy286: + YYDEBUG(286, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy246; + if (yych <= '5') goto yy288; + if (yych <= '9') goto yy251; + if (yych >= ';') goto yy246; +yy287: + YYDEBUG(287, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy246; + if (yych <= '5') goto yy288; + if (yych <= '9') goto yy251; + goto yy246; +yy288: + YYDEBUG(288, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy246; + if (yych <= '9') goto yy251; + goto yy246; +yy289: + YYDEBUG(289, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych == ')') goto yy251; + if (yych <= '@') goto yy246; + goto yy263; + } else { + if (yych <= 'Z') { + if (yych >= 'U') goto yy263; + } else { + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy263; + goto yy246; + } + } + YYDEBUG(290, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= ')') { + if (yych <= '(') goto yy246; + goto yy251; + } else { + if (yych == '+') goto yy256; + goto yy246; + } + } else { + if (yych <= 'Z') { + if (yych <= '-') goto yy256; + if (yych <= '@') goto yy246; + goto yy264; + } else { + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy264; + goto yy246; + } + } +yy291: + YYDEBUG(291, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ':') { + if (yych <= ' ') { + if (yych == '\t') goto yy292; + if (yych <= 0x1F) goto yy246; + } else { + if (yych == '.') goto yy248; + if (yych <= '9') goto yy246; + goto yy248; + } + } else { + if (yych <= 'P') { + if (yych == 'A') goto yy294; + if (yych <= 'O') goto yy246; + goto yy294; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy246; + goto yy294; + } else { + if (yych == 'p') goto yy294; + goto yy246; + } + } + } +yy292: + YYDEBUG(292, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); + yych = *YYCURSOR; + YYDEBUG(293, *YYCURSOR); + if (yych <= 'A') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy292; + goto yy56; + } else { + if (yych <= ' ') goto yy292; + if (yych <= '@') goto yy56; + } + } else { + if (yych <= '`') { + if (yych != 'P') goto yy56; + } else { + if (yych <= 'a') goto yy294; + if (yych != 'p') goto yy56; + } + } +yy294: + YYDEBUG(294, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych != '.') goto yy56; + } else { + if (yych <= 'M') goto yy296; + if (yych == 'm') goto yy296; + goto yy56; + } + YYDEBUG(295, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy296; + if (yych != 'm') goto yy56; +yy296: + YYDEBUG(296, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy270; + if (yych == '\t') goto yy270; + goto yy56; + } else { + if (yych <= ' ') goto yy270; + if (yych != '.') goto yy56; + } + YYDEBUG(297, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy270; + if (yych <= 0x08) goto yy56; + goto yy270; + } else { + if (yych == ' ') goto yy270; + goto yy56; + } +yy298: + YYDEBUG(298, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '.') goto yy299; + if (yych != ':') goto yy56; +yy299: + YYDEBUG(299, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy300; + if (yych <= '9') goto yy301; + goto yy56; +yy300: + YYDEBUG(300, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy302; + goto yy246; + } else { + if (yych <= '9') goto yy301; + if (yych <= ':') goto yy302; + goto yy246; + } +yy301: + YYDEBUG(301, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy302; + if (yych != ':') goto yy246; +yy302: + YYDEBUG(302, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy303; + if (yych <= '6') goto yy304; + if (yych <= '9') goto yy251; + goto yy56; +yy303: + YYDEBUG(303, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy246; + if (yych <= '9') goto yy305; + goto yy246; +yy304: + YYDEBUG(304, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '0') goto yy246; +yy305: + YYDEBUG(305, *YYCURSOR); + yyaccept = 7; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '*') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy307; + goto yy246; + } else { + if (yych <= ' ') goto yy307; + if (yych == '(') goto yy307; + goto yy246; + } + } else { + if (yych <= '@') { + if (yych == ',') goto yy246; + if (yych <= '-') goto yy307; + goto yy246; + } else { + if (yych <= 'Z') goto yy307; + if (yych <= '`') goto yy246; + if (yych <= 'z') goto yy307; + goto yy246; + } + } +yy306: + YYDEBUG(306, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); + yych = *YYCURSOR; +yy307: + YYDEBUG(307, *YYCURSOR); + if (yych <= '+') { + if (yych <= ' ') { + if (yych == '\t') goto yy306; + if (yych <= 0x1F) goto yy56; + goto yy306; + } else { + if (yych == '(') goto yy257; + if (yych <= '*') goto yy56; + goto yy256; + } + } else { + if (yych <= 'F') { + if (yych == '-') goto yy256; + if (yych <= '@') goto yy56; + goto yy259; + } else { + if (yych <= 'Z') { + if (yych <= 'G') goto yy255; + goto yy259; + } else { + if (yych <= '`') goto yy56; + if (yych <= 'z') goto yy261; + goto yy56; + } + } + } +yy308: + YYDEBUG(308, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy299; + goto yy56; + } else { + if (yych <= '9') goto yy298; + if (yych <= ':') goto yy299; + goto yy56; + } +yy309: + YYDEBUG(309, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy299; + goto yy56; + } else { + if (yych <= '4') goto yy298; + if (yych == ':') goto yy299; + goto yy56; + } +yy310: + YYDEBUG(310, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy299; + goto yy232; + } else { + if (yych <= '0') goto yy317; + if (yych <= '9') goto yy318; + if (yych <= ':') goto yy299; + goto yy232; + } +yy311: + YYDEBUG(311, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy244; + goto yy232; + } else { + if (yych <= '2') goto yy318; + if (yych <= '9') goto yy317; + if (yych <= ':') goto yy244; + goto yy232; + } +yy312: + YYDEBUG(312, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy244; + goto yy232; + } else { + if (yych <= '4') goto yy317; + if (yych <= '9') goto yy314; + if (yych <= ':') goto yy244; + goto yy232; + } +yy313: + YYDEBUG(313, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy244; + goto yy232; + } else { + if (yych <= '9') goto yy314; + if (yych <= ':') goto yy244; + goto yy232; + } +yy314: + YYDEBUG(314, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy232; + if (yych >= ':') goto yy232; +yy315: + YYDEBUG(315, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy232; + if (yych >= ':') goto yy232; + YYDEBUG(316, *YYCURSOR); + yych = *++YYCURSOR; + goto yy232; +yy317: + YYDEBUG(317, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy299; + goto yy232; + } else { + if (yych <= '9') goto yy315; + if (yych <= ':') goto yy299; + goto yy232; + } +yy318: + YYDEBUG(318, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy244; + goto yy232; + } else { + if (yych <= '9') goto yy315; + if (yych <= ':') goto yy244; + goto yy232; + } +yy319: + YYDEBUG(319, *YYCURSOR); + yyaccept = 6; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 0x00) goto yy238; + goto yy237; +yy320: + YYDEBUG(320, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(321, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(322, *YYCURSOR); +#line 1426 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("datenoday"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->m = timelib_get_month((char **) &ptr); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + s->time->d = 1; + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_DATE_NO_DAY; + } +#line 5877 "<stdout>" +yy323: + YYDEBUG(323, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy236; + goto yy56; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + goto yy320; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } +yy324: + YYDEBUG(324, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy236; + goto yy56; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + goto yy327; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } +yy325: + YYDEBUG(325, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy236; + goto yy56; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + goto yy327; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } +yy326: + YYDEBUG(326, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '1') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy236; + goto yy56; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= '9') goto yy230; + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } +yy327: + YYDEBUG(327, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= ' ') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy238; + goto yy56; + } else { + if (yych <= '\t') goto yy236; + if (yych <= 0x1F) goto yy56; + goto yy236; + } + } else { + if (yych <= '-') { + if (yych <= '+') goto yy56; + if (yych <= ',') goto yy236; + } else { + if (yych <= '.') goto yy236; + if (yych <= '/') goto yy56; + goto yy320; + } + } + } else { + if (yych <= 'm') { + if (yych <= 'd') { + if (yych <= 'c') goto yy56; + goto yy236; + } else { + if (yych == 'h') goto yy236; + goto yy56; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy233; + if (yych <= 'q') goto yy56; + goto yy234; + } else { + if (yych <= 's') goto yy231; + if (yych <= 't') goto yy235; + goto yy56; + } + } + } + YYDEBUG(328, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(329, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= '/') goto yy330; + if (yych <= '9') goto yy331; +yy330: + YYDEBUG(330, *YYCURSOR); +#line 1570 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("pgtextshort"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->m = timelib_get_month((char **) &ptr); + s->time->d = timelib_get_nr((char **) &ptr, 2); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_PG_TEXT; + } +#line 6121 "<stdout>" +yy331: + YYDEBUG(331, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy330; + if (yych >= ':') goto yy330; + YYDEBUG(332, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy330; + if (yych >= ':') goto yy330; + YYDEBUG(333, *YYCURSOR); + yych = *++YYCURSOR; + goto yy330; +yy334: + YYDEBUG(334, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'B') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'C') goto yy217; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'b') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'c') goto yy335; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy335: + YYDEBUG(335, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'D') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'E') goto yy225; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'd') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'e') goto yy337; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy336: + YYDEBUG(336, *YYCURSOR); + yych = *++YYCURSOR; + if (yybm[0+yych] & 8) { + goto yy173; + } + if (yych <= '/') goto yy220; + if (yych <= '0') goto yy324; + if (yych <= '2') goto yy325; + if (yych <= '3') goto yy326; + goto yy220; +yy337: + YYDEBUG(337, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'L') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'M') goto yy226; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'l') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'm') goto yy338; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy338: + YYDEBUG(338, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'B') goto yy227; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'b') goto yy339; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy339: + YYDEBUG(339, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'E') goto yy228; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'e') goto yy340; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy340: + YYDEBUG(340, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy229; + if (yych != 'r') goto yy179; +yy341: + YYDEBUG(341, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy220; + goto yy218; + } else { + if (yych <= ' ') goto yy220; + if (yych <= ',') goto yy218; + } + } else { + if (yych <= '9') { + if (yych == '/') goto yy172; + goto yy220; + } else { + if (yych == '_') goto yy172; + goto yy218; + } + } +yy342: + YYDEBUG(342, *YYCURSOR); + yych = *++YYCURSOR; + if (yybm[0+yych] & 8) { + goto yy173; + } + goto yy220; +yy343: + YYDEBUG(343, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy166; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 't') goto yy344; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy344: + YYDEBUG(344, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'O') goto yy167; + } + } else { + if (yych <= 'n') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'o') goto yy345; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy345: + YYDEBUG(345, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'B') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'A') goto yy168; + } + } else { + if (yych <= 'a') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'b') goto yy346; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy346: + YYDEBUG(346, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy169; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'e') goto yy347; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy347: + YYDEBUG(347, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Q') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'R') goto yy229; + if (yych == 'r') goto yy229; + goto yy3; + } +yy348: + YYDEBUG(348, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy344; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 't') goto yy349; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy349: + YYDEBUG(349, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'N') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'O') goto yy345; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'n') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'o') goto yy350; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy350: + YYDEBUG(350, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'B') goto yy346; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'b') goto yy351; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy351: + YYDEBUG(351, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy347; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'e') goto yy352; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy352: + YYDEBUG(352, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'R') goto yy229; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'r') goto yy341; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy353: + YYDEBUG(353, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'G') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'F') goto yy166; + goto yy361; + } + } else { + if (yych <= 'f') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'g') goto yy361; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy354: + YYDEBUG(354, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy166; + goto yy358; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'r') goto yy358; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy355: + YYDEBUG(355, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'N') goto yy166; + } + } else { + if (yych <= 'n') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'o') goto yy356; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy356: + YYDEBUG(356, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= '@') { + if (yych == ')') goto yy164; + } else { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy357; + if (yych <= 'z') goto yy167; + } +yy357: + YYDEBUG(357, *YYCURSOR); +#line 1628 "parse_date.re" + { + DEBUG_OUTPUT("ago"); + TIMELIB_INIT; + s->time->relative.y = 0 - s->time->relative.y; + s->time->relative.m = 0 - s->time->relative.m; + s->time->relative.d = 0 - s->time->relative.d; + s->time->relative.h = 0 - s->time->relative.h; + s->time->relative.i = 0 - s->time->relative.i; + s->time->relative.s = 0 - s->time->relative.s; + s->time->relative.weekday = 0 - s->time->relative.weekday; + if (s->time->relative.weekday == 0) { + s->time->relative.weekday = -7; + } + if (s->time->relative.have_special_relative && s->time->relative.special.type == TIMELIB_SPECIAL_WEEKDAY) { + s->time->relative.special.amount = 0 - s->time->relative.special.amount; + } + TIMELIB_DEINIT; + return TIMELIB_AGO; + } +#line 6723 "<stdout>" +yy358: + YYDEBUG(358, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'I') goto yy167; + } + } else { + if (yych <= 'h') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'i') goto yy359; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy359: + YYDEBUG(359, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'K') goto yy168; + } + } else { + if (yych <= 'k') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'l') goto yy360; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy360: + YYDEBUG(360, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy220; + goto yy218; + } else { + if (yych <= ' ') goto yy220; + if (yych == ')') goto yy164; + goto yy218; + } + } else { + if (yych <= '@') { + if (yych == '/') goto yy218; + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy218; + if (yych <= 'z') goto yy169; + goto yy218; + } + } +yy361: + YYDEBUG(361, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'U') goto yy167; + } + } else { + if (yych <= 't') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'u') goto yy362; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy362: + YYDEBUG(362, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'R') goto yy168; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 's') goto yy363; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy363: + YYDEBUG(363, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy169; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 't') goto yy364; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy364: + YYDEBUG(364, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '.') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy220; + } else { + if (yych <= '/') goto yy218; + if (yych <= '9') goto yy220; + goto yy218; + } + } +yy365: + YYDEBUG(365, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'F') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'G') goto yy361; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'f') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'g') goto yy372; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy366: + YYDEBUG(366, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy358; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'r') goto yy369; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy367: + YYDEBUG(367, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'O') goto yy356; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'n') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'o') goto yy368; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy368: + YYDEBUG(368, *YYCURSOR); + yyaccept = 8; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy357; + } else { + if (yych == '.') goto yy357; + goto yy172; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy357; + if (yych <= 'Z') goto yy167; + goto yy357; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy357; + if (yych <= 'z') goto yy175; + goto yy357; + } + } +yy369: + YYDEBUG(369, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'H') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'I') goto yy359; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'h') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'i') goto yy370; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy370: + YYDEBUG(370, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'K') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'L') goto yy360; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'k') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'l') goto yy371; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy371: + YYDEBUG(371, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy218; + goto yy220; + } else { + if (yych <= ')') { + if (yych <= '(') goto yy218; + goto yy164; + } else { + if (yych <= ',') goto yy218; + if (yych <= '-') goto yy342; + goto yy220; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '/') goto yy172; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy218; + goto yy169; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy218; + goto yy172; + } else { + if (yych <= '`') goto yy218; + if (yych <= 'z') goto yy177; + goto yy218; + } + } + } +yy372: + YYDEBUG(372, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'T') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'U') goto yy362; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 't') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'u') goto yy373; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy373: + YYDEBUG(373, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'S') goto yy363; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'r') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 's') goto yy374; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy374: + YYDEBUG(374, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy364; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 't') goto yy375; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy375: + YYDEBUG(375, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= ',') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy220; + goto yy218; + } else { + if (yych <= ' ') goto yy220; + if (yych == ')') goto yy164; + goto yy218; + } + } else { + if (yych <= '/') { + if (yych <= '-') goto yy342; + if (yych <= '.') goto yy220; + goto yy172; + } else { + if (yych <= '9') goto yy220; + if (yych == '_') goto yy172; + goto yy218; + } + } +yy376: + YYDEBUG(376, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'L') goto yy383; + if (yych <= 'M') goto yy166; + goto yy382; + } + } else { + if (yych <= 'l') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'k') goto yy166; + goto yy383; + } else { + if (yych == 'n') goto yy382; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy377: + YYDEBUG(377, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy166; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'n') goto yy378; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy378: + YYDEBUG(378, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'U') goto yy167; + } + } else { + if (yych <= 't') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'u') goto yy379; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy379: + YYDEBUG(379, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy168; + goto yy3; + } else { + if (yych <= 'a') goto yy380; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy380: + YYDEBUG(380, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy169; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'r') goto yy381; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy381: + YYDEBUG(381, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'X') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Y') goto yy229; + if (yych == 'y') goto yy229; + goto yy3; + } +yy382: + YYDEBUG(382, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych == 'E') goto yy384; + goto yy167; + } + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'e') goto yy384; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy383: + YYDEBUG(383, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'Y') goto yy167; + } + } else { + if (yych <= 'x') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'y') goto yy384; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy384: + YYDEBUG(384, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy220; + goto yy218; + } else { + if (yych <= ' ') goto yy220; + if (yych == ')') goto yy164; + goto yy218; + } + } else { + if (yych <= '@') { + if (yych == '/') goto yy218; + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy218; + if (yych <= 'z') goto yy168; + goto yy218; + } + } +yy385: + YYDEBUG(385, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych <= '/') goto yy172; + goto yy3; + } else { + if (yych == 'L') goto yy383; + goto yy166; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'N') goto yy382; + goto yy166; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 'm') { + if (yych == 'l') goto yy392; + goto yy171; + } else { + if (yych <= 'n') goto yy391; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy386: + YYDEBUG(386, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy378; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'n') goto yy387; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy387: + YYDEBUG(387, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'T') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'U') goto yy379; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 't') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'u') goto yy388; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy388: + YYDEBUG(388, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy380; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy389; + if (yych <= 'z') goto yy176; + goto yy3; + } + } +yy389: + YYDEBUG(389, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy381; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'r') goto yy390; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy390: + YYDEBUG(390, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'Y') goto yy229; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'y') goto yy341; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy391: + YYDEBUG(391, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'D') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'E') goto yy384; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'd') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'e') goto yy393; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy392: + YYDEBUG(392, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'X') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'Y') goto yy384; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'x') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'y') goto yy393; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy393: + YYDEBUG(393, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy218; + goto yy220; + } else { + if (yych <= ')') { + if (yych <= '(') goto yy218; + goto yy164; + } else { + if (yych <= ',') goto yy218; + if (yych <= '-') goto yy342; + goto yy220; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '/') goto yy172; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy218; + goto yy168; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy218; + goto yy172; + } else { + if (yych <= '`') goto yy218; + if (yych <= 'z') goto yy176; + goto yy218; + } + } + } +yy394: + YYDEBUG(394, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy3; + goto yy220; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy220; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy3; + goto yy166; + } else { + if (yych <= 'Z') { + if (yych >= 'J') goto yy166; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy166; + goto yy3; + } + } + } +yy395: + YYDEBUG(395, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy220; + goto yy3; + } else { + if (yych <= ' ') goto yy220; + if (yych == ')') goto yy164; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych == '/') goto yy3; + if (yych <= '9') goto yy220; + goto yy3; + } else { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy396: + YYDEBUG(396, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy3; + goto yy220; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy220; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy3; + goto yy166; + } else { + if (yych <= 'Z') { + if (yych >= 'J') goto yy166; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy166; + goto yy3; + } + } + } + YYDEBUG(397, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy3; + goto yy220; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy220; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy3; + goto yy167; + } else { + if (yych <= 'Z') { + if (yych >= 'J') goto yy167; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy167; + goto yy3; + } + } + } + YYDEBUG(398, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy220; + goto yy3; + } else { + if (yych <= ' ') goto yy220; + if (yych == ')') goto yy164; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych == '/') goto yy3; + if (yych <= '9') goto yy220; + goto yy3; + } else { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy399: + YYDEBUG(399, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy220; + goto yy3; + } else { + if (yych <= ' ') goto yy220; + if (yych == ')') goto yy164; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych == '/') goto yy3; + if (yych <= '9') goto yy220; + goto yy3; + } else { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy400: + YYDEBUG(400, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy3; + goto yy220; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy220; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy3; + goto yy166; + } else { + if (yych <= 'Z') { + if (yych <= 'I') goto yy395; + goto yy166; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy166; + goto yy3; + } + } + } +yy401: + YYDEBUG(401, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'D') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy3; + goto yy421; + } else { + if (yych <= ':') goto yy187; + if (yych <= 'C') goto yy3; + goto yy60; + } + } + } else { + if (yych <= 'L') { + if (yych <= 'F') { + if (yych <= 'E') goto yy3; + goto yy60; + } else { + if (yych == 'H') goto yy60; + goto yy3; + } + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy3; + } else { + if (yych == 'V') goto yy3; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } +yy402: + YYDEBUG(402, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'V') { + if (yych <= 'C') { + if (yych <= '/') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy3; + goto yy60; + } else { + if (yych == ' ') goto yy60; + goto yy3; + } + } else { + if (yych <= '5') { + if (yych <= '4') goto yy421; + goto yy406; + } else { + if (yych <= '9') goto yy407; + if (yych <= ':') goto yy187; + goto yy3; + } + } + } else { + if (yych <= 'H') { + if (yych <= 'E') { + if (yych <= 'D') goto yy60; + goto yy3; + } else { + if (yych == 'G') goto yy3; + goto yy60; + } + } else { + if (yych <= 'M') { + if (yych <= 'L') goto yy3; + goto yy60; + } else { + if (yych <= 'R') goto yy3; + if (yych <= 'U') goto yy60; + goto yy3; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= 'X') { + if (yych <= 'W') goto yy60; + goto yy3; + } else { + if (yych <= 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } +yy403: + YYDEBUG(403, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'V') { + if (yych <= 'C') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '5') { + if (yych <= '/') goto yy3; + goto yy406; + } else { + if (yych <= '9') goto yy407; + if (yych <= ':') goto yy187; + goto yy3; + } + } + } else { + if (yych <= 'H') { + if (yych <= 'E') { + if (yych <= 'D') goto yy60; + goto yy3; + } else { + if (yych == 'G') goto yy3; + goto yy60; + } + } else { + if (yych <= 'M') { + if (yych <= 'L') goto yy3; + goto yy60; + } else { + if (yych <= 'R') goto yy3; + if (yych <= 'U') goto yy60; + goto yy3; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= 'X') { + if (yych <= 'W') goto yy60; + goto yy3; + } else { + if (yych <= 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } +yy404: + YYDEBUG(404, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(405, *YYCURSOR); + if (yybm[0+yych] & 4) { + goto yy57; + } + if (yych <= ',') { + if (yych == '+') goto yy404; + goto yy56; + } else { + if (yych <= '-') goto yy404; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy54; + goto yy56; + } +yy406: + YYDEBUG(406, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy3; + goto yy420; + } else { + if (yych == 'D') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy3; + if (yych <= 'H') goto yy60; + goto yy3; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy3; + } else { + if (yych == 'V') goto yy3; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } +yy407: + YYDEBUG(407, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy3; + } else { + if (yych == 'D') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy3; + if (yych <= 'H') goto yy60; + goto yy3; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy3; + } else { + if (yych == 'V') goto yy3; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } + YYDEBUG(408, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych >= ':') goto yy60; +yy409: + YYDEBUG(409, *YYCURSOR); + yych = *++YYCURSOR; + if (yybm[0+yych] & 2) { + goto yy54; + } + if (yych != '-') goto yy60; +yy410: + YYDEBUG(410, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy411; + if (yych <= '1') goto yy412; + goto yy56; +yy411: + YYDEBUG(411, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy413; + goto yy56; +yy412: + YYDEBUG(412, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '3') goto yy56; +yy413: + YYDEBUG(413, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '-') goto yy56; + YYDEBUG(414, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy415; + if (yych <= '2') goto yy416; + if (yych <= '3') goto yy417; + goto yy56; +yy415: + YYDEBUG(415, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy418; + goto yy56; +yy416: + YYDEBUG(416, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy418; + goto yy56; +yy417: + YYDEBUG(417, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '2') goto yy56; +yy418: + YYDEBUG(418, *YYCURSOR); + ++YYCURSOR; +yy419: + YYDEBUG(419, *YYCURSOR); +#line 1331 "parse_date.re" + { + DEBUG_OUTPUT("iso8601date4 | iso8601date2 | iso8601dateslash | dateslash"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_unsigned_nr((char **) &ptr, 4); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->d = timelib_get_nr((char **) &ptr, 2); + TIMELIB_DEINIT; + return TIMELIB_ISO_DATE; + } +#line 8517 "<stdout>" +yy420: + YYDEBUG(420, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy3; + goto yy409; + } else { + if (yych == 'D') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy3; + if (yych <= 'H') goto yy60; + goto yy3; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy3; + } else { + if (yych == 'V') goto yy3; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } +yy421: + YYDEBUG(421, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'V') { + if (yych <= 'C') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '5') { + if (yych <= '/') goto yy3; + } else { + if (yych <= '9') goto yy420; + if (yych <= ':') goto yy187; + goto yy3; + } + } + } else { + if (yych <= 'H') { + if (yych <= 'E') { + if (yych <= 'D') goto yy60; + goto yy3; + } else { + if (yych == 'G') goto yy3; + goto yy60; + } + } else { + if (yych <= 'M') { + if (yych <= 'L') goto yy3; + goto yy60; + } else { + if (yych <= 'R') goto yy3; + if (yych <= 'U') goto yy60; + goto yy3; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= 'X') { + if (yych <= 'W') goto yy60; + goto yy3; + } else { + if (yych <= 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } + YYDEBUG(422, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy3; + } else { + if (yych == 'D') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy3; + if (yych <= 'H') goto yy60; + goto yy3; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy3; + } else { + if (yych == 'V') goto yy3; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } + YYDEBUG(423, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 2) { + goto yy54; + } + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy3; + goto yy60; + } else { + if (yych <= '-') { + if (yych <= ',') goto yy3; + goto yy410; + } else { + if (yych == 'D') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy3; + if (yych <= 'H') goto yy60; + goto yy3; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy3; + } else { + if (yych == 'V') goto yy3; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy3; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy3; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy3; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy3; + } else { + if (yych == 'v') goto yy3; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy3; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy3; + } + } + } + } +yy424: + YYDEBUG(424, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy426; + if (yych <= '0') goto yy700; + if (yych <= '1') goto yy701; + if (yych <= '9') goto yy702; + goto yy426; +yy425: + YYDEBUG(425, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 13) YYFILL(13); + yych = *YYCURSOR; +yy426: + YYDEBUG(426, *YYCURSOR); + if (yych <= 'W') { + if (yych <= 'G') { + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy425; + goto yy56; + } else { + if (yych <= ' ') goto yy425; + if (yych <= ',') goto yy56; + goto yy541; + } + } else { + if (yych <= 'C') { + if (yych == 'A') goto yy444; + goto yy56; + } else { + if (yych <= 'D') goto yy430; + if (yych == 'F') goto yy431; + goto yy56; + } + } + } else { + if (yych <= 'O') { + if (yych <= 'J') { + if (yych <= 'H') goto yy65; + if (yych <= 'I') goto yy439; + goto yy443; + } else { + if (yych <= 'L') goto yy56; + if (yych <= 'M') goto yy427; + if (yych <= 'N') goto yy446; + goto yy445; + } + } else { + if (yych <= 'S') { + if (yych <= 'P') goto yy448; + if (yych <= 'R') goto yy56; + goto yy428; + } else { + if (yych <= 'T') goto yy70; + if (yych <= 'U') goto yy63; + if (yych <= 'V') goto yy441; + goto yy69; + } + } + } + } else { + if (yych <= 'm') { + if (yych <= 'e') { + if (yych <= '`') { + if (yych <= 'X') goto yy442; + if (yych <= 'Y') goto yy68; + goto yy56; + } else { + if (yych <= 'a') goto yy444; + if (yych == 'd') goto yy430; + goto yy56; + } + } else { + if (yych <= 'h') { + if (yych <= 'f') goto yy431; + if (yych <= 'g') goto yy56; + goto yy65; + } else { + if (yych == 'j') goto yy443; + if (yych <= 'l') goto yy56; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'p') { + if (yych <= 'n') goto yy446; + if (yych <= 'o') goto yy445; + goto yy448; + } else { + if (yych <= 'r') goto yy56; + if (yych <= 's') goto yy428; + if (yych <= 't') goto yy70; + goto yy63; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy69; + goto yy56; + } else { + if (yych <= 'y') goto yy68; + if (yych == 0xC2) goto yy62; + goto yy56; + } + } + } + } +yy427: + YYDEBUG(427, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= 'I') { + if (yych == 'A') goto yy556; + if (yych <= 'H') goto yy56; + goto yy138; + } else { + if (yych == 'O') goto yy137; + if (yych <= 'R') goto yy56; + goto yy139; + } + } else { + if (yych <= 'i') { + if (yych == 'a') goto yy556; + if (yych <= 'h') goto yy56; + goto yy138; + } else { + if (yych <= 'o') { + if (yych <= 'n') goto yy56; + goto yy137; + } else { + if (yych == 's') goto yy139; + goto yy56; + } + } + } +yy428: + YYDEBUG(428, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'D') { + if (yych == 'A') goto yy119; + goto yy56; + } else { + if (yych <= 'E') goto yy1013; + if (yych <= 'T') goto yy56; + goto yy118; + } + } else { + if (yych <= 'd') { + if (yych == 'a') goto yy119; + goto yy56; + } else { + if (yych <= 'e') goto yy1013; + if (yych == 'u') goto yy118; + goto yy56; + } + } +yy429: + YYDEBUG(429, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '`') { + if (yych <= 'D') { + if (yych == 'A') goto yy119; + goto yy56; + } else { + if (yych <= 'E') goto yy1013; + if (yych == 'U') goto yy118; + goto yy56; + } + } else { + if (yych <= 'e') { + if (yych <= 'a') goto yy119; + if (yych <= 'd') goto yy56; + goto yy1013; + } else { + if (yych <= 's') goto yy56; + if (yych <= 't') goto yy693; + if (yych <= 'u') goto yy118; + goto yy56; + } + } +yy430: + YYDEBUG(430, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych == 'A') goto yy115; + if (yych <= 'D') goto yy56; + goto yy543; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy115; + } else { + if (yych == 'e') goto yy543; + goto yy56; + } + } +yy431: + YYDEBUG(431, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= 'N') { + if (yych == 'E') goto yy559; + goto yy56; + } else { + if (yych <= 'O') goto yy100; + if (yych <= 'Q') goto yy56; + goto yy99; + } + } else { + if (yych <= 'n') { + if (yych == 'e') goto yy559; + goto yy56; + } else { + if (yych <= 'o') goto yy100; + if (yych == 'r') goto yy99; + goto yy56; + } + } +yy432: + YYDEBUG(432, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'H') goto yy71; + if (yych <= 'T') goto yy56; + goto yy72; + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + goto yy1012; + } else { + if (yych == 'u') goto yy72; + goto yy56; + } + } +yy433: + YYDEBUG(433, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '-') goto yy706; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy705; + goto yy60; +yy434: + YYDEBUG(434, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'c') { + if (yych == 'O') goto yy494; + goto yy56; + } else { + if (yych <= 'd') goto yy693; + if (yych == 'o') goto yy494; + goto yy56; + } +yy435: + YYDEBUG(435, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy693; + goto yy56; +yy436: + YYDEBUG(436, *YYCURSOR); + yych = *++YYCURSOR; + switch (yych) { + case '0': + case '1': + case '2': goto yy630; + case '3': goto yy632; + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy633; + case 'A': + case 'a': goto yy637; + case 'D': + case 'd': goto yy641; + case 'F': + case 'f': goto yy635; + case 'J': + case 'j': goto yy634; + case 'M': + case 'm': goto yy636; + case 'N': + case 'n': goto yy640; + case 'O': + case 'o': goto yy639; + case 'S': + case 's': goto yy638; + default: goto yy56; + } +yy437: + YYDEBUG(437, *YYCURSOR); + yych = *++YYCURSOR; + switch (yych) { + case '0': goto yy580; + case '1': goto yy581; + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy582; + case 'A': + case 'a': goto yy586; + case 'D': + case 'd': goto yy590; + case 'F': + case 'f': goto yy584; + case 'J': + case 'j': goto yy583; + case 'M': + case 'm': goto yy585; + case 'N': + case 'n': goto yy589; + case 'O': + case 'o': goto yy588; + case 'S': + case 's': goto yy587; + default: goto yy542; + } +yy438: + YYDEBUG(438, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '1') { + if (yych <= '/') goto yy542; + if (yych <= '0') goto yy532; + goto yy533; + } else { + if (yych <= '5') goto yy534; + if (yych <= '9') goto yy535; + goto yy542; + } +yy439: + YYDEBUG(439, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '.') goto yy496; + } + } else { + if (yych <= 'U') { + if (yych <= '9') goto yy498; + if (yych == 'I') goto yy531; + } else { + if (yych == 'W') goto yy440; + if (yych <= 'X') goto yy504; + } + } +yy440: + YYDEBUG(440, *YYCURSOR); +#line 1468 "parse_date.re" + { + DEBUG_OUTPUT("datenoyearrev"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->d = timelib_get_nr((char **) &ptr, 2); + timelib_skip_day_suffix((char **) &ptr); + s->time->m = timelib_get_month((char **) &ptr); + TIMELIB_DEINIT; + return TIMELIB_DATE_TEXT; + } +#line 9172 "<stdout>" +yy441: + YYDEBUG(441, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy440; + goto yy496; + } else { + if (yych == ' ') goto yy496; + goto yy440; + } + } else { + if (yych <= '9') { + if (yych <= '.') goto yy496; + if (yych <= '/') goto yy440; + goto yy498; + } else { + if (yych == 'I') goto yy529; + goto yy440; + } + } +yy442: + YYDEBUG(442, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy440; + goto yy496; + } else { + if (yych == ' ') goto yy496; + goto yy440; + } + } else { + if (yych <= '9') { + if (yych <= '.') goto yy496; + if (yych <= '/') goto yy440; + goto yy498; + } else { + if (yych == 'I') goto yy528; + goto yy440; + } + } +yy443: + YYDEBUG(443, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'A') goto yy521; + if (yych <= 'T') goto yy56; + goto yy520; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy521; + } else { + if (yych == 'u') goto yy520; + goto yy56; + } + } +yy444: + YYDEBUG(444, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= 'L') { + if (yych == '.') goto yy449; + goto yy56; + } else { + if (yych <= 'M') goto yy450; + if (yych == 'P') goto yy514; + goto yy56; + } + } else { + if (yych <= 'o') { + if (yych <= 'U') goto yy513; + if (yych == 'm') goto yy450; + goto yy56; + } else { + if (yych <= 'p') goto yy514; + if (yych == 'u') goto yy513; + goto yy56; + } + } +yy445: + YYDEBUG(445, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy508; + if (yych == 'c') goto yy508; + goto yy56; +yy446: + YYDEBUG(446, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy494; + if (yych == 'o') goto yy494; + goto yy56; +yy447: + YYDEBUG(447, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy454; + if (yych <= '9') goto yy456; + goto yy56; +yy448: + YYDEBUG(448, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych != '.') goto yy56; + } else { + if (yych <= 'M') goto yy450; + if (yych == 'm') goto yy450; + goto yy56; + } +yy449: + YYDEBUG(449, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy450; + if (yych != 'm') goto yy56; +yy450: + YYDEBUG(450, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy452; + if (yych == '\t') goto yy452; + goto yy56; + } else { + if (yych <= ' ') goto yy452; + if (yych != '.') goto yy56; + } + YYDEBUG(451, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy452; + if (yych <= 0x08) goto yy56; + } else { + if (yych != ' ') goto yy56; + } +yy452: + YYDEBUG(452, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(453, *YYCURSOR); +#line 1186 "parse_date.re" + { + DEBUG_OUTPUT("timetiny12 | timeshort12 | timelong12"); + TIMELIB_INIT; + TIMELIB_HAVE_TIME(); + s->time->h = timelib_get_nr((char **) &ptr, 2); + if (*ptr == ':' || *ptr == '.') { + s->time->i = timelib_get_nr((char **) &ptr, 2); + if (*ptr == ':' || *ptr == '.') { + s->time->s = timelib_get_nr((char **) &ptr, 2); + } + } + s->time->h += timelib_meridian((char **) &ptr, s->time->h); + TIMELIB_DEINIT; + return TIMELIB_TIME12; + } +#line 9329 "<stdout>" +yy454: + YYDEBUG(454, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy457; + } else { + if (yych <= '9') goto yy471; + if (yych <= ':') goto yy457; + } +yy455: + YYDEBUG(455, *YYCURSOR); +#line 1223 "parse_date.re" + { + int tz_not_found; + DEBUG_OUTPUT("timeshort24 | timelong24 | iso8601long"); + TIMELIB_INIT; + TIMELIB_HAVE_TIME(); + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + if (*ptr == ':' || *ptr == '.') { + s->time->s = timelib_get_nr((char **) &ptr, 2); + + if (*ptr == '.') { + s->time->us = timelib_get_frac_nr((char **) &ptr, 8); + } + } + + if (*ptr != '\0') { + s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); + if (tz_not_found) { + add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); + } + } + TIMELIB_DEINIT; + return TIMELIB_TIME24_WITH_ZONE; + } +#line 9367 "<stdout>" +yy456: + YYDEBUG(456, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy457; + if (yych != ':') goto yy455; +yy457: + YYDEBUG(457, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy458; + if (yych <= '6') goto yy459; + if (yych <= '9') goto yy460; + goto yy56; +yy458: + YYDEBUG(458, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy464; + goto yy455; +yy459: + YYDEBUG(459, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych == '0') goto yy464; + goto yy455; +yy460: + YYDEBUG(460, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych != '.') goto yy455; +yy461: + YYDEBUG(461, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy462: + YYDEBUG(462, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(463, *YYCURSOR); + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy462; + goto yy455; +yy464: + YYDEBUG(464, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= 0x1F) { + if (yych != '\t') goto yy455; + } else { + if (yych <= ' ') goto yy465; + if (yych == '.') goto yy461; + goto yy455; + } + } else { + if (yych <= '`') { + if (yych <= 'A') goto yy467; + if (yych == 'P') goto yy467; + goto yy455; + } else { + if (yych <= 'a') goto yy467; + if (yych == 'p') goto yy467; + goto yy455; + } + } +yy465: + YYDEBUG(465, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); + yych = *YYCURSOR; + YYDEBUG(466, *YYCURSOR); + if (yych <= 'A') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy465; + goto yy56; + } else { + if (yych <= ' ') goto yy465; + if (yych <= '@') goto yy56; + } + } else { + if (yych <= '`') { + if (yych != 'P') goto yy56; + } else { + if (yych <= 'a') goto yy467; + if (yych != 'p') goto yy56; + } + } +yy467: + YYDEBUG(467, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych != '.') goto yy56; + } else { + if (yych <= 'M') goto yy469; + if (yych == 'm') goto yy469; + goto yy56; + } + YYDEBUG(468, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy469; + if (yych != 'm') goto yy56; +yy469: + YYDEBUG(469, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy452; + if (yych == '\t') goto yy452; + goto yy56; + } else { + if (yych <= ' ') goto yy452; + if (yych != '.') goto yy56; + } + YYDEBUG(470, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy452; + if (yych <= 0x08) goto yy56; + goto yy452; + } else { + if (yych == ' ') goto yy452; + goto yy56; + } +yy471: + YYDEBUG(471, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ':') { + if (yych <= ' ') { + if (yych == '\t') goto yy472; + if (yych <= 0x1F) goto yy455; + } else { + if (yych == '.') goto yy457; + if (yych <= '9') goto yy455; + goto yy475; + } + } else { + if (yych <= 'P') { + if (yych == 'A') goto yy474; + if (yych <= 'O') goto yy455; + goto yy474; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy455; + goto yy474; + } else { + if (yych == 'p') goto yy474; + goto yy455; + } + } + } +yy472: + YYDEBUG(472, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); + yych = *YYCURSOR; + YYDEBUG(473, *YYCURSOR); + if (yych <= 'A') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy472; + goto yy56; + } else { + if (yych <= ' ') goto yy472; + if (yych <= '@') goto yy56; + } + } else { + if (yych <= '`') { + if (yych != 'P') goto yy56; + } else { + if (yych <= 'a') goto yy474; + if (yych != 'p') goto yy56; + } + } +yy474: + YYDEBUG(474, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych == '.') goto yy491; + goto yy56; + } else { + if (yych <= 'M') goto yy492; + if (yych == 'm') goto yy492; + goto yy56; + } +yy475: + YYDEBUG(475, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy476; + if (yych <= '6') goto yy477; + if (yych <= '9') goto yy460; + goto yy56; +yy476: + YYDEBUG(476, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy478; + goto yy455; +yy477: + YYDEBUG(477, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych != '0') goto yy455; +yy478: + YYDEBUG(478, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ':') { + if (yych <= ' ') { + if (yych == '\t') goto yy465; + if (yych <= 0x1F) goto yy455; + goto yy465; + } else { + if (yych == '.') goto yy479; + if (yych <= '9') goto yy455; + goto yy480; + } + } else { + if (yych <= 'P') { + if (yych == 'A') goto yy467; + if (yych <= 'O') goto yy455; + goto yy467; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy455; + goto yy467; + } else { + if (yych == 'p') goto yy467; + goto yy455; + } + } + } +yy479: + YYDEBUG(479, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy489; + goto yy56; +yy480: + YYDEBUG(480, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy481: + YYDEBUG(481, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); + yych = *YYCURSOR; + YYDEBUG(482, *YYCURSOR); + if (yych <= 'O') { + if (yych <= '9') { + if (yych <= '/') goto yy56; + goto yy481; + } else { + if (yych != 'A') goto yy56; + } + } else { + if (yych <= 'a') { + if (yych <= 'P') goto yy483; + if (yych <= '`') goto yy56; + } else { + if (yych != 'p') goto yy56; + } + } +yy483: + YYDEBUG(483, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych != '.') goto yy56; + } else { + if (yych <= 'M') goto yy485; + if (yych == 'm') goto yy485; + goto yy56; + } + YYDEBUG(484, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy485; + if (yych != 'm') goto yy56; +yy485: + YYDEBUG(485, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy487; + if (yych == '\t') goto yy487; + goto yy56; + } else { + if (yych <= ' ') goto yy487; + if (yych != '.') goto yy56; + } + YYDEBUG(486, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy487; + if (yych <= 0x08) goto yy56; + } else { + if (yych != ' ') goto yy56; + } +yy487: + YYDEBUG(487, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(488, *YYCURSOR); +#line 1203 "parse_date.re" + { + DEBUG_OUTPUT("mssqltime"); + TIMELIB_INIT; + TIMELIB_HAVE_TIME(); + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + if (*ptr == ':' || *ptr == '.') { + s->time->s = timelib_get_nr((char **) &ptr, 2); + + if (*ptr == ':' || *ptr == '.') { + s->time->us = timelib_get_frac_nr((char **) &ptr, 8); + } + } + timelib_eat_spaces((char **) &ptr); + s->time->h += timelib_meridian((char **) &ptr, s->time->h); + TIMELIB_DEINIT; + return TIMELIB_TIME24_WITH_ZONE; + } +#line 9696 "<stdout>" +yy489: + YYDEBUG(489, *YYCURSOR); + yyaccept = 10; + YYMARKER = ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); + yych = *YYCURSOR; + YYDEBUG(490, *YYCURSOR); + if (yych <= 'O') { + if (yych <= '9') { + if (yych <= '/') goto yy455; + goto yy489; + } else { + if (yych == 'A') goto yy483; + goto yy455; + } + } else { + if (yych <= 'a') { + if (yych <= 'P') goto yy483; + if (yych <= '`') goto yy455; + goto yy483; + } else { + if (yych == 'p') goto yy483; + goto yy455; + } + } +yy491: + YYDEBUG(491, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy492; + if (yych != 'm') goto yy56; +yy492: + YYDEBUG(492, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy452; + if (yych == '\t') goto yy452; + goto yy56; + } else { + if (yych <= ' ') goto yy452; + if (yych != '.') goto yy56; + } + YYDEBUG(493, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy452; + if (yych <= 0x08) goto yy56; + goto yy452; + } else { + if (yych == ' ') goto yy452; + goto yy56; + } +yy494: + YYDEBUG(494, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'V') goto yy495; + if (yych != 'v') goto yy56; +yy495: + YYDEBUG(495, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych != '\t') goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy500; + if (yych == 'e') goto yy500; + goto yy440; + } + } +yy496: + YYDEBUG(496, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 4) YYFILL(4); + yych = *YYCURSOR; +yy497: + YYDEBUG(497, *YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy496; + if (yych <= 0x1F) goto yy56; + goto yy496; + } else { + if (yych <= '.') { + if (yych <= ',') goto yy56; + goto yy496; + } else { + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + } + } +yy498: + YYDEBUG(498, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= '/') goto yy499; + if (yych <= '9') goto yy505; +yy499: + YYDEBUG(499, *YYCURSOR); +#line 1385 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("datefull"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->d = timelib_get_nr((char **) &ptr, 2); + timelib_skip_day_suffix((char **) &ptr); + s->time->m = timelib_get_month((char **) &ptr); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_DATE_FULL; + } +#line 9816 "<stdout>" +yy500: + YYDEBUG(500, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy501; + if (yych != 'm') goto yy56; +yy501: + YYDEBUG(501, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy502; + if (yych != 'b') goto yy56; +yy502: + YYDEBUG(502, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy503; + if (yych != 'e') goto yy56; +yy503: + YYDEBUG(503, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy504; + if (yych != 'r') goto yy56; +yy504: + YYDEBUG(504, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy496; + if (yych <= 0x1F) goto yy440; + goto yy496; + } else { + if (yych <= '.') { + if (yych <= ',') goto yy440; + goto yy496; + } else { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } + } +yy505: + YYDEBUG(505, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy499; + if (yych >= ':') goto yy499; +yy506: + YYDEBUG(506, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy499; + if (yych >= ':') goto yy499; + YYDEBUG(507, *YYCURSOR); + yych = *++YYCURSOR; + goto yy499; +yy508: + YYDEBUG(508, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy509; + if (yych != 't') goto yy56; +yy509: + YYDEBUG(509, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'N') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'O') goto yy510; + if (yych != 'o') goto yy440; + } + } +yy510: + YYDEBUG(510, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy511; + if (yych != 'b') goto yy56; +yy511: + YYDEBUG(511, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy512; + if (yych != 'e') goto yy56; +yy512: + YYDEBUG(512, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy504; + if (yych == 'r') goto yy504; + goto yy56; +yy513: + YYDEBUG(513, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy517; + if (yych == 'g') goto yy517; + goto yy56; +yy514: + YYDEBUG(514, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy515; + if (yych != 'r') goto yy56; +yy515: + YYDEBUG(515, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'I') goto yy516; + if (yych != 'i') goto yy440; + } + } +yy516: + YYDEBUG(516, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'L') goto yy504; + if (yych == 'l') goto yy504; + goto yy56; +yy517: + YYDEBUG(517, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'T') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'U') goto yy518; + if (yych != 'u') goto yy440; + } + } +yy518: + YYDEBUG(518, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy519; + if (yych != 's') goto yy56; +yy519: + YYDEBUG(519, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy504; + if (yych == 't') goto yy504; + goto yy56; +yy520: + YYDEBUG(520, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'L') goto yy527; + if (yych <= 'M') goto yy56; + goto yy526; + } else { + if (yych <= 'l') { + if (yych <= 'k') goto yy56; + goto yy527; + } else { + if (yych == 'n') goto yy526; + goto yy56; + } + } +yy521: + YYDEBUG(521, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy522; + if (yych != 'n') goto yy56; +yy522: + YYDEBUG(522, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'T') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'U') goto yy523; + if (yych != 'u') goto yy440; + } + } +yy523: + YYDEBUG(523, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy524; + if (yych != 'a') goto yy56; +yy524: + YYDEBUG(524, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy525; + if (yych != 'r') goto yy56; +yy525: + YYDEBUG(525, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy504; + if (yych == 'y') goto yy504; + goto yy56; +yy526: + YYDEBUG(526, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy504; + if (yych == 'e') goto yy504; + goto yy440; + } + } +yy527: + YYDEBUG(527, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'X') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'Y') goto yy504; + if (yych == 'y') goto yy504; + goto yy440; + } + } +yy528: + YYDEBUG(528, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy440; + goto yy496; + } else { + if (yych == ' ') goto yy496; + goto yy440; + } + } else { + if (yych <= '9') { + if (yych <= '.') goto yy496; + if (yych <= '/') goto yy440; + goto yy498; + } else { + if (yych == 'I') goto yy504; + goto yy440; + } + } +yy529: + YYDEBUG(529, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy440; + goto yy496; + } else { + if (yych == ' ') goto yy496; + goto yy440; + } + } else { + if (yych <= '9') { + if (yych <= '.') goto yy496; + if (yych <= '/') goto yy440; + goto yy498; + } else { + if (yych != 'I') goto yy440; + } + } + YYDEBUG(530, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy440; + goto yy496; + } else { + if (yych == ' ') goto yy496; + goto yy440; + } + } else { + if (yych <= '9') { + if (yych <= '.') goto yy496; + if (yych <= '/') goto yy440; + goto yy498; + } else { + if (yych == 'I') goto yy504; + goto yy440; + } + } +yy531: + YYDEBUG(531, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy440; + goto yy496; + } else { + if (yych == ' ') goto yy496; + goto yy440; + } + } else { + if (yych <= '9') { + if (yych <= '.') goto yy496; + if (yych <= '/') goto yy440; + goto yy498; + } else { + if (yych == 'I') goto yy504; + goto yy440; + } + } +yy532: + YYDEBUG(532, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + goto yy565; + } else { + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy579; + if (yych <= ':') goto yy457; + goto yy455; + } +yy533: + YYDEBUG(533, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + if (yych <= '.') goto yy565; + goto yy455; + } else { + if (yych <= '2') goto yy579; + if (yych <= '9') goto yy578; + if (yych <= ':') goto yy457; + goto yy455; + } +yy534: + YYDEBUG(534, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + goto yy565; + } else { + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy578; + if (yych <= ':') goto yy457; + goto yy455; + } +yy535: + YYDEBUG(535, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + goto yy565; + } else { + if (yych == ':') goto yy457; + goto yy455; + } +yy536: + YYDEBUG(536, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy559; + if (yych == 'e') goto yy559; + goto yy56; +yy537: + YYDEBUG(537, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy556; + if (yych == 'a') goto yy556; + goto yy56; +yy538: + YYDEBUG(538, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'P') goto yy514; + if (yych <= 'T') goto yy56; + goto yy513; + } else { + if (yych <= 'p') { + if (yych <= 'o') goto yy56; + goto yy514; + } else { + if (yych == 'u') goto yy513; + goto yy56; + } + } +yy539: + YYDEBUG(539, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy549; + if (yych == 'e') goto yy549; + goto yy56; +yy540: + YYDEBUG(540, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy543; + if (yych == 'e') goto yy543; + goto yy56; +yy541: + YYDEBUG(541, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 13) YYFILL(13); + yych = *YYCURSOR; +yy542: + YYDEBUG(542, *YYCURSOR); + switch (yych) { + case '\t': + case ' ': + case '-': + case '.': goto yy541; + case 'A': + case 'a': goto yy538; + case 'D': + case 'd': goto yy540; + case 'F': + case 'f': goto yy536; + case 'I': goto yy439; + case 'J': + case 'j': goto yy443; + case 'M': + case 'm': goto yy537; + case 'N': + case 'n': goto yy446; + case 'O': + case 'o': goto yy445; + case 'S': + case 's': goto yy539; + case 'V': goto yy441; + case 'X': goto yy442; + default: goto yy56; + } +yy543: + YYDEBUG(543, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy544; + if (yych != 'c') goto yy56; +yy544: + YYDEBUG(544, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy545; + if (yych != 'e') goto yy440; + } + } +yy545: + YYDEBUG(545, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy546; + if (yych != 'm') goto yy56; +yy546: + YYDEBUG(546, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy547; + if (yych != 'b') goto yy56; +yy547: + YYDEBUG(547, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy548; + if (yych != 'e') goto yy56; +yy548: + YYDEBUG(548, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy504; + if (yych == 'r') goto yy504; + goto yy56; +yy549: + YYDEBUG(549, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'P') goto yy550; + if (yych != 'p') goto yy56; +yy550: + YYDEBUG(550, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'S') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'T') goto yy551; + if (yych != 't') goto yy440; + } + } +yy551: + YYDEBUG(551, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy552; + if (yych != 'e') goto yy440; + } + } +yy552: + YYDEBUG(552, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy553; + if (yych != 'm') goto yy56; +yy553: + YYDEBUG(553, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy554; + if (yych != 'b') goto yy56; +yy554: + YYDEBUG(554, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy555; + if (yych != 'e') goto yy56; +yy555: + YYDEBUG(555, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy504; + if (yych == 'r') goto yy504; + goto yy56; +yy556: + YYDEBUG(556, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych == 'R') goto yy557; + if (yych <= 'X') goto yy56; + goto yy504; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy56; + } else { + if (yych == 'y') goto yy504; + goto yy56; + } + } +yy557: + YYDEBUG(557, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'B') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'C') goto yy558; + if (yych != 'c') goto yy440; + } + } +yy558: + YYDEBUG(558, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy504; + if (yych == 'h') goto yy504; + goto yy56; +yy559: + YYDEBUG(559, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy560; + if (yych != 'b') goto yy56; +yy560: + YYDEBUG(560, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + goto yy496; + } + } else { + if (yych <= 'Q') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'R') goto yy561; + if (yych != 'r') goto yy440; + } + } +yy561: + YYDEBUG(561, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'U') goto yy562; + if (yych != 'u') goto yy56; +yy562: + YYDEBUG(562, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy563; + if (yych != 'a') goto yy56; +yy563: + YYDEBUG(563, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy564; + if (yych != 'r') goto yy56; +yy564: + YYDEBUG(564, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy504; + if (yych == 'y') goto yy504; + goto yy56; +yy565: + YYDEBUG(565, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy572; + if (yych <= '6') goto yy573; + if (yych <= '9') goto yy574; + goto yy56; +yy566: + YYDEBUG(566, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(567, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy568: + YYDEBUG(568, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy569: + YYDEBUG(569, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(570, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(571, *YYCURSOR); +#line 1400 "parse_date.re" + { + DEBUG_OUTPUT("pointed date YYYY"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->d = timelib_get_nr((char **) &ptr, 2); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->y = timelib_get_nr((char **) &ptr, 4); + TIMELIB_DEINIT; + return TIMELIB_DATE_FULL_POINTED; + } +#line 10563 "<stdout>" +yy572: + YYDEBUG(572, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy577; + goto yy455; +yy573: + YYDEBUG(573, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy461; + goto yy455; + } else { + if (yych <= '0') goto yy577; + if (yych <= '9') goto yy575; + goto yy455; + } +yy574: + YYDEBUG(574, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + if (yych >= ':') goto yy455; +yy575: + YYDEBUG(575, *YYCURSOR); + yyaccept = 11; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') goto yy576; + if (yych <= '9') goto yy569; +yy576: + YYDEBUG(576, *YYCURSOR); +#line 1412 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("pointed date YY"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->d = timelib_get_nr((char **) &ptr, 2); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->y = timelib_get_nr_ex((char **) &ptr, 2, &length); + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_DATE_FULL_POINTED; + } +#line 10612 "<stdout>" +yy577: + YYDEBUG(577, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= ' ') { + if (yych == '\t') goto yy465; + if (yych <= 0x1F) goto yy455; + goto yy465; + } else { + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + goto yy569; + } + } else { + if (yych <= 'P') { + if (yych == 'A') goto yy467; + if (yych <= 'O') goto yy455; + goto yy467; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy455; + goto yy467; + } else { + if (yych == 'p') goto yy467; + goto yy455; + } + } + } +yy578: + YYDEBUG(578, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ':') { + if (yych <= ' ') { + if (yych == '\t') goto yy472; + if (yych <= 0x1F) goto yy455; + goto yy472; + } else { + if (yych == '.') goto yy457; + if (yych <= '9') goto yy455; + goto yy457; + } + } else { + if (yych <= 'P') { + if (yych == 'A') goto yy474; + if (yych <= 'O') goto yy455; + goto yy474; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy455; + goto yy474; + } else { + if (yych == 'p') goto yy474; + goto yy455; + } + } + } +yy579: + YYDEBUG(579, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ':') { + if (yych <= ' ') { + if (yych == '\t') goto yy472; + if (yych <= 0x1F) goto yy455; + goto yy472; + } else { + if (yych <= '-') { + if (yych <= ',') goto yy455; + goto yy566; + } else { + if (yych <= '.') goto yy565; + if (yych <= '9') goto yy455; + goto yy457; + } + } + } else { + if (yych <= 'P') { + if (yych == 'A') goto yy474; + if (yych <= 'O') goto yy455; + goto yy474; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy455; + goto yy474; + } else { + if (yych == 'p') goto yy474; + goto yy455; + } + } + } +yy580: + YYDEBUG(580, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') { + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy619; + goto yy566; + } else { + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy582; + goto yy56; + } +yy581: + YYDEBUG(581, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') { + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy619; + goto yy566; + } else { + if (yych <= '/') goto yy56; + if (yych >= '3') goto yy56; + } +yy582: + YYDEBUG(582, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy619; + if (yych <= '.') goto yy566; + goto yy56; +yy583: + YYDEBUG(583, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'A') goto yy615; + if (yych <= 'T') goto yy56; + goto yy614; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy615; + } else { + if (yych == 'u') goto yy614; + goto yy56; + } + } +yy584: + YYDEBUG(584, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy612; + if (yych == 'e') goto yy612; + goto yy56; +yy585: + YYDEBUG(585, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy609; + if (yych == 'a') goto yy609; + goto yy56; +yy586: + YYDEBUG(586, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'P') goto yy606; + if (yych <= 'T') goto yy56; + goto yy605; + } else { + if (yych <= 'p') { + if (yych <= 'o') goto yy56; + goto yy606; + } else { + if (yych == 'u') goto yy605; + goto yy56; + } + } +yy587: + YYDEBUG(587, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy602; + if (yych == 'e') goto yy602; + goto yy56; +yy588: + YYDEBUG(588, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy600; + if (yych == 'c') goto yy600; + goto yy56; +yy589: + YYDEBUG(589, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy598; + if (yych == 'o') goto yy598; + goto yy56; +yy590: + YYDEBUG(590, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy591; + if (yych != 'e') goto yy56; +yy591: + YYDEBUG(591, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy592; + if (yych != 'c') goto yy56; +yy592: + YYDEBUG(592, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych >= '.') goto yy496; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy545; + if (yych == 'e') goto yy545; + goto yy440; + } + } +yy593: + YYDEBUG(593, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy497; + if (yych <= '0') goto yy594; + if (yych <= '2') goto yy595; + if (yych <= '3') goto yy596; + goto yy497; +yy594: + YYDEBUG(594, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy499; + if (yych <= '9') goto yy597; + goto yy499; +yy595: + YYDEBUG(595, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy499; + if (yych <= '9') goto yy597; + goto yy499; +yy596: + YYDEBUG(596, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy499; + if (yych <= '1') goto yy597; + if (yych <= '9') goto yy505; + goto yy499; +yy597: + YYDEBUG(597, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy499; + if (yych <= '9') goto yy506; + goto yy499; +yy598: + YYDEBUG(598, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'V') goto yy599; + if (yych != 'v') goto yy56; +yy599: + YYDEBUG(599, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy500; + if (yych == 'e') goto yy500; + goto yy440; + } + } +yy600: + YYDEBUG(600, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy601; + if (yych != 't') goto yy56; +yy601: + YYDEBUG(601, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'N') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'O') goto yy510; + if (yych == 'o') goto yy510; + goto yy440; + } + } +yy602: + YYDEBUG(602, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'P') goto yy603; + if (yych != 'p') goto yy56; +yy603: + YYDEBUG(603, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'S') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'T') goto yy604; + if (yych != 't') goto yy440; + } + } +yy604: + YYDEBUG(604, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy552; + if (yych == 'e') goto yy552; + goto yy440; + } + } +yy605: + YYDEBUG(605, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy608; + if (yych == 'g') goto yy608; + goto yy56; +yy606: + YYDEBUG(606, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy607; + if (yych != 'r') goto yy56; +yy607: + YYDEBUG(607, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'H') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'I') goto yy516; + if (yych == 'i') goto yy516; + goto yy440; + } + } +yy608: + YYDEBUG(608, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'T') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'U') goto yy518; + if (yych == 'u') goto yy518; + goto yy440; + } + } +yy609: + YYDEBUG(609, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych == 'R') goto yy610; + if (yych <= 'X') goto yy56; + goto yy611; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy56; + } else { + if (yych == 'y') goto yy611; + goto yy56; + } + } +yy610: + YYDEBUG(610, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'B') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'C') goto yy558; + if (yych == 'c') goto yy558; + goto yy440; + } + } +yy611: + YYDEBUG(611, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy440; + goto yy496; + } else { + if (yych == ' ') goto yy496; + goto yy440; + } + } else { + if (yych <= '.') { + if (yych <= '-') goto yy593; + goto yy496; + } else { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } + } +yy612: + YYDEBUG(612, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy613; + if (yych != 'b') goto yy56; +yy613: + YYDEBUG(613, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'Q') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'R') goto yy561; + if (yych == 'r') goto yy561; + goto yy440; + } + } +yy614: + YYDEBUG(614, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'L') goto yy618; + if (yych <= 'M') goto yy56; + goto yy617; + } else { + if (yych <= 'l') { + if (yych <= 'k') goto yy56; + goto yy618; + } else { + if (yych == 'n') goto yy617; + goto yy56; + } + } +yy615: + YYDEBUG(615, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy616; + if (yych != 'n') goto yy56; +yy616: + YYDEBUG(616, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'T') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'U') goto yy523; + if (yych == 'u') goto yy523; + goto yy440; + } + } +yy617: + YYDEBUG(617, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'D') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'E') goto yy504; + if (yych == 'e') goto yy504; + goto yy440; + } + } +yy618: + YYDEBUG(618, *YYCURSOR); + yyaccept = 9; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy496; + goto yy440; + } else { + if (yych <= ' ') goto yy496; + if (yych <= ',') goto yy440; + if (yych <= '-') goto yy593; + goto yy496; + } + } else { + if (yych <= 'X') { + if (yych <= '/') goto yy440; + if (yych <= '9') goto yy498; + goto yy440; + } else { + if (yych <= 'Y') goto yy504; + if (yych == 'y') goto yy504; + goto yy440; + } + } +yy619: + YYDEBUG(619, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '2') goto yy620; + if (yych <= '3') goto yy622; + if (yych <= '9') goto yy623; + goto yy56; +yy620: + YYDEBUG(620, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy629; + if (yych >= 'n') goto yy625; + } else { + if (yych <= 'r') { + if (yych >= 'r') goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + } + } +yy621: + YYDEBUG(621, *YYCURSOR); +#line 1371 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("gnudateshort"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->d = timelib_get_nr((char **) &ptr, 2); + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_ISO_DATE; + } +#line 11266 "<stdout>" +yy622: + YYDEBUG(622, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '1') { + if (yych <= '/') goto yy621; + goto yy629; + } else { + if (yych <= '9') goto yy568; + if (yych <= 'm') goto yy621; + goto yy625; + } + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy623: + YYDEBUG(623, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy568; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy624: + YYDEBUG(624, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 't') goto yy628; + goto yy56; +yy625: + YYDEBUG(625, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy628; + goto yy56; +yy626: + YYDEBUG(626, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy628; + goto yy56; +yy627: + YYDEBUG(627, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != 'h') goto yy56; +yy628: + YYDEBUG(628, *YYCURSOR); + yych = *++YYCURSOR; + goto yy621; +yy629: + YYDEBUG(629, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy569; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy630: + YYDEBUG(630, *YYCURSOR); + yyaccept = 13; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') { + if (yych >= '/') goto yy687; + } else { + if (yych <= '9') goto yy633; + if (yych >= 'n') goto yy684; + } + } else { + if (yych <= 'r') { + if (yych >= 'r') goto yy685; + } else { + if (yych <= 's') goto yy683; + if (yych <= 't') goto yy686; + } + } +yy631: + YYDEBUG(631, *YYCURSOR); +#line 1315 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("americanshort | american"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->d = timelib_get_nr((char **) &ptr, 2); + if (*ptr == '/') { + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + TIMELIB_PROCESS_YEAR(s->time->y, length); + } + TIMELIB_DEINIT; + return TIMELIB_AMERICAN; + } +#line 11387 "<stdout>" +yy632: + YYDEBUG(632, *YYCURSOR); + yyaccept = 13; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') { + if (yych <= '.') goto yy631; + goto yy687; + } else { + if (yych <= '1') goto yy633; + if (yych <= 'm') goto yy631; + goto yy684; + } + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy631; + goto yy685; + } else { + if (yych <= 's') goto yy683; + if (yych <= 't') goto yy686; + goto yy631; + } + } +yy633: + YYDEBUG(633, *YYCURSOR); + yyaccept = 13; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych == '/') goto yy687; + if (yych <= 'm') goto yy631; + goto yy684; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy631; + goto yy685; + } else { + if (yych <= 's') goto yy683; + if (yych <= 't') goto yy686; + goto yy631; + } + } +yy634: + YYDEBUG(634, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'A') goto yy682; + if (yych <= 'T') goto yy56; + goto yy681; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy682; + } else { + if (yych == 'u') goto yy681; + goto yy56; + } + } +yy635: + YYDEBUG(635, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy680; + if (yych == 'e') goto yy680; + goto yy56; +yy636: + YYDEBUG(636, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy679; + if (yych == 'a') goto yy679; + goto yy56; +yy637: + YYDEBUG(637, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'P') goto yy678; + if (yych <= 'T') goto yy56; + goto yy677; + } else { + if (yych <= 'p') { + if (yych <= 'o') goto yy56; + goto yy678; + } else { + if (yych == 'u') goto yy677; + goto yy56; + } + } +yy638: + YYDEBUG(638, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy675; + if (yych == 'e') goto yy675; + goto yy56; +yy639: + YYDEBUG(639, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy674; + if (yych == 'c') goto yy674; + goto yy56; +yy640: + YYDEBUG(640, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy673; + if (yych == 'o') goto yy673; + goto yy56; +yy641: + YYDEBUG(641, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy642; + if (yych != 'e') goto yy56; +yy642: + YYDEBUG(642, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy643; + if (yych != 'c') goto yy56; +yy643: + YYDEBUG(643, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '/') goto yy56; +yy644: + YYDEBUG(644, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(645, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(646, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(647, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(648, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(649, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy650; + if (yych <= '2') goto yy651; + goto yy56; +yy650: + YYDEBUG(650, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy652; + goto yy56; +yy651: + YYDEBUG(651, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '5') goto yy56; +yy652: + YYDEBUG(652, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(653, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '6') goto yy56; + YYDEBUG(654, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(655, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(656, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy657; + if (yych <= '6') goto yy658; + goto yy56; +yy657: + YYDEBUG(657, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy659; + goto yy56; +yy658: + YYDEBUG(658, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '0') goto yy56; +yy659: + YYDEBUG(659, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '\t') goto yy660; + if (yych != ' ') goto yy56; +yy660: + YYDEBUG(660, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); + yych = *YYCURSOR; + YYDEBUG(661, *YYCURSOR); + if (yych <= '*') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy56; + goto yy660; + } else { + if (yych == ' ') goto yy660; + goto yy56; + } + } else { + if (yych <= '-') { + if (yych == ',') goto yy56; + goto yy663; + } else { + if (yych != 'G') goto yy56; + } + } + YYDEBUG(662, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy671; + goto yy56; +yy663: + YYDEBUG(663, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy664; + if (yych <= '2') goto yy666; + if (yych <= '9') goto yy667; + goto yy56; +yy664: + YYDEBUG(664, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= '/') goto yy665; + if (yych <= '9') goto yy667; + if (yych <= ':') goto yy668; +yy665: + YYDEBUG(665, *YYCURSOR); +#line 1598 "parse_date.re" + { + int tz_not_found; + DEBUG_OUTPUT("clf"); + TIMELIB_INIT; + TIMELIB_HAVE_TIME(); + TIMELIB_HAVE_DATE(); + s->time->d = timelib_get_nr((char **) &ptr, 2); + s->time->m = timelib_get_month((char **) &ptr); + s->time->y = timelib_get_nr((char **) &ptr, 4); + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + s->time->s = timelib_get_nr((char **) &ptr, 2); + s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); + if (tz_not_found) { + add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); + } + TIMELIB_DEINIT; + return TIMELIB_CLF; + } +#line 11640 "<stdout>" +yy666: + YYDEBUG(666, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '5') { + if (yych <= '/') goto yy665; + if (yych >= '5') goto yy669; + } else { + if (yych <= '9') goto yy670; + if (yych <= ':') goto yy668; + goto yy665; + } +yy667: + YYDEBUG(667, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy665; + if (yych <= '5') goto yy669; + if (yych <= '9') goto yy670; + if (yych >= ';') goto yy665; +yy668: + YYDEBUG(668, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy665; + if (yych <= '5') goto yy669; + if (yych <= '9') goto yy670; + goto yy665; +yy669: + YYDEBUG(669, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy665; + if (yych >= ':') goto yy665; +yy670: + YYDEBUG(670, *YYCURSOR); + yych = *++YYCURSOR; + goto yy665; +yy671: + YYDEBUG(671, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != 'T') goto yy56; + YYDEBUG(672, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '+') goto yy663; + if (yych == '-') goto yy663; + goto yy56; +yy673: + YYDEBUG(673, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'V') goto yy643; + if (yych == 'v') goto yy643; + goto yy56; +yy674: + YYDEBUG(674, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy643; + if (yych == 't') goto yy643; + goto yy56; +yy675: + YYDEBUG(675, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'P') goto yy676; + if (yych != 'p') goto yy56; +yy676: + YYDEBUG(676, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych == '/') goto yy644; + goto yy56; + } else { + if (yych <= 'T') goto yy643; + if (yych == 't') goto yy643; + goto yy56; + } +yy677: + YYDEBUG(677, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy643; + if (yych == 'g') goto yy643; + goto yy56; +yy678: + YYDEBUG(678, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy643; + if (yych == 'r') goto yy643; + goto yy56; +yy679: + YYDEBUG(679, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych == 'R') goto yy643; + if (yych <= 'X') goto yy56; + goto yy643; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy56; + goto yy643; + } else { + if (yych == 'y') goto yy643; + goto yy56; + } + } +yy680: + YYDEBUG(680, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy643; + if (yych == 'b') goto yy643; + goto yy56; +yy681: + YYDEBUG(681, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'L') goto yy643; + if (yych <= 'M') goto yy56; + goto yy643; + } else { + if (yych <= 'l') { + if (yych <= 'k') goto yy56; + goto yy643; + } else { + if (yych == 'n') goto yy643; + goto yy56; + } + } +yy682: + YYDEBUG(682, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy643; + if (yych == 'n') goto yy643; + goto yy56; +yy683: + YYDEBUG(683, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 't') goto yy692; + goto yy56; +yy684: + YYDEBUG(684, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy692; + goto yy56; +yy685: + YYDEBUG(685, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy692; + goto yy56; +yy686: + YYDEBUG(686, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'h') goto yy692; + goto yy56; +yy687: + YYDEBUG(687, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(688, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy631; + if (yych >= ':') goto yy631; + YYDEBUG(689, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy631; + if (yych >= ':') goto yy631; + YYDEBUG(690, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy631; + if (yych >= ':') goto yy631; + YYDEBUG(691, *YYCURSOR); + yych = *++YYCURSOR; + goto yy631; +yy692: + YYDEBUG(692, *YYCURSOR); + yyaccept = 13; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '/') goto yy687; + goto yy631; +yy693: + YYDEBUG(693, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= ',') { + if (yych == '\t') goto yy695; + goto yy542; + } else { + if (yych <= '-') goto yy696; + if (yych <= '.') goto yy695; + if (yych >= '0') goto yy542; + } +yy694: + YYDEBUG(694, *YYCURSOR); + yych = *++YYCURSOR; + switch (yych) { + case 'A': + case 'a': goto yy637; + case 'D': + case 'd': goto yy641; + case 'F': + case 'f': goto yy635; + case 'J': + case 'j': goto yy634; + case 'M': + case 'm': goto yy636; + case 'N': + case 'n': goto yy640; + case 'O': + case 'o': goto yy639; + case 'S': + case 's': goto yy638; + default: goto yy56; + } +yy695: + YYDEBUG(695, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy542; + if (yych <= '0') goto yy700; + if (yych <= '1') goto yy701; + if (yych <= '9') goto yy702; + goto yy542; +yy696: + YYDEBUG(696, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy542; + if (yych <= '0') goto yy697; + if (yych <= '1') goto yy698; + if (yych <= '9') goto yy699; + goto yy542; +yy697: + YYDEBUG(697, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= ',') goto yy56; + if (yych <= '.') goto yy566; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy699; + goto yy56; +yy698: + YYDEBUG(698, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= ',') goto yy56; + if (yych <= '.') goto yy566; + if (yych <= '/') goto yy56; + if (yych >= '3') goto yy56; +yy699: + YYDEBUG(699, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= ',') goto yy56; + if (yych <= '.') goto yy566; + goto yy56; +yy700: + YYDEBUG(700, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') { + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy566; + goto yy703; + } else { + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy702; + goto yy56; + } +yy701: + YYDEBUG(701, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') { + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy566; + goto yy703; + } else { + if (yych <= '/') goto yy56; + if (yych >= '3') goto yy56; + } +yy702: + YYDEBUG(702, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy566; + if (yych >= '/') goto yy56; +yy703: + YYDEBUG(703, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(704, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy575; + goto yy56; +yy705: + YYDEBUG(705, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '-') goto yy749; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy747; + goto yy60; +yy706: + YYDEBUG(706, *YYCURSOR); + yych = *++YYCURSOR; + switch (yych) { + case '0': goto yy715; + case '1': goto yy716; + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy717; + case 'A': + case 'a': goto yy710; + case 'D': + case 'd': goto yy714; + case 'F': + case 'f': goto yy708; + case 'J': + case 'j': goto yy707; + case 'M': + case 'm': goto yy709; + case 'N': + case 'n': goto yy713; + case 'O': + case 'o': goto yy712; + case 'S': + case 's': goto yy711; + default: goto yy56; + } +yy707: + YYDEBUG(707, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'A') goto yy746; + if (yych <= 'T') goto yy56; + goto yy745; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy746; + } else { + if (yych == 'u') goto yy745; + goto yy56; + } + } +yy708: + YYDEBUG(708, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy744; + if (yych == 'e') goto yy744; + goto yy56; +yy709: + YYDEBUG(709, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy743; + if (yych == 'a') goto yy743; + goto yy56; +yy710: + YYDEBUG(710, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'P') goto yy742; + if (yych <= 'T') goto yy56; + goto yy741; + } else { + if (yych <= 'p') { + if (yych <= 'o') goto yy56; + goto yy742; + } else { + if (yych == 'u') goto yy741; + goto yy56; + } + } +yy711: + YYDEBUG(711, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy739; + if (yych == 'e') goto yy739; + goto yy56; +yy712: + YYDEBUG(712, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy738; + if (yych == 'c') goto yy738; + goto yy56; +yy713: + YYDEBUG(713, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy737; + if (yych == 'o') goto yy737; + goto yy56; +yy714: + YYDEBUG(714, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy729; + if (yych == 'e') goto yy729; + goto yy56; +yy715: + YYDEBUG(715, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '-') goto yy718; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy722; + goto yy56; +yy716: + YYDEBUG(716, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '-') goto yy718; + if (yych <= '/') goto yy56; + if (yych <= '2') goto yy722; + goto yy56; +yy717: + YYDEBUG(717, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '-') goto yy56; +yy718: + YYDEBUG(718, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '2') goto yy719; + if (yych <= '3') goto yy720; + if (yych <= '9') goto yy721; + goto yy56; +yy719: + YYDEBUG(719, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy721; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy720: + YYDEBUG(720, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '1') goto yy721; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy721: + YYDEBUG(721, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'q') { + if (yych == 'n') goto yy625; + goto yy621; + } else { + if (yych <= 'r') goto yy626; + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } +yy722: + YYDEBUG(722, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '-') goto yy56; + YYDEBUG(723, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '2') { + if (yych <= '/') goto yy56; + if (yych >= '1') goto yy725; + } else { + if (yych <= '3') goto yy726; + if (yych <= '9') goto yy721; + goto yy56; + } + YYDEBUG(724, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy727; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy725: + YYDEBUG(725, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy727; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy726: + YYDEBUG(726, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '1') goto yy727; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy727: + YYDEBUG(727, *YYCURSOR); + yyaccept = 14; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'q') { + if (yych == 'n') goto yy625; + } else { + if (yych <= 'r') goto yy626; + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + } +yy728: + YYDEBUG(728, *YYCURSOR); +#line 1343 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("iso8601date2"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->d = timelib_get_nr((char **) &ptr, 2); + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_ISO_DATE; + } +#line 12203 "<stdout>" +yy729: + YYDEBUG(729, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy730; + if (yych != 'c') goto yy56; +yy730: + YYDEBUG(730, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '-') goto yy56; +yy731: + YYDEBUG(731, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy732; + if (yych <= '2') goto yy733; + if (yych <= '3') goto yy734; + goto yy56; +yy732: + YYDEBUG(732, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy735; + goto yy56; +yy733: + YYDEBUG(733, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy735; + goto yy56; +yy734: + YYDEBUG(734, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '2') goto yy56; +yy735: + YYDEBUG(735, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(736, *YYCURSOR); +#line 1584 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("pgtextreverse"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + s->time->m = timelib_get_month((char **) &ptr); + s->time->d = timelib_get_nr((char **) &ptr, 2); + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_PG_TEXT; + } +#line 12255 "<stdout>" +yy737: + YYDEBUG(737, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'V') goto yy730; + if (yych == 'v') goto yy730; + goto yy56; +yy738: + YYDEBUG(738, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy730; + if (yych == 't') goto yy730; + goto yy56; +yy739: + YYDEBUG(739, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'P') goto yy740; + if (yych != 'p') goto yy56; +yy740: + YYDEBUG(740, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych == '-') goto yy731; + goto yy56; + } else { + if (yych <= 'T') goto yy730; + if (yych == 't') goto yy730; + goto yy56; + } +yy741: + YYDEBUG(741, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy730; + if (yych == 'g') goto yy730; + goto yy56; +yy742: + YYDEBUG(742, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy730; + if (yych == 'r') goto yy730; + goto yy56; +yy743: + YYDEBUG(743, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych == 'R') goto yy730; + if (yych <= 'X') goto yy56; + goto yy730; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy56; + goto yy730; + } else { + if (yych == 'y') goto yy730; + goto yy56; + } + } +yy744: + YYDEBUG(744, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy730; + if (yych == 'b') goto yy730; + goto yy56; +yy745: + YYDEBUG(745, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'L') goto yy730; + if (yych <= 'M') goto yy56; + goto yy730; + } else { + if (yych <= 'l') { + if (yych <= 'k') goto yy56; + goto yy730; + } else { + if (yych == 'n') goto yy730; + goto yy56; + } + } +yy746: + YYDEBUG(746, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy730; + if (yych == 'n') goto yy730; + goto yy56; +yy747: + YYDEBUG(747, *YYCURSOR); + yyaccept = 15; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'O') { + if (yych <= '3') { + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy755; + } else { + if (yych <= ' ') goto yy755; + if (yych >= '-') goto yy752; + } + } else { + if (yych <= '0') { + if (yych <= '.') goto yy756; + if (yych <= '/') goto yy753; + goto yy769; + } else { + if (yych <= '1') goto yy770; + if (yych <= '2') goto yy772; + goto yy773; + } + } + } else { + if (yych <= 'D') { + if (yych <= '@') { + if (yych <= '9') goto yy54; + if (yych <= ':') goto yy771; + } else { + if (yych <= 'A') goto yy755; + if (yych >= 'D') goto yy755; + } + } else { + if (yych <= 'G') { + if (yych == 'F') goto yy755; + } else { + if (yych <= 'J') goto yy755; + if (yych >= 'M') goto yy755; + } + } + } + } else { + if (yych <= 'h') { + if (yych <= 'a') { + if (yych <= 'W') { + if (yych <= 'R') goto yy748; + if (yych <= 'V') goto yy755; + goto yy774; + } else { + if (yych <= 'Y') goto yy755; + if (yych >= 'a') goto yy755; + } + } else { + if (yych <= 'e') { + if (yych == 'd') goto yy755; + } else { + if (yych != 'g') goto yy755; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'l') { + if (yych == 'j') goto yy755; + } else { + if (yych <= 'o') goto yy755; + if (yych >= 's') goto yy755; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy755; + } else { + if (yych <= 'y') goto yy755; + if (yych == 0xC2) goto yy755; + } + } + } + } +yy748: + YYDEBUG(748, *YYCURSOR); +#line 1619 "parse_date.re" + { + DEBUG_OUTPUT("year4"); + TIMELIB_INIT; + s->time->y = timelib_get_nr((char **) &ptr, 4); + TIMELIB_DEINIT; + return TIMELIB_CLF; + } +#line 12428 "<stdout>" +yy749: + YYDEBUG(749, *YYCURSOR); + yych = *++YYCURSOR; + switch (yych) { + case '0': goto yy750; + case '1': goto yy751; + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy717; + case 'A': + case 'a': goto yy710; + case 'D': + case 'd': goto yy714; + case 'F': + case 'f': goto yy708; + case 'J': + case 'j': goto yy707; + case 'M': + case 'm': goto yy709; + case 'N': + case 'n': goto yy713; + case 'O': + case 'o': goto yy712; + case 'S': + case 's': goto yy711; + default: goto yy56; + } +yy750: + YYDEBUG(750, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '-') goto yy718; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy717; + goto yy56; +yy751: + YYDEBUG(751, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '-') goto yy718; + if (yych <= '/') goto yy56; + if (yych <= '2') goto yy717; + goto yy56; +yy752: + YYDEBUG(752, *YYCURSOR); + yych = *++YYCURSOR; + switch (yych) { + case '0': goto yy937; + case '1': goto yy939; + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy940; + case 'A': + case 'a': goto yy931; + case 'D': + case 'd': goto yy935; + case 'F': + case 'f': goto yy929; + case 'J': + case 'j': goto yy928; + case 'M': + case 'm': goto yy930; + case 'N': + case 'n': goto yy934; + case 'O': + case 'o': goto yy933; + case 'S': + case 's': goto yy932; + case 'W': goto yy936; + default: goto yy903; + } +yy753: + YYDEBUG(753, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy911; + if (yych <= '1') goto yy912; + if (yych <= '9') goto yy913; + goto yy56; +yy754: + YYDEBUG(754, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); + yych = *YYCURSOR; +yy755: + YYDEBUG(755, *YYCURSOR); + if (yych <= 'W') { + if (yych <= 'G') { + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy754; + goto yy56; + } else { + if (yych <= ' ') goto yy754; + if (yych <= ',') goto yy56; + goto yy902; + } + } else { + if (yych <= 'C') { + if (yych == 'A') goto yy764; + goto yy56; + } else { + if (yych <= 'D') goto yy768; + if (yych == 'F') goto yy762; + goto yy56; + } + } + } else { + if (yych <= 'N') { + if (yych <= 'J') { + if (yych <= 'H') goto yy65; + if (yych <= 'I') goto yy757; + goto yy761; + } else { + if (yych <= 'L') goto yy56; + if (yych <= 'M') goto yy763; + goto yy767; + } + } else { + if (yych <= 'S') { + if (yych <= 'O') goto yy766; + if (yych <= 'R') goto yy56; + goto yy765; + } else { + if (yych <= 'T') goto yy70; + if (yych <= 'U') goto yy63; + if (yych <= 'V') goto yy759; + goto yy69; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= '`') { + if (yych <= 'X') goto yy760; + if (yych <= 'Y') goto yy68; + goto yy56; + } else { + if (yych <= 'a') goto yy764; + if (yych <= 'c') goto yy56; + goto yy768; + } + } else { + if (yych <= 'g') { + if (yych == 'f') goto yy762; + goto yy56; + } else { + if (yych <= 'h') goto yy65; + if (yych == 'j') goto yy761; + goto yy56; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'o') { + if (yych <= 'm') goto yy763; + if (yych <= 'n') goto yy767; + goto yy766; + } else { + if (yych <= 'r') goto yy56; + if (yych <= 's') goto yy765; + if (yych <= 't') goto yy70; + goto yy63; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy69; + goto yy56; + } else { + if (yych <= 'y') goto yy68; + if (yych == 0xC2) goto yy62; + goto yy56; + } + } + } + } +yy756: + YYDEBUG(756, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy903; + if (yych <= '0') goto yy895; + if (yych <= '2') goto yy896; + if (yych <= '3') goto yy897; + goto yy903; +yy757: + YYDEBUG(757, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= 'U') { + if (yych == 'I') goto yy894; + } else { + if (yych == 'W') goto yy758; + if (yych <= 'X') goto yy848; + } +yy758: + YYDEBUG(758, *YYCURSOR); +#line 1440 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("datenodayrev"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + s->time->m = timelib_get_month((char **) &ptr); + s->time->d = 1; + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_DATE_NO_DAY; + } +#line 12646 "<stdout>" +yy759: + YYDEBUG(759, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy892; + goto yy758; +yy760: + YYDEBUG(760, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy891; + goto yy758; +yy761: + YYDEBUG(761, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'A') goto yy884; + if (yych <= 'T') goto yy56; + goto yy883; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy884; + } else { + if (yych == 'u') goto yy883; + goto yy56; + } + } +yy762: + YYDEBUG(762, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= 'N') { + if (yych == 'E') goto yy877; + goto yy56; + } else { + if (yych <= 'O') goto yy100; + if (yych <= 'Q') goto yy56; + goto yy99; + } + } else { + if (yych <= 'n') { + if (yych == 'e') goto yy877; + goto yy56; + } else { + if (yych <= 'o') goto yy100; + if (yych == 'r') goto yy99; + goto yy56; + } + } +yy763: + YYDEBUG(763, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= 'I') { + if (yych == 'A') goto yy874; + if (yych <= 'H') goto yy56; + goto yy138; + } else { + if (yych == 'O') goto yy137; + if (yych <= 'R') goto yy56; + goto yy139; + } + } else { + if (yych <= 'i') { + if (yych == 'a') goto yy874; + if (yych <= 'h') goto yy56; + goto yy138; + } else { + if (yych <= 'o') { + if (yych <= 'n') goto yy56; + goto yy137; + } else { + if (yych == 's') goto yy139; + goto yy56; + } + } + } +yy764: + YYDEBUG(764, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'P') goto yy868; + if (yych <= 'T') goto yy56; + goto yy867; + } else { + if (yych <= 'p') { + if (yych <= 'o') goto yy56; + goto yy868; + } else { + if (yych == 'u') goto yy867; + goto yy56; + } + } +yy765: + YYDEBUG(765, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'D') { + if (yych == 'A') goto yy119; + goto yy56; + } else { + if (yych <= 'E') goto yy860; + if (yych <= 'T') goto yy56; + goto yy118; + } + } else { + if (yych <= 'd') { + if (yych == 'a') goto yy119; + goto yy56; + } else { + if (yych <= 'e') goto yy860; + if (yych == 'u') goto yy118; + goto yy56; + } + } +yy766: + YYDEBUG(766, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy855; + if (yych == 'c') goto yy855; + goto yy56; +yy767: + YYDEBUG(767, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy849; + if (yych == 'o') goto yy849; + goto yy56; +yy768: + YYDEBUG(768, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych == 'A') goto yy115; + if (yych <= 'D') goto yy56; + goto yy842; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy115; + } else { + if (yych == 'e') goto yy842; + goto yy56; + } + } +yy769: + YYDEBUG(769, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '0') goto yy839; + if (yych <= '9') goto yy840; + goto yy60; +yy770: + YYDEBUG(770, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '2') goto yy808; + if (yych <= '9') goto yy787; + goto yy60; +yy771: + YYDEBUG(771, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy788; + if (yych <= '1') goto yy789; + goto yy56; +yy772: + YYDEBUG(772, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy787; + goto yy60; +yy773: + YYDEBUG(773, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '5') goto yy783; + if (yych <= '6') goto yy784; + if (yych <= '9') goto yy54; + goto yy60; +yy774: + YYDEBUG(774, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '5') { + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy775; + if (yych <= '4') goto yy776; + goto yy777; + } else { + if (yych <= 'E') { + if (yych <= 'D') goto yy56; + goto yy84; + } else { + if (yych == 'e') goto yy84; + goto yy56; + } + } +yy775: + YYDEBUG(775, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '0') goto yy56; + if (yych <= '9') goto yy778; + goto yy56; +yy776: + YYDEBUG(776, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy778; + goto yy56; +yy777: + YYDEBUG(777, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '4') goto yy56; +yy778: + YYDEBUG(778, *YYCURSOR); + yyaccept = 16; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '-') goto yy780; + if (yych <= '/') goto yy779; + if (yych <= '7') goto yy781; +yy779: + YYDEBUG(779, *YYCURSOR); +#line 1551 "parse_date.re" + { + timelib_sll w, d; + DEBUG_OUTPUT("isoweek"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + TIMELIB_HAVE_RELATIVE(); + + s->time->y = timelib_get_nr((char **) &ptr, 4); + w = timelib_get_nr((char **) &ptr, 2); + d = 1; + s->time->m = 1; + s->time->d = 1; + s->time->relative.d = timelib_daynr_from_weeknr(s->time->y, w, d); + + TIMELIB_DEINIT; + return TIMELIB_ISO_WEEK; + } +#line 12885 "<stdout>" +yy780: + YYDEBUG(780, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '8') goto yy56; +yy781: + YYDEBUG(781, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(782, *YYCURSOR); +#line 1532 "parse_date.re" + { + timelib_sll w, d; + DEBUG_OUTPUT("isoweekday"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + TIMELIB_HAVE_RELATIVE(); + + s->time->y = timelib_get_nr((char **) &ptr, 4); + w = timelib_get_nr((char **) &ptr, 2); + d = timelib_get_nr((char **) &ptr, 1); + s->time->m = 1; + s->time->d = 1; + s->time->relative.d = timelib_daynr_from_weeknr(s->time->y, w, d); + + TIMELIB_DEINIT; + return TIMELIB_ISO_WEEK; + } +#line 12913 "<stdout>" +yy783: + YYDEBUG(783, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy785; + goto yy60; +yy784: + YYDEBUG(784, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '6') goto yy785; + if (yych <= '9') goto yy54; + goto yy60; +yy785: + YYDEBUG(785, *YYCURSOR); + yyaccept = 17; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 2) { + goto yy54; + } + if (yych <= 'X') { + if (yych <= 'F') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych >= ' ') goto yy60; + } else { + if (yych == 'D') goto yy60; + if (yych >= 'F') goto yy60; + } + } else { + if (yych <= 'M') { + if (yych == 'H') goto yy60; + if (yych >= 'M') goto yy60; + } else { + if (yych <= 'U') { + if (yych >= 'S') goto yy60; + } else { + if (yych == 'W') goto yy60; + } + } + } + } else { + if (yych <= 'm') { + if (yych <= 'e') { + if (yych <= 'Y') goto yy60; + if (yych == 'd') goto yy60; + } else { + if (yych <= 'g') { + if (yych <= 'f') goto yy60; + } else { + if (yych <= 'h') goto yy60; + if (yych >= 'm') goto yy60; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') goto yy786; + if (yych != 'v') goto yy60; + } else { + if (yych <= 'y') { + if (yych >= 'y') goto yy60; + } else { + if (yych == 0xC2) goto yy60; + } + } + } + } +yy786: + YYDEBUG(786, *YYCURSOR); +#line 1518 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("pgydotd"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + s->time->d = timelib_get_nr((char **) &ptr, 3); + s->time->m = 1; + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_PG_YEARDAY; + } +#line 12996 "<stdout>" +yy787: + YYDEBUG(787, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy785; + goto yy60; +yy788: + YYDEBUG(788, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy790; + goto yy56; +yy789: + YYDEBUG(789, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '3') goto yy56; +yy790: + YYDEBUG(790, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(791, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy792; + if (yych <= '2') goto yy793; + if (yych <= '3') goto yy794; + goto yy56; +yy792: + YYDEBUG(792, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy795; + goto yy56; +yy793: + YYDEBUG(793, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy795; + goto yy56; +yy794: + YYDEBUG(794, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '2') goto yy56; +yy795: + YYDEBUG(795, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ' ') goto yy56; + YYDEBUG(796, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy797; + if (yych <= '2') goto yy798; + goto yy56; +yy797: + YYDEBUG(797, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy799; + goto yy56; +yy798: + YYDEBUG(798, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '5') goto yy56; +yy799: + YYDEBUG(799, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(800, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '6') goto yy56; + YYDEBUG(801, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(802, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(803, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy804; + if (yych <= '6') goto yy805; + goto yy56; +yy804: + YYDEBUG(804, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy806; + goto yy56; +yy805: + YYDEBUG(805, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '0') goto yy56; +yy806: + YYDEBUG(806, *YYCURSOR); + ++YYCURSOR; +yy807: + YYDEBUG(807, *YYCURSOR); +#line 1492 "parse_date.re" + { + int tz_not_found; + DEBUG_OUTPUT("xmlrpc | xmlrpcnocolon | soap | wddx | exif"); + TIMELIB_INIT; + TIMELIB_HAVE_TIME(); + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr((char **) &ptr, 4); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->d = timelib_get_nr((char **) &ptr, 2); + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + s->time->s = timelib_get_nr((char **) &ptr, 2); + if (*ptr == '.') { + s->time->us = timelib_get_frac_nr((char **) &ptr, 9); + if (*ptr) { /* timezone is optional */ + s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); + if (tz_not_found) { + add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); + } + } + } + TIMELIB_DEINIT; + return TIMELIB_XMLRPC_SOAP; + } +#line 13124 "<stdout>" +yy808: + YYDEBUG(808, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '2') { + if (yych <= '/') goto yy60; + if (yych >= '1') goto yy810; + } else { + if (yych <= '3') goto yy811; + if (yych <= '9') goto yy785; + goto yy60; + } +yy809: + YYDEBUG(809, *YYCURSOR); + yyaccept = 17; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy786; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy786; + goto yy812; + } else { + if (yych == 'D') goto yy60; + goto yy786; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy786; + if (yych <= 'H') goto yy60; + goto yy786; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy786; + } else { + if (yych == 'V') goto yy786; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy786; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy786; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy786; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy786; + } else { + if (yych == 'v') goto yy786; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy786; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy786; + } + } + } + } +yy810: + YYDEBUG(810, *YYCURSOR); + yyaccept = 17; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy786; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy786; + goto yy812; + } else { + if (yych == 'D') goto yy60; + goto yy786; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy786; + if (yych <= 'H') goto yy60; + goto yy786; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy786; + } else { + if (yych == 'V') goto yy786; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy786; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy786; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy786; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy786; + } else { + if (yych == 'v') goto yy786; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy786; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy786; + } + } + } + } +yy811: + YYDEBUG(811, *YYCURSOR); + yyaccept = 17; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'D') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy786; + goto yy60; + } else { + if (yych <= '1') { + if (yych <= '/') goto yy786; + } else { + if (yych <= '9') goto yy54; + if (yych <= 'C') goto yy786; + goto yy60; + } + } + } else { + if (yych <= 'L') { + if (yych <= 'F') { + if (yych <= 'E') goto yy786; + goto yy60; + } else { + if (yych == 'H') goto yy60; + goto yy786; + } + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy786; + } else { + if (yych == 'V') goto yy786; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy786; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy786; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy786; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy786; + } else { + if (yych == 'v') goto yy786; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy786; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy786; + } + } + } + } +yy812: + YYDEBUG(812, *YYCURSOR); + yyaccept = 18; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 2) { + goto yy54; + } + if (yych <= 'X') { + if (yych <= 'G') { + if (yych <= ' ') { + if (yych == '\t') goto yy59; + if (yych >= ' ') goto yy59; + } else { + if (yych <= 'D') { + if (yych >= 'D') goto yy66; + } else { + if (yych == 'F') goto yy67; + } + } + } else { + if (yych <= 'S') { + if (yych <= 'L') { + if (yych <= 'H') goto yy65; + } else { + if (yych <= 'M') goto yy61; + if (yych >= 'S') goto yy64; + } + } else { + if (yych <= 'U') { + if (yych <= 'T') goto yy814; + goto yy63; + } else { + if (yych == 'W') goto yy69; + } + } + } + } else { + if (yych <= 'r') { + if (yych <= 'f') { + if (yych <= 'c') { + if (yych <= 'Y') goto yy68; + } else { + if (yych <= 'd') goto yy66; + if (yych >= 'f') goto yy67; + } + } else { + if (yych <= 'h') { + if (yych >= 'h') goto yy65; + } else { + if (yych == 'm') goto yy61; + } + } + } else { + if (yych <= 'w') { + if (yych <= 't') { + if (yych <= 's') goto yy64; + goto yy815; + } else { + if (yych <= 'u') goto yy63; + if (yych >= 'w') goto yy69; + } + } else { + if (yych <= 'y') { + if (yych >= 'y') goto yy68; + } else { + if (yych == 0xC2) goto yy62; + } + } + } + } +yy813: + YYDEBUG(813, *YYCURSOR); +#line 1480 "parse_date.re" + { + DEBUG_OUTPUT("datenocolon"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr((char **) &ptr, 4); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->d = timelib_get_nr((char **) &ptr, 2); + TIMELIB_DEINIT; + return TIMELIB_DATE_NOCOLON; + } +#line 13430 "<stdout>" +yy814: + YYDEBUG(814, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= '2') { + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy829; + goto yy830; + } else { + if (yych <= '9') goto yy831; + if (yych <= 'G') goto yy56; + goto yy71; + } + } else { + if (yych <= 'g') { + if (yych == 'U') goto yy72; + goto yy56; + } else { + if (yych <= 'h') goto yy71; + if (yych == 'u') goto yy72; + goto yy56; + } + } +yy815: + YYDEBUG(815, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= '2') { + if (yych <= '/') goto yy56; + if (yych >= '2') goto yy817; + } else { + if (yych <= '9') goto yy818; + if (yych <= 'G') goto yy56; + goto yy71; + } + } else { + if (yych <= 'g') { + if (yych == 'U') goto yy72; + goto yy56; + } else { + if (yych <= 'h') goto yy71; + if (yych == 'u') goto yy72; + goto yy56; + } + } + YYDEBUG(816, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy823; + if (yych <= '9') goto yy818; + goto yy56; +yy817: + YYDEBUG(817, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '4') goto yy823; + if (yych <= '5') goto yy819; + goto yy56; +yy818: + YYDEBUG(818, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '6') goto yy56; +yy819: + YYDEBUG(819, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy820: + YYDEBUG(820, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy821; + if (yych <= '6') goto yy822; + goto yy56; +yy821: + YYDEBUG(821, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy806; + goto yy56; +yy822: + YYDEBUG(822, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '0') goto yy806; + goto yy56; +yy823: + YYDEBUG(823, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy824; + if (yych <= '9') goto yy820; + goto yy56; +yy824: + YYDEBUG(824, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy825; + if (yych <= '6') goto yy826; + if (yych <= '9') goto yy820; + goto yy56; +yy825: + YYDEBUG(825, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy827; + if (yych <= '6') goto yy828; + if (yych <= '9') goto yy806; + goto yy56; +yy826: + YYDEBUG(826, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy827; + if (yych <= '5') goto yy821; + if (yych <= '6') goto yy822; + goto yy56; +yy827: + YYDEBUG(827, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy807; + if (yych <= '9') goto yy806; + goto yy807; +yy828: + YYDEBUG(828, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '0') goto yy806; + goto yy807; +yy829: + YYDEBUG(829, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy838; + if (yych <= '9') goto yy831; + if (yych <= ':') goto yy832; + goto yy56; +yy830: + YYDEBUG(830, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '5') { + if (yych <= '/') goto yy56; + if (yych <= '4') goto yy838; + goto yy819; + } else { + if (yych == ':') goto yy832; + goto yy56; + } +yy831: + YYDEBUG(831, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy819; + if (yych != ':') goto yy56; +yy832: + YYDEBUG(832, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= '6') goto yy56; + YYDEBUG(833, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(834, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(835, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy836; + if (yych <= '6') goto yy837; + goto yy56; +yy836: + YYDEBUG(836, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy806; + goto yy56; +yy837: + YYDEBUG(837, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '0') goto yy806; + goto yy56; +yy838: + YYDEBUG(838, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy824; + if (yych <= '9') goto yy820; + if (yych <= ':') goto yy832; + goto yy56; +yy839: + YYDEBUG(839, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '2') { + if (yych <= '/') goto yy60; + if (yych <= '0') goto yy841; + goto yy810; + } else { + if (yych <= '3') goto yy811; + if (yych <= '9') goto yy785; + goto yy60; + } +yy840: + YYDEBUG(840, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '2') { + if (yych <= '/') goto yy60; + if (yych <= '0') goto yy809; + goto yy810; + } else { + if (yych <= '3') goto yy811; + if (yych <= '9') goto yy785; + goto yy60; + } +yy841: + YYDEBUG(841, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy812; + goto yy60; +yy842: + YYDEBUG(842, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy843; + if (yych != 'c') goto yy56; +yy843: + YYDEBUG(843, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy844; + if (yych != 'e') goto yy758; +yy844: + YYDEBUG(844, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy845; + if (yych != 'm') goto yy56; +yy845: + YYDEBUG(845, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy846; + if (yych != 'b') goto yy56; +yy846: + YYDEBUG(846, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy847; + if (yych != 'e') goto yy56; +yy847: + YYDEBUG(847, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy848; + if (yych != 'r') goto yy56; +yy848: + YYDEBUG(848, *YYCURSOR); + yych = *++YYCURSOR; + goto yy758; +yy849: + YYDEBUG(849, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'V') goto yy850; + if (yych != 'v') goto yy56; +yy850: + YYDEBUG(850, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy851; + if (yych != 'e') goto yy758; +yy851: + YYDEBUG(851, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy852; + if (yych != 'm') goto yy56; +yy852: + YYDEBUG(852, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy853; + if (yych != 'b') goto yy56; +yy853: + YYDEBUG(853, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy854; + if (yych != 'e') goto yy56; +yy854: + YYDEBUG(854, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy848; + if (yych == 'r') goto yy848; + goto yy56; +yy855: + YYDEBUG(855, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy856; + if (yych != 't') goto yy56; +yy856: + YYDEBUG(856, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'O') goto yy857; + if (yych != 'o') goto yy758; +yy857: + YYDEBUG(857, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy858; + if (yych != 'b') goto yy56; +yy858: + YYDEBUG(858, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy859; + if (yych != 'e') goto yy56; +yy859: + YYDEBUG(859, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy848; + if (yych == 'r') goto yy848; + goto yy56; +yy860: + YYDEBUG(860, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'P') { + if (yych == 'C') goto yy121; + if (yych <= 'O') goto yy56; + } else { + if (yych <= 'c') { + if (yych <= 'b') goto yy56; + goto yy121; + } else { + if (yych != 'p') goto yy56; + } + } +yy861: + YYDEBUG(861, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy862; + if (yych != 't') goto yy758; +yy862: + YYDEBUG(862, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy863; + if (yych != 'e') goto yy758; +yy863: + YYDEBUG(863, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy864; + if (yych != 'm') goto yy56; +yy864: + YYDEBUG(864, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy865; + if (yych != 'b') goto yy56; +yy865: + YYDEBUG(865, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy866; + if (yych != 'e') goto yy56; +yy866: + YYDEBUG(866, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy848; + if (yych == 'r') goto yy848; + goto yy56; +yy867: + YYDEBUG(867, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy871; + if (yych == 'g') goto yy871; + goto yy56; +yy868: + YYDEBUG(868, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy869; + if (yych != 'r') goto yy56; +yy869: + YYDEBUG(869, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'I') goto yy870; + if (yych != 'i') goto yy758; +yy870: + YYDEBUG(870, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'L') goto yy848; + if (yych == 'l') goto yy848; + goto yy56; +yy871: + YYDEBUG(871, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'U') goto yy872; + if (yych != 'u') goto yy758; +yy872: + YYDEBUG(872, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy873; + if (yych != 's') goto yy56; +yy873: + YYDEBUG(873, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy848; + if (yych == 't') goto yy848; + goto yy56; +yy874: + YYDEBUG(874, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych == 'R') goto yy875; + if (yych <= 'X') goto yy56; + goto yy848; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy56; + } else { + if (yych == 'y') goto yy848; + goto yy56; + } + } +yy875: + YYDEBUG(875, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'C') goto yy876; + if (yych != 'c') goto yy758; +yy876: + YYDEBUG(876, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy848; + if (yych == 'h') goto yy848; + goto yy56; +yy877: + YYDEBUG(877, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy878; + if (yych != 'b') goto yy56; +yy878: + YYDEBUG(878, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'R') goto yy879; + if (yych != 'r') goto yy758; +yy879: + YYDEBUG(879, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'U') goto yy880; + if (yych != 'u') goto yy56; +yy880: + YYDEBUG(880, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy881; + if (yych != 'a') goto yy56; +yy881: + YYDEBUG(881, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy882; + if (yych != 'r') goto yy56; +yy882: + YYDEBUG(882, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy848; + if (yych == 'y') goto yy848; + goto yy56; +yy883: + YYDEBUG(883, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'L') goto yy890; + if (yych <= 'M') goto yy56; + goto yy889; + } else { + if (yych <= 'l') { + if (yych <= 'k') goto yy56; + goto yy890; + } else { + if (yych == 'n') goto yy889; + goto yy56; + } + } +yy884: + YYDEBUG(884, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy885; + if (yych != 'n') goto yy56; +yy885: + YYDEBUG(885, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'U') goto yy886; + if (yych != 'u') goto yy758; +yy886: + YYDEBUG(886, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy887; + if (yych != 'a') goto yy56; +yy887: + YYDEBUG(887, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy888; + if (yych != 'r') goto yy56; +yy888: + YYDEBUG(888, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy848; + if (yych == 'y') goto yy848; + goto yy56; +yy889: + YYDEBUG(889, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy848; + if (yych == 'e') goto yy848; + goto yy758; +yy890: + YYDEBUG(890, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy848; + if (yych == 'y') goto yy848; + goto yy758; +yy891: + YYDEBUG(891, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy848; + goto yy758; +yy892: + YYDEBUG(892, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != 'I') goto yy758; + YYDEBUG(893, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy848; + goto yy758; +yy894: + YYDEBUG(894, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy848; + goto yy758; +yy895: + YYDEBUG(895, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy910; + if (yych <= '9') goto yy909; + goto yy56; +yy896: + YYDEBUG(896, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy908; + goto yy56; +yy897: + YYDEBUG(897, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy906; + if (yych <= '6') goto yy905; + goto yy56; +yy898: + YYDEBUG(898, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy877; + if (yych == 'e') goto yy877; + goto yy56; +yy899: + YYDEBUG(899, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy874; + if (yych == 'a') goto yy874; + goto yy56; +yy900: + YYDEBUG(900, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy904; + if (yych == 'e') goto yy904; + goto yy56; +yy901: + YYDEBUG(901, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy842; + if (yych == 'e') goto yy842; + goto yy56; +yy902: + YYDEBUG(902, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); + yych = *YYCURSOR; +yy903: + YYDEBUG(903, *YYCURSOR); + switch (yych) { + case '\t': + case ' ': + case '-': + case '.': goto yy902; + case 'A': + case 'a': goto yy764; + case 'D': + case 'd': goto yy901; + case 'F': + case 'f': goto yy898; + case 'I': goto yy757; + case 'J': + case 'j': goto yy761; + case 'M': + case 'm': goto yy899; + case 'N': + case 'n': goto yy767; + case 'O': + case 'o': goto yy766; + case 'S': + case 's': goto yy900; + case 'V': goto yy759; + case 'X': goto yy760; + default: goto yy56; + } +yy904: + YYDEBUG(904, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'P') goto yy861; + if (yych == 'p') goto yy861; + goto yy56; +yy905: + YYDEBUG(905, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '6') goto yy907; + goto yy56; +yy906: + YYDEBUG(906, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy907: + YYDEBUG(907, *YYCURSOR); + yych = *++YYCURSOR; + goto yy786; +yy908: + YYDEBUG(908, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy907; + goto yy56; +yy909: + YYDEBUG(909, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy907; + goto yy56; +yy910: + YYDEBUG(910, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '0') goto yy56; + if (yych <= '9') goto yy907; + goto yy56; +yy911: + YYDEBUG(911, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') goto yy56; + if (yych <= '/') goto yy914; + if (yych <= '9') goto yy922; + goto yy56; +yy912: + YYDEBUG(912, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') goto yy56; + if (yych <= '/') goto yy914; + if (yych <= '2') goto yy922; + goto yy56; +yy913: + YYDEBUG(913, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '/') goto yy56; +yy914: + YYDEBUG(914, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '2') goto yy915; + if (yych <= '3') goto yy916; + if (yych <= '9') goto yy917; + goto yy56; +yy915: + YYDEBUG(915, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy419; + if (yych <= '9') goto yy917; + if (yych <= 'm') goto yy419; + goto yy919; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy419; + goto yy920; + } else { + if (yych <= 's') goto yy918; + if (yych <= 't') goto yy921; + goto yy419; + } + } +yy916: + YYDEBUG(916, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy419; + if (yych <= '1') goto yy917; + if (yych <= 'm') goto yy419; + goto yy919; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy419; + goto yy920; + } else { + if (yych <= 's') goto yy918; + if (yych <= 't') goto yy921; + goto yy419; + } + } +yy917: + YYDEBUG(917, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'q') { + if (yych == 'n') goto yy919; + goto yy419; + } else { + if (yych <= 'r') goto yy920; + if (yych <= 's') goto yy918; + if (yych <= 't') goto yy921; + goto yy419; + } +yy918: + YYDEBUG(918, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 't') goto yy418; + goto yy56; +yy919: + YYDEBUG(919, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy418; + goto yy56; +yy920: + YYDEBUG(920, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy418; + goto yy56; +yy921: + YYDEBUG(921, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'h') goto yy418; + goto yy56; +yy922: + YYDEBUG(922, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '/') goto yy56; + YYDEBUG(923, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '2') { + if (yych <= '/') goto yy56; + if (yych >= '1') goto yy925; + } else { + if (yych <= '3') goto yy926; + if (yych <= '9') goto yy917; + goto yy56; + } + YYDEBUG(924, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy419; + if (yych <= '9') goto yy927; + if (yych <= 'm') goto yy419; + goto yy919; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy419; + goto yy920; + } else { + if (yych <= 's') goto yy918; + if (yych <= 't') goto yy921; + goto yy419; + } + } +yy925: + YYDEBUG(925, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy419; + if (yych <= '9') goto yy927; + if (yych <= 'm') goto yy419; + goto yy919; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy419; + goto yy920; + } else { + if (yych <= 's') goto yy918; + if (yych <= 't') goto yy921; + goto yy419; + } + } +yy926: + YYDEBUG(926, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy419; + if (yych <= '1') goto yy927; + if (yych <= 'm') goto yy419; + goto yy919; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy419; + goto yy920; + } else { + if (yych <= 's') goto yy918; + if (yych <= 't') goto yy921; + goto yy419; + } + } +yy927: + YYDEBUG(927, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych == '/') goto yy418; + if (yych <= 'm') goto yy419; + goto yy919; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy419; + goto yy920; + } else { + if (yych <= 's') goto yy918; + if (yych <= 't') goto yy921; + goto yy419; + } + } +yy928: + YYDEBUG(928, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'A') goto yy1008; + if (yych <= 'T') goto yy56; + goto yy1007; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy56; + goto yy1008; + } else { + if (yych == 'u') goto yy1007; + goto yy56; + } + } +yy929: + YYDEBUG(929, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1005; + if (yych == 'e') goto yy1005; + goto yy56; +yy930: + YYDEBUG(930, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1002; + if (yych == 'a') goto yy1002; + goto yy56; +yy931: + YYDEBUG(931, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'P') goto yy999; + if (yych <= 'T') goto yy56; + goto yy998; + } else { + if (yych <= 'p') { + if (yych <= 'o') goto yy56; + goto yy999; + } else { + if (yych == 'u') goto yy998; + goto yy56; + } + } +yy932: + YYDEBUG(932, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy995; + if (yych == 'e') goto yy995; + goto yy56; +yy933: + YYDEBUG(933, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy993; + if (yych == 'c') goto yy993; + goto yy56; +yy934: + YYDEBUG(934, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy991; + if (yych == 'o') goto yy991; + goto yy56; +yy935: + YYDEBUG(935, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy989; + if (yych == 'e') goto yy989; + goto yy56; +yy936: + YYDEBUG(936, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '0') goto yy775; + if (yych <= '4') goto yy776; + if (yych <= '5') goto yy777; + goto yy56; +yy937: + YYDEBUG(937, *YYCURSOR); + yyaccept = 21; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '-') goto yy941; + if (yych <= '/') goto yy938; + if (yych <= '9') goto yy960; +yy938: + YYDEBUG(938, *YYCURSOR); +#line 1357 "parse_date.re" + { + int length = 0; + DEBUG_OUTPUT("gnudateshorter"); + TIMELIB_INIT; + TIMELIB_HAVE_DATE(); + s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); + s->time->m = timelib_get_nr((char **) &ptr, 2); + s->time->d = 1; + TIMELIB_PROCESS_YEAR(s->time->y, length); + TIMELIB_DEINIT; + return TIMELIB_ISO_DATE; + } +#line 14362 "<stdout>" +yy939: + YYDEBUG(939, *YYCURSOR); + yyaccept = 21; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '-') goto yy941; + if (yych <= '/') goto yy938; + if (yych <= '2') goto yy960; + goto yy938; +yy940: + YYDEBUG(940, *YYCURSOR); + yyaccept = 21; + yych = *(YYMARKER = ++YYCURSOR); + if (yych != '-') goto yy938; +yy941: + YYDEBUG(941, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '2') goto yy942; + if (yych <= '3') goto yy943; + if (yych <= '9') goto yy944; + goto yy56; +yy942: + YYDEBUG(942, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'm') { + if (yych <= '9') { + if (yych <= '/') goto yy621; + goto yy944; + } else { + if (yych == 'T') goto yy949; + goto yy621; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy946; + if (yych <= 'q') goto yy621; + goto yy947; + } else { + if (yych <= 's') goto yy945; + if (yych <= 't') goto yy948; + goto yy621; + } + } +yy943: + YYDEBUG(943, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'm') { + if (yych <= '1') { + if (yych <= '/') goto yy621; + } else { + if (yych == 'T') goto yy949; + goto yy621; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy946; + if (yych <= 'q') goto yy621; + goto yy947; + } else { + if (yych <= 's') goto yy945; + if (yych <= 't') goto yy948; + goto yy621; + } + } +yy944: + YYDEBUG(944, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych == 'T') goto yy949; + if (yych <= 'm') goto yy621; + goto yy946; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy947; + } else { + if (yych <= 's') goto yy945; + if (yych <= 't') goto yy948; + goto yy621; + } + } +yy945: + YYDEBUG(945, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 't') goto yy959; + goto yy56; +yy946: + YYDEBUG(946, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy959; + goto yy56; +yy947: + YYDEBUG(947, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'd') goto yy959; + goto yy56; +yy948: + YYDEBUG(948, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'h') goto yy959; + goto yy56; +yy949: + YYDEBUG(949, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy950; + if (yych <= '2') goto yy951; + if (yych <= '9') goto yy952; + goto yy56; +yy950: + YYDEBUG(950, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy952; + if (yych <= ':') goto yy953; + goto yy56; +yy951: + YYDEBUG(951, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '4') goto yy952; + if (yych == ':') goto yy953; + goto yy56; +yy952: + YYDEBUG(952, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; +yy953: + YYDEBUG(953, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy954; + if (yych <= '9') goto yy955; + goto yy56; +yy954: + YYDEBUG(954, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy955; + if (yych <= ':') goto yy956; + goto yy56; +yy955: + YYDEBUG(955, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; +yy956: + YYDEBUG(956, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy957; + if (yych <= '6') goto yy958; + if (yych <= '9') goto yy806; + goto yy56; +yy957: + YYDEBUG(957, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy807; + if (yych <= '9') goto yy806; + goto yy807; +yy958: + YYDEBUG(958, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '0') goto yy806; + goto yy807; +yy959: + YYDEBUG(959, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'T') goto yy949; + goto yy621; +yy960: + YYDEBUG(960, *YYCURSOR); + yyaccept = 21; + yych = *(YYMARKER = ++YYCURSOR); + if (yych != '-') goto yy938; + YYDEBUG(961, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '2') { + if (yych <= '/') goto yy56; + if (yych >= '1') goto yy963; + } else { + if (yych <= '3') goto yy964; + if (yych <= '9') goto yy944; + goto yy56; + } + YYDEBUG(962, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'm') { + if (yych <= '9') { + if (yych <= '/') goto yy621; + goto yy965; + } else { + if (yych == 'T') goto yy949; + goto yy621; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy946; + if (yych <= 'q') goto yy621; + goto yy947; + } else { + if (yych <= 's') goto yy945; + if (yych <= 't') goto yy948; + goto yy621; + } + } +yy963: + YYDEBUG(963, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'm') { + if (yych <= '9') { + if (yych <= '/') goto yy621; + goto yy965; + } else { + if (yych == 'T') goto yy949; + goto yy621; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy946; + if (yych <= 'q') goto yy621; + goto yy947; + } else { + if (yych <= 's') goto yy945; + if (yych <= 't') goto yy948; + goto yy621; + } + } +yy964: + YYDEBUG(964, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'm') { + if (yych <= '1') { + if (yych <= '/') goto yy621; + } else { + if (yych == 'T') goto yy949; + goto yy621; + } + } else { + if (yych <= 'r') { + if (yych <= 'n') goto yy946; + if (yych <= 'q') goto yy621; + goto yy947; + } else { + if (yych <= 's') goto yy945; + if (yych <= 't') goto yy948; + goto yy621; + } + } +yy965: + YYDEBUG(965, *YYCURSOR); + yyaccept = 20; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych == 'T') goto yy966; + if (yych <= 'm') goto yy419; + goto yy946; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy419; + goto yy947; + } else { + if (yych <= 's') goto yy945; + if (yych <= 't') goto yy948; + goto yy419; + } + } +yy966: + YYDEBUG(966, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy967; + if (yych <= '2') goto yy968; + if (yych <= '9') goto yy952; + goto yy56; +yy967: + YYDEBUG(967, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy969; + if (yych <= ':') goto yy953; + goto yy56; +yy968: + YYDEBUG(968, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '4') goto yy969; + if (yych == ':') goto yy953; + goto yy56; +yy969: + YYDEBUG(969, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(970, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy971; + if (yych <= '9') goto yy955; + goto yy56; +yy971: + YYDEBUG(971, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy972; + if (yych <= ':') goto yy956; + goto yy56; +yy972: + YYDEBUG(972, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ':') goto yy56; + YYDEBUG(973, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy974; + if (yych <= '6') goto yy975; + if (yych <= '9') goto yy806; + goto yy56; +yy974: + YYDEBUG(974, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy807; + if (yych <= '9') goto yy976; + goto yy807; +yy975: + YYDEBUG(975, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '0') goto yy807; +yy976: + YYDEBUG(976, *YYCURSOR); + yyaccept = 22; + yych = *(YYMARKER = ++YYCURSOR); + if (yych != '.') goto yy807; + YYDEBUG(977, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy978: + YYDEBUG(978, *YYCURSOR); + yyaccept = 22; + YYMARKER = ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); + yych = *YYCURSOR; + YYDEBUG(979, *YYCURSOR); + if (yych <= '-') { + if (yych == '+') goto yy981; + if (yych <= ',') goto yy807; + goto yy981; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy807; + goto yy978; + } else { + if (yych != 'G') goto yy807; + } + } + YYDEBUG(980, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy987; + goto yy56; +yy981: + YYDEBUG(981, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy982; + if (yych <= '2') goto yy983; + if (yych <= '9') goto yy984; + goto yy56; +yy982: + YYDEBUG(982, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy807; + if (yych <= '9') goto yy984; + if (yych <= ':') goto yy985; + goto yy807; +yy983: + YYDEBUG(983, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '5') { + if (yych <= '/') goto yy807; + if (yych >= '5') goto yy986; + } else { + if (yych <= '9') goto yy806; + if (yych <= ':') goto yy985; + goto yy807; + } +yy984: + YYDEBUG(984, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy807; + if (yych <= '5') goto yy986; + if (yych <= '9') goto yy806; + if (yych >= ';') goto yy807; +yy985: + YYDEBUG(985, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy807; + if (yych <= '5') goto yy986; + if (yych <= '9') goto yy806; + goto yy807; +yy986: + YYDEBUG(986, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy807; + if (yych <= '9') goto yy806; + goto yy807; +yy987: + YYDEBUG(987, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != 'T') goto yy56; + YYDEBUG(988, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '+') goto yy981; + if (yych == '-') goto yy981; + goto yy56; +yy989: + YYDEBUG(989, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy990; + if (yych != 'c') goto yy56; +yy990: + YYDEBUG(990, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'E') goto yy844; + if (yych == 'e') goto yy844; + goto yy758; + } +yy991: + YYDEBUG(991, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'V') goto yy992; + if (yych != 'v') goto yy56; +yy992: + YYDEBUG(992, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'E') goto yy851; + if (yych == 'e') goto yy851; + goto yy758; + } +yy993: + YYDEBUG(993, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy994; + if (yych != 't') goto yy56; +yy994: + YYDEBUG(994, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'O') goto yy857; + if (yych == 'o') goto yy857; + goto yy758; + } +yy995: + YYDEBUG(995, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'P') goto yy996; + if (yych != 'p') goto yy56; +yy996: + YYDEBUG(996, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'T') goto yy997; + if (yych != 't') goto yy758; + } +yy997: + YYDEBUG(997, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'E') goto yy863; + if (yych == 'e') goto yy863; + goto yy758; + } +yy998: + YYDEBUG(998, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy1001; + if (yych == 'g') goto yy1001; + goto yy56; +yy999: + YYDEBUG(999, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy1000; + if (yych != 'r') goto yy56; +yy1000: + YYDEBUG(1000, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'H') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'I') goto yy870; + if (yych == 'i') goto yy870; + goto yy758; + } +yy1001: + YYDEBUG(1001, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'U') goto yy872; + if (yych == 'u') goto yy872; + goto yy758; + } +yy1002: + YYDEBUG(1002, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych == 'R') goto yy1003; + if (yych <= 'X') goto yy56; + goto yy1004; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy56; + } else { + if (yych == 'y') goto yy1004; + goto yy56; + } + } +yy1003: + YYDEBUG(1003, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'B') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'C') goto yy876; + if (yych == 'c') goto yy876; + goto yy758; + } +yy1004: + YYDEBUG(1004, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '-') goto yy731; + goto yy758; +yy1005: + YYDEBUG(1005, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'B') goto yy1006; + if (yych != 'b') goto yy56; +yy1006: + YYDEBUG(1006, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'R') goto yy879; + if (yych == 'r') goto yy879; + goto yy758; + } +yy1007: + YYDEBUG(1007, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'L') goto yy1011; + if (yych <= 'M') goto yy56; + goto yy1010; + } else { + if (yych <= 'l') { + if (yych <= 'k') goto yy56; + goto yy1011; + } else { + if (yych == 'n') goto yy1010; + goto yy56; + } + } +yy1008: + YYDEBUG(1008, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy1009; + if (yych != 'n') goto yy56; +yy1009: + YYDEBUG(1009, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'U') goto yy886; + if (yych == 'u') goto yy886; + goto yy758; + } +yy1010: + YYDEBUG(1010, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'E') goto yy848; + if (yych == 'e') goto yy848; + goto yy758; + } +yy1011: + YYDEBUG(1011, *YYCURSOR); + yyaccept = 19; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych == '-') goto yy731; + goto yy758; + } else { + if (yych <= 'Y') goto yy848; + if (yych == 'y') goto yy848; + goto yy758; + } +yy1012: + YYDEBUG(1012, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy542; + goto yy695; + } else { + if (yych <= ',') goto yy542; + if (yych <= '-') goto yy696; + goto yy695; + } + } else { + if (yych <= 'U') { + if (yych <= '/') goto yy694; + if (yych <= 'T') goto yy542; + goto yy79; + } else { + if (yych == 'u') goto yy79; + goto yy542; + } + } +yy1013: + YYDEBUG(1013, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'P') { + if (yych == 'C') goto yy121; + if (yych <= 'O') goto yy56; + goto yy550; + } else { + if (yych <= 'c') { + if (yych <= 'b') goto yy56; + goto yy121; + } else { + if (yych == 'p') goto yy550; + goto yy56; + } + } +yy1014: + YYDEBUG(1014, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= ',') { + if (yych == '\t') goto yy1016; + goto yy1018; + } else { + if (yych <= '-') goto yy1015; + if (yych <= '.') goto yy695; + if (yych <= '/') goto yy694; + goto yy705; + } + } else { + if (yych <= 'q') { + if (yych == 'n') goto yy434; + goto yy1018; + } else { + if (yych <= 'r') goto yy435; + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy1018; + } + } +yy1015: + YYDEBUG(1015, *YYCURSOR); + yych = *++YYCURSOR; + switch (yych) { + case '0': goto yy1019; + case '1': goto yy1020; + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': goto yy582; + case 'A': + case 'a': goto yy586; + case 'D': + case 'd': goto yy590; + case 'F': + case 'f': goto yy584; + case 'J': + case 'j': goto yy583; + case 'M': + case 'm': goto yy585; + case 'N': + case 'n': goto yy589; + case 'O': + case 'o': goto yy588; + case 'S': + case 's': goto yy587; + default: goto yy542; + } +yy1016: + YYDEBUG(1016, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy1018; + if (yych <= '0') goto yy700; + if (yych <= '1') goto yy701; + if (yych <= '9') goto yy702; + goto yy1018; +yy1017: + YYDEBUG(1017, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 13) YYFILL(13); + yych = *YYCURSOR; +yy1018: + YYDEBUG(1018, *YYCURSOR); + if (yych <= 'W') { + if (yych <= 'G') { + if (yych <= '.') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1017; + goto yy56; + } else { + if (yych <= ' ') goto yy1017; + if (yych <= ',') goto yy56; + goto yy541; + } + } else { + if (yych <= 'C') { + if (yych == 'A') goto yy538; + goto yy56; + } else { + if (yych <= 'D') goto yy430; + if (yych == 'F') goto yy431; + goto yy56; + } + } + } else { + if (yych <= 'N') { + if (yych <= 'J') { + if (yych <= 'H') goto yy65; + if (yych <= 'I') goto yy439; + goto yy443; + } else { + if (yych <= 'L') goto yy56; + if (yych <= 'M') goto yy427; + goto yy446; + } + } else { + if (yych <= 'S') { + if (yych <= 'O') goto yy445; + if (yych <= 'R') goto yy56; + goto yy428; + } else { + if (yych <= 'T') goto yy70; + if (yych <= 'U') goto yy63; + if (yych <= 'V') goto yy441; + goto yy69; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= '`') { + if (yych <= 'X') goto yy442; + if (yych <= 'Y') goto yy68; + goto yy56; + } else { + if (yych <= 'a') goto yy538; + if (yych <= 'c') goto yy56; + goto yy430; + } + } else { + if (yych <= 'g') { + if (yych == 'f') goto yy431; + goto yy56; + } else { + if (yych <= 'h') goto yy65; + if (yych == 'j') goto yy443; + goto yy56; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'o') { + if (yych <= 'm') goto yy427; + if (yych <= 'n') goto yy446; + goto yy445; + } else { + if (yych <= 'r') goto yy56; + if (yych <= 's') goto yy428; + if (yych <= 't') goto yy70; + goto yy63; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy69; + goto yy56; + } else { + if (yych <= 'y') goto yy68; + if (yych == 0xC2) goto yy62; + goto yy56; + } + } + } + } +yy1019: + YYDEBUG(1019, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') { + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy619; + goto yy566; + } else { + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy1021; + goto yy56; + } +yy1020: + YYDEBUG(1020, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '.') { + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy619; + goto yy566; + } else { + if (yych <= '/') goto yy56; + if (yych >= '3') goto yy56; + } +yy1021: + YYDEBUG(1021, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= ',') goto yy56; + if (yych <= '-') goto yy1022; + if (yych <= '.') goto yy566; + goto yy56; +yy1022: + YYDEBUG(1022, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '2') { + if (yych <= '/') goto yy56; + if (yych >= '1') goto yy1024; + } else { + if (yych <= '3') goto yy1025; + if (yych <= '9') goto yy623; + goto yy56; + } + YYDEBUG(1023, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy1026; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy1024: + YYDEBUG(1024, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy621; + if (yych <= '9') goto yy1026; + if (yych <= 'm') goto yy621; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy1025: + YYDEBUG(1025, *YYCURSOR); + yyaccept = 12; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '1') { + if (yych <= '/') goto yy621; + } else { + if (yych <= '9') goto yy568; + if (yych <= 'm') goto yy621; + goto yy625; + } + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy621; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy621; + } + } +yy1026: + YYDEBUG(1026, *YYCURSOR); + yyaccept = 14; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'n') { + if (yych <= '/') goto yy728; + if (yych <= '9') goto yy569; + if (yych <= 'm') goto yy728; + goto yy625; + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy728; + goto yy626; + } else { + if (yych <= 's') goto yy624; + if (yych <= 't') goto yy627; + goto yy728; + } + } +yy1027: + YYDEBUG(1027, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= '-') { + if (yych == '\t') goto yy1016; + if (yych <= ',') goto yy1018; + goto yy1015; + } else { + if (yych <= '.') goto yy1028; + if (yych <= '/') goto yy694; + if (yych <= '5') goto yy1030; + goto yy705; + } + } else { + if (yych <= 'q') { + if (yych <= ':') goto yy1029; + if (yych == 'n') goto yy434; + goto yy1018; + } else { + if (yych <= 'r') goto yy435; + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy1018; + } + } +yy1028: + YYDEBUG(1028, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '1') { + if (yych <= '/') goto yy542; + if (yych <= '0') goto yy1052; + goto yy1053; + } else { + if (yych <= '5') goto yy1054; + if (yych <= '9') goto yy1055; + goto yy542; + } +yy1029: + YYDEBUG(1029, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy1047; + if (yych <= '9') goto yy1048; + goto yy56; +yy1030: + YYDEBUG(1030, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '-') goto yy749; + if (yych <= '/') goto yy60; + if (yych >= ':') goto yy60; + YYDEBUG(1031, *YYCURSOR); + yyaccept = 23; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'L') { + if (yych <= '3') { + if (yych <= '-') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy755; + } else { + if (yych <= ' ') goto yy755; + if (yych >= '-') goto yy752; + } + } else { + if (yych <= '0') { + if (yych <= '.') goto yy756; + if (yych <= '/') goto yy753; + goto yy1033; + } else { + if (yych <= '1') goto yy1034; + if (yych <= '2') goto yy1035; + goto yy1036; + } + } + } else { + if (yych <= 'A') { + if (yych <= '9') { + if (yych <= '5') goto yy1037; + if (yych <= '6') goto yy1038; + goto yy54; + } else { + if (yych <= ':') goto yy771; + if (yych >= 'A') goto yy755; + } + } else { + if (yych <= 'E') { + if (yych == 'D') goto yy755; + } else { + if (yych == 'G') goto yy1032; + if (yych <= 'J') goto yy755; + } + } + } + } else { + if (yych <= 'h') { + if (yych <= '`') { + if (yych <= 'V') { + if (yych <= 'O') goto yy755; + if (yych >= 'S') goto yy755; + } else { + if (yych <= 'W') goto yy774; + if (yych <= 'Y') goto yy755; + } + } else { + if (yych <= 'd') { + if (yych <= 'a') goto yy755; + if (yych >= 'd') goto yy755; + } else { + if (yych == 'f') goto yy755; + if (yych >= 'h') goto yy755; + } + } + } else { + if (yych <= 'u') { + if (yych <= 'l') { + if (yych == 'j') goto yy755; + } else { + if (yych <= 'o') goto yy755; + if (yych >= 's') goto yy755; + } + } else { + if (yych <= 'x') { + if (yych == 'w') goto yy755; + } else { + if (yych <= 'y') goto yy755; + if (yych == 0xC2) goto yy755; + } + } + } + } +yy1032: + YYDEBUG(1032, *YYCURSOR); +#line 1249 "parse_date.re" + { + DEBUG_OUTPUT("gnunocolon"); + TIMELIB_INIT; + switch (s->time->have_time) { + case 0: + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + s->time->s = 0; + break; + case 1: + s->time->y = timelib_get_nr((char **) &ptr, 4); + break; + default: + TIMELIB_DEINIT; + add_error(s, TIMELIB_ERR_DOUBLE_TIME, "Double time specification"); + return TIMELIB_ERROR; + } + s->time->have_time++; + TIMELIB_DEINIT; + return TIMELIB_GNU_NOCOLON; + } +#line 15477 "<stdout>" +yy1033: + YYDEBUG(1033, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '0') goto yy1045; + if (yych <= '9') goto yy1046; + goto yy60; +yy1034: + YYDEBUG(1034, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '2') goto yy1044; + if (yych <= '9') goto yy1043; + goto yy60; +yy1035: + YYDEBUG(1035, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy1043; + goto yy60; +yy1036: + YYDEBUG(1036, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '5') goto yy1041; + if (yych <= '6') goto yy1042; + if (yych <= '9') goto yy1039; + goto yy60; +yy1037: + YYDEBUG(1037, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '9') goto yy1039; + goto yy60; +yy1038: + YYDEBUG(1038, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy60; + if (yych <= '0') goto yy1039; + if (yych <= '9') goto yy54; + goto yy60; +yy1039: + YYDEBUG(1039, *YYCURSOR); + yyaccept = 24; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 2) { + goto yy54; + } + if (yych <= 'X') { + if (yych <= 'F') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych >= ' ') goto yy60; + } else { + if (yych == 'D') goto yy60; + if (yych >= 'F') goto yy60; + } + } else { + if (yych <= 'M') { + if (yych == 'H') goto yy60; + if (yych >= 'M') goto yy60; + } else { + if (yych <= 'U') { + if (yych >= 'S') goto yy60; + } else { + if (yych == 'W') goto yy60; + } + } + } + } else { + if (yych <= 'm') { + if (yych <= 'e') { + if (yych <= 'Y') goto yy60; + if (yych == 'd') goto yy60; + } else { + if (yych <= 'g') { + if (yych <= 'f') goto yy60; + } else { + if (yych <= 'h') goto yy60; + if (yych >= 'm') goto yy60; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') goto yy1040; + if (yych != 'v') goto yy60; + } else { + if (yych <= 'y') { + if (yych >= 'y') goto yy60; + } else { + if (yych == 0xC2) goto yy60; + } + } + } + } +yy1040: + YYDEBUG(1040, *YYCURSOR); +#line 1295 "parse_date.re" + { + int tz_not_found; + DEBUG_OUTPUT("iso8601nocolon"); + TIMELIB_INIT; + TIMELIB_HAVE_TIME(); + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = timelib_get_nr((char **) &ptr, 2); + s->time->s = timelib_get_nr((char **) &ptr, 2); + + if (*ptr != '\0') { + s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); + if (tz_not_found) { + add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); + } + } + TIMELIB_DEINIT; + return TIMELIB_ISO_NOCOLON; + } +#line 15594 "<stdout>" +yy1041: + YYDEBUG(1041, *YYCURSOR); + yyaccept = 24; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy1040; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy1040; + goto yy785; + } else { + if (yych == 'D') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy1040; + if (yych <= 'H') goto yy60; + goto yy1040; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy1040; + } else { + if (yych == 'V') goto yy1040; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy1040; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy1040; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy1040; + } else { + if (yych == 'v') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy1040; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy1040; + } + } + } + } +yy1042: + YYDEBUG(1042, *YYCURSOR); + yyaccept = 24; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'D') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy1040; + goto yy60; + } else { + if (yych <= '6') { + if (yych <= '/') goto yy1040; + goto yy785; + } else { + if (yych <= '9') goto yy54; + if (yych <= 'C') goto yy1040; + goto yy60; + } + } + } else { + if (yych <= 'L') { + if (yych <= 'F') { + if (yych <= 'E') goto yy1040; + goto yy60; + } else { + if (yych == 'H') goto yy60; + goto yy1040; + } + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy1040; + } else { + if (yych == 'V') goto yy1040; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy1040; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy1040; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy1040; + } else { + if (yych == 'v') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy1040; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy1040; + } + } + } + } +yy1043: + YYDEBUG(1043, *YYCURSOR); + yyaccept = 24; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= 'E') { + if (yych <= ' ') { + if (yych == '\t') goto yy60; + if (yych <= 0x1F) goto yy1040; + goto yy60; + } else { + if (yych <= '9') { + if (yych <= '/') goto yy1040; + goto yy785; + } else { + if (yych == 'D') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'L') { + if (yych == 'G') goto yy1040; + if (yych <= 'H') goto yy60; + goto yy1040; + } else { + if (yych <= 'R') { + if (yych <= 'M') goto yy60; + goto yy1040; + } else { + if (yych == 'V') goto yy1040; + goto yy60; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych == 'Y') goto yy60; + if (yych <= 'c') goto yy1040; + goto yy60; + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy1040; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy1040; + } else { + if (yych == 'v') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy1040; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy1040; + } + } + } + } +yy1044: + YYDEBUG(1044, *YYCURSOR); + yyaccept = 24; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'V') { + if (yych <= 'C') { + if (yych <= '/') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy1040; + goto yy60; + } else { + if (yych == ' ') goto yy60; + goto yy1040; + } + } else { + if (yych <= '2') { + if (yych <= '0') goto yy809; + goto yy810; + } else { + if (yych <= '3') goto yy811; + if (yych <= '9') goto yy785; + goto yy1040; + } + } + } else { + if (yych <= 'H') { + if (yych <= 'E') { + if (yych <= 'D') goto yy60; + goto yy1040; + } else { + if (yych == 'G') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'M') { + if (yych <= 'L') goto yy1040; + goto yy60; + } else { + if (yych <= 'R') goto yy1040; + if (yych <= 'U') goto yy60; + goto yy1040; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= 'X') { + if (yych <= 'W') goto yy60; + goto yy1040; + } else { + if (yych <= 'Y') goto yy60; + if (yych <= 'c') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy1040; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy1040; + } else { + if (yych == 'v') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy1040; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy1040; + } + } + } + } +yy1045: + YYDEBUG(1045, *YYCURSOR); + yyaccept = 24; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'V') { + if (yych <= 'C') { + if (yych <= '/') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy1040; + goto yy60; + } else { + if (yych == ' ') goto yy60; + goto yy1040; + } + } else { + if (yych <= '2') { + if (yych <= '0') goto yy841; + goto yy810; + } else { + if (yych <= '3') goto yy811; + if (yych <= '9') goto yy785; + goto yy1040; + } + } + } else { + if (yych <= 'H') { + if (yych <= 'E') { + if (yych <= 'D') goto yy60; + goto yy1040; + } else { + if (yych == 'G') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'M') { + if (yych <= 'L') goto yy1040; + goto yy60; + } else { + if (yych <= 'R') goto yy1040; + if (yych <= 'U') goto yy60; + goto yy1040; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= 'X') { + if (yych <= 'W') goto yy60; + goto yy1040; + } else { + if (yych <= 'Y') goto yy60; + if (yych <= 'c') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy1040; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy1040; + } else { + if (yych == 'v') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy1040; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy1040; + } + } + } + } +yy1046: + YYDEBUG(1046, *YYCURSOR); + yyaccept = 24; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'V') { + if (yych <= 'C') { + if (yych <= '/') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy1040; + goto yy60; + } else { + if (yych == ' ') goto yy60; + goto yy1040; + } + } else { + if (yych <= '2') { + if (yych <= '0') goto yy809; + goto yy810; + } else { + if (yych <= '3') goto yy811; + if (yych <= '9') goto yy785; + goto yy1040; + } + } + } else { + if (yych <= 'H') { + if (yych <= 'E') { + if (yych <= 'D') goto yy60; + goto yy1040; + } else { + if (yych == 'G') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'M') { + if (yych <= 'L') goto yy1040; + goto yy60; + } else { + if (yych <= 'R') goto yy1040; + if (yych <= 'U') goto yy60; + goto yy1040; + } + } + } + } else { + if (yych <= 'l') { + if (yych <= 'd') { + if (yych <= 'X') { + if (yych <= 'W') goto yy60; + goto yy1040; + } else { + if (yych <= 'Y') goto yy60; + if (yych <= 'c') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'f') { + if (yych <= 'e') goto yy1040; + goto yy60; + } else { + if (yych == 'h') goto yy60; + goto yy1040; + } + } + } else { + if (yych <= 'w') { + if (yych <= 'r') { + if (yych <= 'm') goto yy60; + goto yy1040; + } else { + if (yych == 'v') goto yy1040; + goto yy60; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy1040; + goto yy60; + } else { + if (yych == 0xC2) goto yy60; + goto yy1040; + } + } + } + } +yy1047: + YYDEBUG(1047, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy1049; + goto yy455; + } else { + if (yych <= '9') goto yy1048; + if (yych <= ':') goto yy1049; + goto yy455; + } +yy1048: + YYDEBUG(1048, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy1049; + if (yych != ':') goto yy455; +yy1049: + YYDEBUG(1049, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy1050; + if (yych <= '6') goto yy1051; + if (yych <= '9') goto yy460; + goto yy56; +yy1050: + YYDEBUG(1050, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy460; + goto yy455; +yy1051: + YYDEBUG(1051, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych == '0') goto yy460; + goto yy455; +yy1052: + YYDEBUG(1052, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + goto yy1056; + } else { + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy1055; + if (yych <= ':') goto yy1049; + goto yy455; + } +yy1053: + YYDEBUG(1053, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + if (yych <= '.') goto yy1056; + goto yy455; + } else { + if (yych <= '2') goto yy1055; + if (yych <= '9') goto yy1048; + if (yych <= ':') goto yy1049; + goto yy455; + } +yy1054: + YYDEBUG(1054, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + goto yy1056; + } else { + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy1048; + if (yych <= ':') goto yy1049; + goto yy455; + } +yy1055: + YYDEBUG(1055, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ',') goto yy455; + if (yych <= '-') goto yy566; + } else { + if (yych == ':') goto yy1049; + goto yy455; + } +yy1056: + YYDEBUG(1056, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '5') goto yy1057; + if (yych <= '6') goto yy1058; + if (yych <= '9') goto yy574; + goto yy56; +yy1057: + YYDEBUG(1057, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy1059; + goto yy455; +yy1058: + YYDEBUG(1058, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych == '.') goto yy461; + goto yy455; + } else { + if (yych <= '0') goto yy1059; + if (yych <= '9') goto yy575; + goto yy455; + } +yy1059: + YYDEBUG(1059, *YYCURSOR); + yyaccept = 10; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '.') goto yy461; + if (yych <= '/') goto yy455; + if (yych <= '9') goto yy569; + goto yy455; +yy1060: + YYDEBUG(1060, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= '-') { + if (yych == '\t') goto yy424; + if (yych <= ',') goto yy426; + goto yy1015; + } else { + if (yych <= '.') goto yy438; + if (yych <= '/') goto yy436; + if (yych <= '5') goto yy1030; + goto yy705; + } + } else { + if (yych <= 'q') { + if (yych <= ':') goto yy447; + if (yych == 'n') goto yy434; + goto yy426; + } else { + if (yych <= 'r') goto yy435; + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy426; + } + } +yy1061: + YYDEBUG(1061, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '9') { + if (yych <= '-') { + if (yych == '\t') goto yy1016; + if (yych <= ',') goto yy1018; + goto yy1015; + } else { + if (yych <= '.') goto yy1028; + if (yych <= '/') goto yy436; + if (yych <= '5') goto yy1030; + goto yy705; + } + } else { + if (yych <= 'q') { + if (yych <= ':') goto yy1029; + if (yych == 'n') goto yy434; + goto yy1018; + } else { + if (yych <= 'r') goto yy435; + if (yych <= 's') goto yy429; + if (yych <= 't') goto yy432; + goto yy1018; + } + } +yy1062: + YYDEBUG(1062, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy166; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'e') goto yy1063; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1063: + YYDEBUG(1063, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'V') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'U') goto yy167; + } + } else { + if (yych <= 'u') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'v') goto yy1064; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1064: + YYDEBUG(1064, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'I') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'H') goto yy168; + } + } else { + if (yych <= 'h') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'i') goto yy1065; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1065: + YYDEBUG(1065, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'N') goto yy169; + } + } else { + if (yych <= 'n') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'o') goto yy1066; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1066: + YYDEBUG(1066, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'U') goto yy1067; + if (yych != 'u') goto yy3; + } +yy1067: + YYDEBUG(1067, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1068; + if (yych != 's') goto yy56; +yy1068: + YYDEBUG(1068, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '\t') goto yy1069; + if (yych != ' ') goto yy56; +yy1069: + YYDEBUG(1069, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); + yych = *YYCURSOR; +yy1070: + YYDEBUG(1070, *YYCURSOR); + if (yych <= 'X') { + if (yych <= 'G') { + if (yych <= ' ') { + if (yych == '\t') goto yy1069; + if (yych <= 0x1F) goto yy56; + goto yy1069; + } else { + if (yych <= 'D') { + if (yych <= 'C') goto yy56; + goto yy1076; + } else { + if (yych == 'F') goto yy1077; + goto yy56; + } + } + } else { + if (yych <= 'S') { + if (yych <= 'L') { + if (yych <= 'H') goto yy1075; + goto yy56; + } else { + if (yych <= 'M') goto yy1071; + if (yych <= 'R') goto yy56; + goto yy1074; + } + } else { + if (yych <= 'U') { + if (yych <= 'T') goto yy1080; + goto yy1073; + } else { + if (yych == 'W') goto yy1079; + goto yy56; + } + } + } + } else { + if (yych <= 'r') { + if (yych <= 'f') { + if (yych <= 'c') { + if (yych <= 'Y') goto yy1078; + goto yy56; + } else { + if (yych <= 'd') goto yy1076; + if (yych <= 'e') goto yy56; + goto yy1077; + } + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + goto yy1075; + } else { + if (yych != 'm') goto yy56; + } + } + } else { + if (yych <= 'w') { + if (yych <= 't') { + if (yych <= 's') goto yy1074; + goto yy1080; + } else { + if (yych <= 'u') goto yy1073; + if (yych <= 'v') goto yy56; + goto yy1079; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy56; + goto yy1078; + } else { + if (yych == 0xC2) goto yy1072; + goto yy56; + } + } + } + } +yy1071: + YYDEBUG(1071, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= 'N') { + if (yych == 'I') goto yy1155; + goto yy56; + } else { + if (yych <= 'O') goto yy1154; + if (yych <= 'R') goto yy56; + goto yy1156; + } + } else { + if (yych <= 'n') { + if (yych == 'i') goto yy1155; + goto yy56; + } else { + if (yych <= 'o') goto yy1154; + if (yych == 's') goto yy1156; + goto yy56; + } + } +yy1072: + YYDEBUG(1072, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 0xB5) goto yy1151; + goto yy56; +yy1073: + YYDEBUG(1073, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1149; + if (yych == 's') goto yy1149; + goto yy56; +yy1074: + YYDEBUG(1074, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= 'D') { + if (yych == 'A') goto yy1136; + goto yy56; + } else { + if (yych <= 'E') goto yy1137; + if (yych <= 'T') goto yy56; + goto yy1135; + } + } else { + if (yych <= 'd') { + if (yych == 'a') goto yy1136; + goto yy56; + } else { + if (yych <= 'e') goto yy1137; + if (yych == 'u') goto yy1135; + goto yy56; + } + } +yy1075: + YYDEBUG(1075, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1133; + if (yych == 'o') goto yy1133; + goto yy56; +yy1076: + YYDEBUG(1076, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1132; + if (yych == 'a') goto yy1132; + goto yy56; +yy1077: + YYDEBUG(1077, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych == 'O') goto yy1117; + if (yych <= 'Q') goto yy56; + goto yy1116; + } else { + if (yych <= 'o') { + if (yych <= 'n') goto yy56; + goto yy1117; + } else { + if (yych == 'r') goto yy1116; + goto yy56; + } + } +yy1078: + YYDEBUG(1078, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1113; + if (yych == 'e') goto yy1113; + goto yy56; +yy1079: + YYDEBUG(1079, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1099; + if (yych == 'e') goto yy1099; + goto yy56; +yy1080: + YYDEBUG(1080, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych == 'H') goto yy1081; + if (yych <= 'T') goto yy56; + goto yy1082; + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + } else { + if (yych == 'u') goto yy1082; + goto yy56; + } + } +yy1081: + YYDEBUG(1081, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'U') goto yy1094; + if (yych == 'u') goto yy1094; + goto yy56; +yy1082: + YYDEBUG(1082, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1083; + if (yych != 'e') goto yy56; +yy1083: + YYDEBUG(1083, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy1085; + if (yych >= ' ') goto yy1085; + } else { + if (yych <= 'S') { + if (yych >= 'S') goto yy1087; + } else { + if (yych == 's') goto yy1087; + } + } +yy1084: + YYDEBUG(1084, *YYCURSOR); +#line 1691 "parse_date.re" + { + timelib_sll i; + int behavior = 0; + DEBUG_OUTPUT("relativetext"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + + while(*ptr) { + i = timelib_get_relative_text((char **) &ptr, &behavior); + timelib_eat_spaces((char **) &ptr); + timelib_set_relative((char **) &ptr, i, behavior, s); + } + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 16586 "<stdout>" +yy1085: + YYDEBUG(1085, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); + yych = *YYCURSOR; + YYDEBUG(1086, *YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy1085; + if (yych <= 0x1F) goto yy56; + goto yy1085; + } else { + if (yych <= 'O') { + if (yych <= 'N') goto yy56; + goto yy1091; + } else { + if (yych == 'o') goto yy1091; + goto yy56; + } + } +yy1087: + YYDEBUG(1087, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1088; + if (yych != 'd') goto yy56; +yy1088: + YYDEBUG(1088, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1089; + if (yych != 'a') goto yy56; +yy1089: + YYDEBUG(1089, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1090; + if (yych != 'y') goto yy56; +yy1090: + YYDEBUG(1090, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '\t') goto yy1085; + if (yych == ' ') goto yy1085; + goto yy1084; +yy1091: + YYDEBUG(1091, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'F') goto yy1092; + if (yych != 'f') goto yy56; +yy1092: + YYDEBUG(1092, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(1093, *YYCURSOR); +#line 1164 "parse_date.re" + { + timelib_sll i; + int behavior = 0; + DEBUG_OUTPUT("weekdayof"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + TIMELIB_HAVE_SPECIAL_RELATIVE(); + + i = timelib_get_relative_text((char **) &ptr, &behavior); + timelib_eat_spaces((char **) &ptr); + if (i > 0) { /* first, second... etc */ + s->time->relative.special.type = TIMELIB_SPECIAL_DAY_OF_WEEK_IN_MONTH; + timelib_set_relative((char **) &ptr, i, 1, s); + } else { /* last */ + s->time->relative.special.type = TIMELIB_SPECIAL_LAST_DAY_OF_WEEK_IN_MONTH; + timelib_set_relative((char **) &ptr, i, behavior, s); + } + TIMELIB_DEINIT; + return TIMELIB_WEEK_DAY_OF_MONTH; + } +#line 16658 "<stdout>" +yy1094: + YYDEBUG(1094, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy1085; + if (yych <= 0x1F) goto yy1084; + goto yy1085; + } else { + if (yych <= 'R') { + if (yych <= 'Q') goto yy1084; + } else { + if (yych != 'r') goto yy1084; + } + } + YYDEBUG(1095, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1096; + if (yych != 's') goto yy56; +yy1096: + YYDEBUG(1096, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1097; + if (yych != 'd') goto yy56; +yy1097: + YYDEBUG(1097, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1098; + if (yych != 'a') goto yy56; +yy1098: + YYDEBUG(1098, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1090; + if (yych == 'y') goto yy1090; + goto yy56; +yy1099: + YYDEBUG(1099, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= 'C') goto yy56; + if (yych <= 'D') goto yy1101; + } else { + if (yych <= 'c') goto yy56; + if (yych <= 'd') goto yy1101; + if (yych >= 'f') goto yy56; + } + YYDEBUG(1100, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'K') goto yy1107; + if (yych == 'k') goto yy1107; + goto yy56; +yy1101: + YYDEBUG(1101, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy1085; + if (yych <= 0x1F) goto yy1084; + goto yy1085; + } else { + if (yych <= 'N') { + if (yych <= 'M') goto yy1084; + } else { + if (yych != 'n') goto yy1084; + } + } + YYDEBUG(1102, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1103; + if (yych != 'e') goto yy56; +yy1103: + YYDEBUG(1103, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1104; + if (yych != 's') goto yy56; +yy1104: + YYDEBUG(1104, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1105; + if (yych != 'd') goto yy56; +yy1105: + YYDEBUG(1105, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1106; + if (yych != 'a') goto yy56; +yy1106: + YYDEBUG(1106, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1090; + if (yych == 'y') goto yy1090; + goto yy56; +yy1107: + YYDEBUG(1107, *YYCURSOR); + yyaccept = 26; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych == 'D') goto yy1110; + if (yych >= 'S') goto yy1109; + } else { + if (yych <= 'd') { + if (yych >= 'd') goto yy1110; + } else { + if (yych == 's') goto yy1109; + } + } +yy1108: + YYDEBUG(1108, *YYCURSOR); +#line 1667 "parse_date.re" + { + timelib_sll i; + int behavior = 0; + DEBUG_OUTPUT("relativetextweek"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + + while(*ptr) { + i = timelib_get_relative_text((char **) &ptr, &behavior); + timelib_eat_spaces((char **) &ptr); + timelib_set_relative((char **) &ptr, i, behavior, s); + s->time->relative.weekday_behavior = 2; + + /* to handle the format weekday + last/this/next week */ + if (s->time->relative.have_weekday_relative == 0) { + TIMELIB_HAVE_WEEKDAY_RELATIVE(); + s->time->relative.weekday = 1; + } + } + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 16789 "<stdout>" +yy1109: + YYDEBUG(1109, *YYCURSOR); + yych = *++YYCURSOR; + goto yy1084; +yy1110: + YYDEBUG(1110, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1111; + if (yych != 'a') goto yy56; +yy1111: + YYDEBUG(1111, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1112; + if (yych != 'y') goto yy56; +yy1112: + YYDEBUG(1112, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1109; + if (yych == 's') goto yy1109; + goto yy1084; +yy1113: + YYDEBUG(1113, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1114; + if (yych != 'a') goto yy56; +yy1114: + YYDEBUG(1114, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy1115; + if (yych != 'r') goto yy56; +yy1115: + YYDEBUG(1115, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1109; + if (yych == 's') goto yy1109; + goto yy1084; +yy1116: + YYDEBUG(1116, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy1129; + if (yych == 'i') goto yy1129; + goto yy56; +yy1117: + YYDEBUG(1117, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy1118; + if (yych != 'r') goto yy56; +yy1118: + YYDEBUG(1118, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy1119; + if (yych != 't') goto yy56; +yy1119: + YYDEBUG(1119, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych == 'H') goto yy1121; + if (yych <= 'M') goto yy56; + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + goto yy1121; + } else { + if (yych != 'n') goto yy56; + } + } + YYDEBUG(1120, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy1126; + if (yych == 'i') goto yy1126; + goto yy56; +yy1121: + YYDEBUG(1121, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy1122; + if (yych != 'n') goto yy56; +yy1122: + YYDEBUG(1122, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy1123; + if (yych != 'i') goto yy56; +yy1123: + YYDEBUG(1123, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy1124; + if (yych != 'g') goto yy56; +yy1124: + YYDEBUG(1124, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy1125; + if (yych != 'h') goto yy56; +yy1125: + YYDEBUG(1125, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy1115; + if (yych == 't') goto yy1115; + goto yy56; +yy1126: + YYDEBUG(1126, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'G') goto yy1127; + if (yych != 'g') goto yy56; +yy1127: + YYDEBUG(1127, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy1128; + if (yych != 'h') goto yy56; +yy1128: + YYDEBUG(1128, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy1115; + if (yych == 't') goto yy1115; + goto yy56; +yy1129: + YYDEBUG(1129, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy1085; + if (yych <= 0x1F) goto yy1084; + goto yy1085; + } else { + if (yych <= 'D') { + if (yych <= 'C') goto yy1084; + } else { + if (yych != 'd') goto yy1084; + } + } + YYDEBUG(1130, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1131; + if (yych != 'a') goto yy56; +yy1131: + YYDEBUG(1131, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1090; + if (yych == 'y') goto yy1090; + goto yy56; +yy1132: + YYDEBUG(1132, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1115; + if (yych == 'y') goto yy1115; + goto yy56; +yy1133: + YYDEBUG(1133, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'U') goto yy1134; + if (yych != 'u') goto yy56; +yy1134: + YYDEBUG(1134, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy1115; + if (yych == 'r') goto yy1115; + goto yy56; +yy1135: + YYDEBUG(1135, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy1146; + if (yych == 'n') goto yy1146; + goto yy56; +yy1136: + YYDEBUG(1136, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy1141; + if (yych == 't') goto yy1141; + goto yy56; +yy1137: + YYDEBUG(1137, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy1138; + if (yych != 'c') goto yy56; +yy1138: + YYDEBUG(1138, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych == 'O') goto yy1139; + if (yych <= 'R') goto yy1084; + goto yy1109; + } else { + if (yych <= 'o') { + if (yych <= 'n') goto yy1084; + } else { + if (yych == 's') goto yy1109; + goto yy1084; + } + } +yy1139: + YYDEBUG(1139, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy1140; + if (yych != 'n') goto yy56; +yy1140: + YYDEBUG(1140, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1115; + if (yych == 'd') goto yy1115; + goto yy56; +yy1141: + YYDEBUG(1141, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy1085; + if (yych <= 0x1F) goto yy1084; + goto yy1085; + } else { + if (yych <= 'U') { + if (yych <= 'T') goto yy1084; + } else { + if (yych != 'u') goto yy1084; + } + } + YYDEBUG(1142, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy1143; + if (yych != 'r') goto yy56; +yy1143: + YYDEBUG(1143, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1144; + if (yych != 'd') goto yy56; +yy1144: + YYDEBUG(1144, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1145; + if (yych != 'a') goto yy56; +yy1145: + YYDEBUG(1145, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1090; + if (yych == 'y') goto yy1090; + goto yy56; +yy1146: + YYDEBUG(1146, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ' ') { + if (yych == '\t') goto yy1085; + if (yych <= 0x1F) goto yy1084; + goto yy1085; + } else { + if (yych <= 'D') { + if (yych <= 'C') goto yy1084; + } else { + if (yych != 'd') goto yy1084; + } + } + YYDEBUG(1147, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1148; + if (yych != 'a') goto yy56; +yy1148: + YYDEBUG(1148, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1090; + if (yych == 'y') goto yy1090; + goto yy56; +yy1149: + YYDEBUG(1149, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1150; + if (yych != 'e') goto yy56; +yy1150: + YYDEBUG(1150, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy1115; + if (yych == 'c') goto yy1115; + goto yy56; +yy1151: + YYDEBUG(1151, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1152; + if (yych != 's') goto yy56; +yy1152: + YYDEBUG(1152, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy1153; + if (yych != 'e') goto yy1084; +yy1153: + YYDEBUG(1153, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy1115; + if (yych == 'c') goto yy1115; + goto yy56; +yy1154: + YYDEBUG(1154, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy1177; + if (yych == 'n') goto yy1177; + goto yy56; +yy1155: + YYDEBUG(1155, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= 'K') { + if (yych == 'C') goto yy1159; + goto yy56; + } else { + if (yych <= 'L') goto yy1158; + if (yych <= 'M') goto yy56; + goto yy1160; + } + } else { + if (yych <= 'k') { + if (yych == 'c') goto yy1159; + goto yy56; + } else { + if (yych <= 'l') goto yy1158; + if (yych == 'n') goto yy1160; + goto yy56; + } + } +yy1156: + YYDEBUG(1156, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy1157; + if (yych != 'e') goto yy1084; +yy1157: + YYDEBUG(1157, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy1115; + if (yych == 'c') goto yy1115; + goto yy56; +yy1158: + YYDEBUG(1158, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'L') goto yy1170; + if (yych == 'l') goto yy1170; + goto yy56; +yy1159: + YYDEBUG(1159, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy1163; + if (yych == 'r') goto yy1163; + goto yy56; +yy1160: + YYDEBUG(1160, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'U') { + if (yych == 'S') goto yy1109; + if (yych <= 'T') goto yy1084; + } else { + if (yych <= 's') { + if (yych <= 'r') goto yy1084; + goto yy1109; + } else { + if (yych != 'u') goto yy1084; + } + } + YYDEBUG(1161, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy1162; + if (yych != 't') goto yy56; +yy1162: + YYDEBUG(1162, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1115; + if (yych == 'e') goto yy1115; + goto yy56; +yy1163: + YYDEBUG(1163, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1164; + if (yych != 'o') goto yy56; +yy1164: + YYDEBUG(1164, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1165; + if (yych != 's') goto yy56; +yy1165: + YYDEBUG(1165, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1166; + if (yych != 'e') goto yy56; +yy1166: + YYDEBUG(1166, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy1167; + if (yych != 'c') goto yy56; +yy1167: + YYDEBUG(1167, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1168; + if (yych != 'o') goto yy56; +yy1168: + YYDEBUG(1168, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy1169; + if (yych != 'n') goto yy56; +yy1169: + YYDEBUG(1169, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1115; + if (yych == 'd') goto yy1115; + goto yy56; +yy1170: + YYDEBUG(1170, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'I') goto yy1171; + if (yych != 'i') goto yy56; +yy1171: + YYDEBUG(1171, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1172; + if (yych != 's') goto yy56; +yy1172: + YYDEBUG(1172, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1173; + if (yych != 'e') goto yy56; +yy1173: + YYDEBUG(1173, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'C') goto yy1174; + if (yych != 'c') goto yy56; +yy1174: + YYDEBUG(1174, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1175; + if (yych != 'o') goto yy56; +yy1175: + YYDEBUG(1175, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'N') goto yy1176; + if (yych != 'n') goto yy56; +yy1176: + YYDEBUG(1176, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1115; + if (yych == 'd') goto yy1115; + goto yy56; +yy1177: + YYDEBUG(1177, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1085; + goto yy1084; + } else { + if (yych <= ' ') goto yy1085; + if (yych <= 'C') goto yy1084; + } + } else { + if (yych <= 'c') { + if (yych == 'T') goto yy1179; + goto yy1084; + } else { + if (yych <= 'd') goto yy1178; + if (yych == 't') goto yy1179; + goto yy1084; + } + } +yy1178: + YYDEBUG(1178, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1180; + if (yych == 'a') goto yy1180; + goto yy56; +yy1179: + YYDEBUG(1179, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy1115; + if (yych == 'h') goto yy1115; + goto yy56; +yy1180: + YYDEBUG(1180, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1090; + if (yych == 'y') goto yy1090; + goto yy56; +yy1181: + YYDEBUG(1181, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy1063; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'e') goto yy1182; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1182: + YYDEBUG(1182, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'U') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'V') goto yy1064; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'u') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'v') goto yy1183; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1183: + YYDEBUG(1183, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'H') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'I') goto yy1065; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'h') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'i') goto yy1184; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1184: + YYDEBUG(1184, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'O') goto yy1066; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'n') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'o') goto yy1185; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1185: + YYDEBUG(1185, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'U') goto yy1067; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'u') goto yy1186; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1186: + YYDEBUG(1186, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'S') goto yy1068; + if (yych != 's') goto yy179; + YYDEBUG(1187, *YYCURSOR); + yych = *++YYCURSOR; + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy56; + goto yy1069; + } else { + if (yych == ' ') goto yy1069; + goto yy56; + } + } else { + if (yych <= '/') { + if (yych == '.') goto yy56; + goto yy172; + } else { + if (yych == '_') goto yy172; + goto yy56; + } + } +yy1188: + YYDEBUG(1188, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'G') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'F') goto yy166; + goto yy1202; + } + } else { + if (yych <= 'f') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'g') goto yy1202; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1189: + YYDEBUG(1189, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy166; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'e') goto yy1190; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1190: + YYDEBUG(1190, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'V') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'U') goto yy167; + } + } else { + if (yych <= 'u') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'v') goto yy1191; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1191: + YYDEBUG(1191, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy168; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'e') goto yy1192; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1192: + YYDEBUG(1192, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy169; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'n') goto yy1193; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1193: + YYDEBUG(1193, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'T') goto yy1194; + if (yych != 't') goto yy3; + } +yy1194: + YYDEBUG(1194, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy1195; + if (yych != 'h') goto yy56; +yy1195: + YYDEBUG(1195, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '\t') goto yy1196; + if (yych != ' ') goto yy56; +yy1196: + YYDEBUG(1196, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); + yych = *YYCURSOR; +yy1197: + YYDEBUG(1197, *YYCURSOR); + if (yych <= 'X') { + if (yych <= 'G') { + if (yych <= ' ') { + if (yych == '\t') goto yy1196; + if (yych <= 0x1F) goto yy56; + goto yy1196; + } else { + if (yych <= 'D') { + if (yych <= 'C') goto yy56; + goto yy1076; + } else { + if (yych == 'F') goto yy1077; + goto yy56; + } + } + } else { + if (yych <= 'S') { + if (yych <= 'L') { + if (yych <= 'H') goto yy1075; + goto yy56; + } else { + if (yych <= 'M') goto yy1071; + if (yych <= 'R') goto yy56; + goto yy1074; + } + } else { + if (yych <= 'U') { + if (yych <= 'T') goto yy1080; + goto yy1073; + } else { + if (yych != 'W') goto yy56; + } + } + } + } else { + if (yych <= 'r') { + if (yych <= 'f') { + if (yych <= 'c') { + if (yych <= 'Y') goto yy1078; + goto yy56; + } else { + if (yych <= 'd') goto yy1076; + if (yych <= 'e') goto yy56; + goto yy1077; + } + } else { + if (yych <= 'h') { + if (yych <= 'g') goto yy56; + goto yy1075; + } else { + if (yych == 'm') goto yy1071; + goto yy56; + } + } + } else { + if (yych <= 'w') { + if (yych <= 't') { + if (yych <= 's') goto yy1074; + goto yy1080; + } else { + if (yych <= 'u') goto yy1073; + if (yych <= 'v') goto yy56; + } + } else { + if (yych <= 'y') { + if (yych <= 'x') goto yy56; + goto yy1078; + } else { + if (yych == 0xC2) goto yy1072; + goto yy56; + } + } + } + } + YYDEBUG(1198, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1199; + if (yych != 'e') goto yy56; +yy1199: + YYDEBUG(1199, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= 'C') goto yy56; + if (yych <= 'D') goto yy1101; + } else { + if (yych <= 'c') goto yy56; + if (yych <= 'd') goto yy1101; + if (yych >= 'f') goto yy56; + } + YYDEBUG(1200, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'K') goto yy1201; + if (yych != 'k') goto yy56; +yy1201: + YYDEBUG(1201, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych == 'D') goto yy1110; + if (yych <= 'R') goto yy56; + goto yy1109; + } else { + if (yych <= 'd') { + if (yych <= 'c') goto yy56; + goto yy1110; + } else { + if (yych == 's') goto yy1109; + goto yy56; + } + } +yy1202: + YYDEBUG(1202, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'G') goto yy167; + } + } else { + if (yych <= 'g') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'h') goto yy1203; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1203: + YYDEBUG(1203, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy168; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 't') goto yy1204; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1204: + YYDEBUG(1204, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1196; + goto yy3; + } else { + if (yych <= ' ') goto yy1196; + if (yych == ')') goto yy164; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych == 'H') goto yy1205; + if (yych <= 'Z') goto yy169; + goto yy3; + } else { + if (yych == 'h') goto yy1205; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1205: + YYDEBUG(1205, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 0x1F) { + if (yych == '\t') goto yy1196; + goto yy3; + } else { + if (yych <= ' ') goto yy1196; + if (yych == ')') goto yy164; + goto yy3; + } +yy1206: + YYDEBUG(1206, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'F') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'G') goto yy1202; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'f') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'g') goto yy1214; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1207: + YYDEBUG(1207, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy1190; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'e') goto yy1208; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1208: + YYDEBUG(1208, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'U') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'V') goto yy1191; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'u') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'v') goto yy1209; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1209: + YYDEBUG(1209, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy1192; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'e') goto yy1210; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1210: + YYDEBUG(1210, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1193; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'n') goto yy1211; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1211: + YYDEBUG(1211, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'T') goto yy1194; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 't') goto yy1212; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1212: + YYDEBUG(1212, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'H') goto yy1195; + if (yych != 'h') goto yy179; +yy1213: + YYDEBUG(1213, *YYCURSOR); + yych = *++YYCURSOR; + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= ',') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy56; + goto yy1196; + } else { + if (yych == ' ') goto yy1196; + goto yy56; + } + } else { + if (yych <= '/') { + if (yych == '.') goto yy56; + goto yy172; + } else { + if (yych == '_') goto yy172; + goto yy56; + } + } +yy1214: + YYDEBUG(1214, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'H') goto yy1203; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'g') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'h') goto yy1215; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1215: + YYDEBUG(1215, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1204; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 't') goto yy1216; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1216: + YYDEBUG(1216, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy3; + goto yy1196; + } else { + if (yych == ' ') goto yy1196; + goto yy3; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + goto yy172; + } + } + } else { + if (yych <= '^') { + if (yych <= 'G') { + if (yych <= '@') goto yy3; + goto yy169; + } else { + if (yych <= 'H') goto yy1205; + if (yych <= 'Z') goto yy169; + goto yy3; + } + } else { + if (yych <= 'g') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'h') goto yy1217; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1217: + YYDEBUG(1217, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= ')') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1196; + goto yy3; + } else { + if (yych <= ' ') goto yy1196; + if (yych <= '(') goto yy3; + goto yy164; + } + } else { + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy3; + } else { + if (yych <= '/') goto yy172; + if (yych == '_') goto yy172; + goto yy3; + } + } +yy1218: + YYDEBUG(1218, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'V') { + if (yych <= 'B') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy166; + } else { + if (yych <= 'O') { + if (yych <= 'C') goto yy1234; + goto yy166; + } else { + if (yych <= 'P') goto yy1236; + if (yych <= 'U') goto yy166; + goto yy1235; + } + } + } else { + if (yych <= 'o') { + if (yych <= '`') { + if (yych <= 'Z') goto yy166; + goto yy3; + } else { + if (yych == 'c') goto yy1234; + goto yy166; + } + } else { + if (yych <= 'u') { + if (yych <= 'p') goto yy1236; + goto yy166; + } else { + if (yych <= 'v') goto yy1235; + if (yych <= 'z') goto yy166; + goto yy3; + } + } + } +yy1219: + YYDEBUG(1219, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy166; + goto yy1229; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 't') goto yy1229; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1220: + YYDEBUG(1220, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'X') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'W') goto yy166; + goto yy1226; + } + } else { + if (yych <= 'w') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'x') goto yy1226; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1221: + YYDEBUG(1221, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy166; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'n') goto yy1222; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1222: + YYDEBUG(1222, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy191; + goto yy164; + } else { + if (yych <= '@') goto yy191; + if (yych <= 'C') goto yy167; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy191; + goto yy167; + } else { + if (yych <= 'd') goto yy1223; + if (yych <= 'z') goto yy167; + goto yy191; + } + } +yy1223: + YYDEBUG(1223, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy168; + goto yy3; + } else { + if (yych <= 'a') goto yy1224; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1224: + YYDEBUG(1224, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'X') goto yy169; + } + } else { + if (yych <= 'x') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'y') goto yy1225; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1225: + YYDEBUG(1225, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == ')') goto yy164; + goto yy191; +yy1226: + YYDEBUG(1226, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy167; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 't') goto yy1227; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1227: + YYDEBUG(1227, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'G') goto yy168; + } + } else { + if (yych <= 'g') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'h') goto yy1228; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1228: + YYDEBUG(1228, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy3; + goto yy1196; + } else { + if (yych == ' ') goto yy1196; + goto yy3; + } + } else { + if (yych <= 'Z') { + if (yych <= ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy169; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1229: + YYDEBUG(1229, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= ')') { + if (yych <= '(') goto yy191; + goto yy164; + } else { + if (yych <= '@') goto yy191; + if (yych <= 'T') goto yy167; + } + } else { + if (yych <= 't') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy191; + goto yy167; + } else { + if (yych <= 'u') goto yy1230; + if (yych <= 'z') goto yy167; + goto yy191; + } + } +yy1230: + YYDEBUG(1230, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy168; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'r') goto yy1231; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1231: + YYDEBUG(1231, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy169; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'd') goto yy1232; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1232: + YYDEBUG(1232, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'A') goto yy1233; + if (yych != 'a') goto yy3; + } +yy1233: + YYDEBUG(1233, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy197; + if (yych == 'y') goto yy197; + goto yy56; +yy1234: + YYDEBUG(1234, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'N') goto yy167; + goto yy1245; + } + } else { + if (yych <= 'n') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'o') goto yy1245; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1235: + YYDEBUG(1235, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy167; + goto yy1242; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'e') goto yy1242; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1236: + YYDEBUG(1236, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'T') goto yy167; + } + } else { + if (yych <= 's') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 't') goto yy1237; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy1237: + YYDEBUG(1237, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'E') goto yy168; + } + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy218; + goto yy168; + } else { + if (yych <= 'e') goto yy1238; + if (yych <= 'z') goto yy168; + goto yy218; + } + } + } +yy1238: + YYDEBUG(1238, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'M') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'L') goto yy169; + } + } else { + if (yych <= 'l') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'm') goto yy1239; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1239: + YYDEBUG(1239, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'B') goto yy1240; + if (yych != 'b') goto yy3; + } +yy1240: + YYDEBUG(1240, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1241; + if (yych != 'e') goto yy56; +yy1241: + YYDEBUG(1241, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy229; + if (yych == 'r') goto yy229; + goto yy56; +yy1242: + YYDEBUG(1242, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy168; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'n') goto yy1243; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1243: + YYDEBUG(1243, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy169; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 't') goto yy1244; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1244: + YYDEBUG(1244, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'H') goto yy1195; + if (yych == 'h') goto yy1195; + goto yy3; + } +yy1245: + YYDEBUG(1245, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy168; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'n') goto yy1246; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1246: + YYDEBUG(1246, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy169; + goto yy1205; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'd') goto yy1205; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1247: + YYDEBUG(1247, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'U') { + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + goto yy172; + } + } else { + if (yych <= 'C') { + if (yych <= '@') goto yy3; + if (yych <= 'B') goto yy166; + goto yy1234; + } else { + if (yych == 'P') goto yy1236; + goto yy166; + } + } + } else { + if (yych <= 'b') { + if (yych <= '^') { + if (yych <= 'V') goto yy1235; + if (yych <= 'Z') goto yy166; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + goto yy171; + } + } else { + if (yych <= 'p') { + if (yych <= 'c') goto yy1263; + if (yych <= 'o') goto yy171; + goto yy1265; + } else { + if (yych == 'v') goto yy1264; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1248: + YYDEBUG(1248, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1229; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 't') goto yy1258; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1249: + YYDEBUG(1249, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'X') goto yy1226; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'w') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'x') goto yy1255; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1250: + YYDEBUG(1250, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1222; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'n') goto yy1251; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1251: + YYDEBUG(1251, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy191; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1223; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy191; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy191; + goto yy175; + } else { + if (yych <= 'd') goto yy1252; + if (yych <= 'z') goto yy175; + goto yy191; + } + } + } +yy1252: + YYDEBUG(1252, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1224; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1253; + if (yych <= 'z') goto yy176; + goto yy3; + } + } +yy1253: + YYDEBUG(1253, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'Y') goto yy1225; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'x') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'y') goto yy1254; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1254: + YYDEBUG(1254, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych <= '/') { + if (yych <= '.') goto yy191; + goto yy172; + } else { + if (yych == '_') goto yy172; + goto yy191; + } + } +yy1255: + YYDEBUG(1255, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1227; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 't') goto yy1256; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1256: + YYDEBUG(1256, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'H') goto yy1228; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'g') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'h') goto yy1257; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1257: + YYDEBUG(1257, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '-') { + if (yych <= ' ') { + if (yych == '\t') goto yy1196; + if (yych <= 0x1F) goto yy3; + goto yy1196; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } + } else { + if (yych <= 'Z') { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1258: + YYDEBUG(1258, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy191; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'U') goto yy1230; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy191; + goto yy172; + } else { + if (yych <= 't') { + if (yych <= '`') goto yy191; + goto yy175; + } else { + if (yych <= 'u') goto yy1259; + if (yych <= 'z') goto yy175; + goto yy191; + } + } + } +yy1259: + YYDEBUG(1259, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy1231; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'r') goto yy1260; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1260: + YYDEBUG(1260, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1232; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'd') goto yy1261; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1261: + YYDEBUG(1261, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1233; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1262; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1262: + YYDEBUG(1262, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy197; + if (yych == 'y') goto yy210; + goto yy179; +yy1263: + YYDEBUG(1263, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'O') goto yy1245; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'n') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'o') goto yy1274; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1264: + YYDEBUG(1264, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy1242; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'e') goto yy1271; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1265: + YYDEBUG(1265, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'S') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'T') goto yy1237; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 's') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 't') goto yy1266; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy1266: + YYDEBUG(1266, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'D') { + if (yych <= '@') goto yy218; + goto yy168; + } else { + if (yych <= 'E') goto yy1238; + if (yych <= 'Z') goto yy168; + goto yy218; + } + } else { + if (yych <= 'd') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy176; + } else { + if (yych <= 'e') goto yy1267; + if (yych <= 'z') goto yy176; + goto yy218; + } + } + } +yy1267: + YYDEBUG(1267, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'L') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'M') goto yy1239; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'l') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'm') goto yy1268; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1268: + YYDEBUG(1268, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'B') goto yy1240; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'b') goto yy1269; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1269: + YYDEBUG(1269, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'E') goto yy1241; + if (yych != 'e') goto yy179; + YYDEBUG(1270, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy229; + if (yych == 'r') goto yy341; + goto yy179; +yy1271: + YYDEBUG(1271, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1243; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'n') goto yy1272; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1272: + YYDEBUG(1272, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1244; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 't') goto yy1273; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1273: + YYDEBUG(1273, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'H') goto yy1195; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'h') goto yy1213; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1274: + YYDEBUG(1274, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1246; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'n') goto yy1275; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1275: + YYDEBUG(1275, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1205; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'd') goto yy1217; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1276: + YYDEBUG(1276, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'C') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'B') goto yy166; + } + } else { + if (yych <= 'b') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'c') goto yy1277; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1277: + YYDEBUG(1277, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'K') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'J') goto yy167; + } + } else { + if (yych <= 'j') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'k') goto yy1278; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1278: + YYDEBUG(1278, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ')') { + if (yych == ' ') goto yy1279; + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= 'Z') { + if (yych <= '@') goto yy3; + goto yy168; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1279: + YYDEBUG(1279, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1280; + if (yych != 'o') goto yy56; +yy1280: + YYDEBUG(1280, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'F') goto yy1281; + if (yych != 'f') goto yy56; +yy1281: + YYDEBUG(1281, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ' ') goto yy56; + YYDEBUG(1282, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy1283; + if (yych <= '2') goto yy1285; + if (yych <= '9') goto yy1286; + goto yy56; +yy1283: + YYDEBUG(1283, *YYCURSOR); + yyaccept = 27; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1287; + } else { + if (yych <= ' ') goto yy1287; + if (yych <= '/') goto yy1284; + if (yych <= '9') goto yy1286; + } + } else { + if (yych <= '`') { + if (yych <= 'A') goto yy1289; + if (yych == 'P') goto yy1289; + } else { + if (yych <= 'a') goto yy1289; + if (yych == 'p') goto yy1289; + } + } +yy1284: + YYDEBUG(1284, *YYCURSOR); +#line 1141 "parse_date.re" + { + DEBUG_OUTPUT("backof | frontof"); + TIMELIB_INIT; + TIMELIB_UNHAVE_TIME(); + TIMELIB_HAVE_TIME(); + + if (*ptr == 'b') { + s->time->h = timelib_get_nr((char **) &ptr, 2); + s->time->i = 15; + } else { + s->time->h = timelib_get_nr((char **) &ptr, 2) - 1; + s->time->i = 45; + } + if (*ptr != '\0' ) { + timelib_eat_spaces((char **) &ptr); + s->time->h += timelib_meridian((char **) &ptr, s->time->h); + } + + TIMELIB_DEINIT; + return TIMELIB_LF_DAY_OF_MONTH; + } +#line 19660 "<stdout>" +yy1285: + YYDEBUG(1285, *YYCURSOR); + yyaccept = 27; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1287; + goto yy1284; + } else { + if (yych <= ' ') goto yy1287; + if (yych <= '/') goto yy1284; + if (yych >= '5') goto yy1284; + } + } else { + if (yych <= '`') { + if (yych <= 'A') goto yy1289; + if (yych == 'P') goto yy1289; + goto yy1284; + } else { + if (yych <= 'a') goto yy1289; + if (yych == 'p') goto yy1289; + goto yy1284; + } + } +yy1286: + YYDEBUG(1286, *YYCURSOR); + yyaccept = 27; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych <= 0x1F) { + if (yych != '\t') goto yy1284; + } else { + if (yych <= ' ') goto yy1287; + if (yych <= '@') goto yy1284; + goto yy1289; + } + } else { + if (yych <= '`') { + if (yych == 'P') goto yy1289; + goto yy1284; + } else { + if (yych <= 'a') goto yy1289; + if (yych == 'p') goto yy1289; + goto yy1284; + } + } +yy1287: + YYDEBUG(1287, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); + yych = *YYCURSOR; + YYDEBUG(1288, *YYCURSOR); + if (yych <= 'A') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1287; + goto yy56; + } else { + if (yych <= ' ') goto yy1287; + if (yych <= '@') goto yy56; + } + } else { + if (yych <= '`') { + if (yych != 'P') goto yy56; + } else { + if (yych <= 'a') goto yy1289; + if (yych != 'p') goto yy56; + } + } +yy1289: + YYDEBUG(1289, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych != '.') goto yy56; + } else { + if (yych <= 'M') goto yy1291; + if (yych == 'm') goto yy1291; + goto yy56; + } + YYDEBUG(1290, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy1291; + if (yych != 'm') goto yy56; +yy1291: + YYDEBUG(1291, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy1293; + if (yych == '\t') goto yy1293; + goto yy56; + } else { + if (yych <= ' ') goto yy1293; + if (yych != '.') goto yy56; + } + YYDEBUG(1292, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy1293; + if (yych <= 0x08) goto yy56; + } else { + if (yych != ' ') goto yy56; + } +yy1293: + YYDEBUG(1293, *YYCURSOR); + yych = *++YYCURSOR; + goto yy1284; +yy1294: + YYDEBUG(1294, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'B') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'C') goto yy1277; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'b') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'c') goto yy1295; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1295: + YYDEBUG(1295, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'J') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'K') goto yy1278; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'j') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'k') goto yy1296; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1296: + YYDEBUG(1296, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= '(') { + if (yych == ' ') goto yy1279; + goto yy3; + } else { + if (yych <= ')') goto yy164; + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '^') { + if (yych <= '/') goto yy172; + if (yych <= '@') goto yy3; + if (yych <= 'Z') goto yy168; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy176; + goto yy3; + } + } +yy1297: + YYDEBUG(1297, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'R') goto yy166; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 's') goto yy1298; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1298: + YYDEBUG(1298, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy167; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 't') goto yy1299; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1299: + YYDEBUG(1299, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy3; + goto yy1069; + } else { + if (yych != ' ') goto yy3; + } + } else { + if (yych <= 'Z') { + if (yych <= ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy168; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1300: + YYDEBUG(1300, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1301; + if (yych != 'd') goto yy1070; +yy1301: + YYDEBUG(1301, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1302; + if (yych != 'a') goto yy56; +yy1302: + YYDEBUG(1302, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1303; + if (yych != 'y') goto yy56; +yy1303: + YYDEBUG(1303, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych != ' ') goto yy1084; + } else { + if (yych <= 'S') goto yy1109; + if (yych == 's') goto yy1109; + goto yy1084; + } + YYDEBUG(1304, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1305; + if (yych != 'o') goto yy56; +yy1305: + YYDEBUG(1305, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'F') goto yy1306; + if (yych != 'f') goto yy56; +yy1306: + YYDEBUG(1306, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(1307, *YYCURSOR); +#line 1124 "parse_date.re" + { + DEBUG_OUTPUT("firstdayof | lastdayof"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + + /* skip "last day of" or "first day of" */ + if (*ptr == 'l' || *ptr == 'L') { + s->time->relative.first_last_day_of = TIMELIB_SPECIAL_LAST_DAY_OF_MONTH; + } else { + s->time->relative.first_last_day_of = TIMELIB_SPECIAL_FIRST_DAY_OF_MONTH; + } + + TIMELIB_DEINIT; + return TIMELIB_LF_DAY_OF_MONTH; + } +#line 19975 "<stdout>" +yy1308: + YYDEBUG(1308, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'S') goto yy1298; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'r') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 's') goto yy1309; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1309: + YYDEBUG(1309, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1299; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 't') goto yy1310; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1310: + YYDEBUG(1310, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '-') { + if (yych <= ' ') { + if (yych == '\t') goto yy1069; + if (yych <= 0x1F) goto yy3; + goto yy1300; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } + } else { + if (yych <= 'Z') { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1311: + YYDEBUG(1311, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'B') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'A') goto yy166; + goto yy1348; + } + } else { + if (yych <= 'a') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'b') goto yy1348; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1312: + YYDEBUG(1312, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'F') goto yy1338; + if (yych <= 'Q') goto yy166; + goto yy1337; + } + } else { + if (yych <= 'f') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'e') goto yy166; + goto yy1338; + } else { + if (yych == 'r') goto yy1337; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1313: + YYDEBUG(1313, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'T') goto yy166; + goto yy1334; + } + } else { + if (yych <= 't') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'u') goto yy1334; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1314: + YYDEBUG(1314, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'I') goto yy1316; + if (yych <= 'N') goto yy166; + } + } else { + if (yych <= 'i') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'h') goto yy166; + goto yy1316; + } else { + if (yych == 'o') goto yy1315; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1315: + YYDEBUG(1315, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy167; + goto yy1319; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'n') goto yy1319; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1316: + YYDEBUG(1316, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy191; + goto yy164; + } else { + if (yych <= '@') goto yy191; + if (yych <= 'C') goto yy167; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy191; + goto yy167; + } else { + if (yych <= 'd') goto yy1317; + if (yych <= 'z') goto yy167; + goto yy191; + } + } +yy1317: + YYDEBUG(1317, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy168; + goto yy3; + } else { + if (yych <= 'a') goto yy1318; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1318: + YYDEBUG(1318, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'X') goto yy169; + goto yy1225; + } + } else { + if (yych <= 'x') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'y') goto yy1225; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1319: + YYDEBUG(1319, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy168; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 't') goto yy1320; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1320: + YYDEBUG(1320, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= ')') { + if (yych == ' ') goto yy1321; + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= 'Z') { + if (yych <= '@') goto yy3; + goto yy169; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1321: + YYDEBUG(1321, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1322; + if (yych != 'o') goto yy56; +yy1322: + YYDEBUG(1322, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'F') goto yy1323; + if (yych != 'f') goto yy56; +yy1323: + YYDEBUG(1323, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != ' ') goto yy56; + YYDEBUG(1324, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '1') goto yy1325; + if (yych <= '2') goto yy1326; + if (yych <= '9') goto yy1327; + goto yy56; +yy1325: + YYDEBUG(1325, *YYCURSOR); + yyaccept = 27; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1328; + goto yy1284; + } else { + if (yych <= ' ') goto yy1328; + if (yych <= '/') goto yy1284; + if (yych <= '9') goto yy1327; + goto yy1284; + } + } else { + if (yych <= '`') { + if (yych <= 'A') goto yy1330; + if (yych == 'P') goto yy1330; + goto yy1284; + } else { + if (yych <= 'a') goto yy1330; + if (yych == 'p') goto yy1330; + goto yy1284; + } + } +yy1326: + YYDEBUG(1326, *YYCURSOR); + yyaccept = 27; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1328; + goto yy1284; + } else { + if (yych <= ' ') goto yy1328; + if (yych <= '/') goto yy1284; + if (yych >= '5') goto yy1284; + } + } else { + if (yych <= '`') { + if (yych <= 'A') goto yy1330; + if (yych == 'P') goto yy1330; + goto yy1284; + } else { + if (yych <= 'a') goto yy1330; + if (yych == 'p') goto yy1330; + goto yy1284; + } + } +yy1327: + YYDEBUG(1327, *YYCURSOR); + yyaccept = 27; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych <= 0x1F) { + if (yych != '\t') goto yy1284; + } else { + if (yych <= ' ') goto yy1328; + if (yych <= '@') goto yy1284; + goto yy1330; + } + } else { + if (yych <= '`') { + if (yych == 'P') goto yy1330; + goto yy1284; + } else { + if (yych <= 'a') goto yy1330; + if (yych == 'p') goto yy1330; + goto yy1284; + } + } +yy1328: + YYDEBUG(1328, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); + yych = *YYCURSOR; + YYDEBUG(1329, *YYCURSOR); + if (yych <= 'A') { + if (yych <= 0x1F) { + if (yych == '\t') goto yy1328; + goto yy56; + } else { + if (yych <= ' ') goto yy1328; + if (yych <= '@') goto yy56; + } + } else { + if (yych <= '`') { + if (yych != 'P') goto yy56; + } else { + if (yych <= 'a') goto yy1330; + if (yych != 'p') goto yy56; + } + } +yy1330: + YYDEBUG(1330, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych != '.') goto yy56; + } else { + if (yych <= 'M') goto yy1332; + if (yych == 'm') goto yy1332; + goto yy56; + } + YYDEBUG(1331, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'M') goto yy1332; + if (yych != 'm') goto yy56; +yy1332: + YYDEBUG(1332, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 0x1F) { + if (yych <= 0x00) goto yy1293; + if (yych == '\t') goto yy1293; + goto yy56; + } else { + if (yych <= ' ') goto yy1293; + if (yych != '.') goto yy56; + } + YYDEBUG(1333, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '\t') { + if (yych <= 0x00) goto yy1293; + if (yych <= 0x08) goto yy56; + goto yy1293; + } else { + if (yych == ' ') goto yy1293; + goto yy56; + } +yy1334: + YYDEBUG(1334, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy167; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'r') goto yy1335; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1335: + YYDEBUG(1335, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy168; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 't') goto yy1336; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1336: + YYDEBUG(1336, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'G') goto yy169; + goto yy1205; + } + } else { + if (yych <= 'g') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'h') goto yy1205; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1337: + YYDEBUG(1337, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'R') goto yy167; + goto yy1340; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 's') goto yy1340; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1338: + YYDEBUG(1338, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy167; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 't') goto yy1339; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1339: + YYDEBUG(1339, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'G') goto yy168; + goto yy1228; + } + } else { + if (yych <= 'g') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'h') goto yy1228; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1340: + YYDEBUG(1340, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy168; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 't') goto yy1341; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1341: + YYDEBUG(1341, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy3; + goto yy1196; + } else { + if (yych != ' ') goto yy3; + } + } else { + if (yych <= 'Z') { + if (yych <= ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy169; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1342: + YYDEBUG(1342, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'D') goto yy1343; + if (yych != 'd') goto yy1197; +yy1343: + YYDEBUG(1343, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1344; + if (yych != 'a') goto yy56; +yy1344: + YYDEBUG(1344, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1345; + if (yych != 'y') goto yy56; +yy1345: + YYDEBUG(1345, *YYCURSOR); + yyaccept = 25; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych != ' ') goto yy1084; + } else { + if (yych <= 'S') goto yy1109; + if (yych == 's') goto yy1109; + goto yy1084; + } + YYDEBUG(1346, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'O') goto yy1347; + if (yych != 'o') goto yy56; +yy1347: + YYDEBUG(1347, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'F') goto yy1306; + if (yych == 'f') goto yy1306; + goto yy56; +yy1348: + YYDEBUG(1348, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'R') goto yy167; + } + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'r') goto yy1349; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy1349: + YYDEBUG(1349, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'T') goto yy168; + } + } else { + if (yych <= 't') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'u') goto yy1350; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1350: + YYDEBUG(1350, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy169; + goto yy3; + } else { + if (yych <= 'a') goto yy1351; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1351: + YYDEBUG(1351, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'R') goto yy1352; + if (yych != 'r') goto yy3; + } +yy1352: + YYDEBUG(1352, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy229; + if (yych == 'y') goto yy229; + goto yy56; +yy1353: + YYDEBUG(1353, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'B') goto yy1348; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'b') goto yy1371; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1354: + YYDEBUG(1354, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych <= '/') goto yy172; + goto yy3; + } else { + if (yych == 'F') goto yy1338; + goto yy166; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'R') goto yy1337; + goto yy166; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 'q') { + if (yych == 'f') goto yy1367; + goto yy171; + } else { + if (yych <= 'r') goto yy1366; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1355: + YYDEBUG(1355, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'U') goto yy1334; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 't') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'u') goto yy1363; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1356: + YYDEBUG(1356, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych <= '/') goto yy172; + goto yy3; + } else { + if (yych == 'I') goto yy1316; + goto yy166; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'O') goto yy1315; + goto yy166; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 'n') { + if (yych == 'i') goto yy1358; + goto yy171; + } else { + if (yych <= 'o') goto yy1357; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1357: + YYDEBUG(1357, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1319; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'n') goto yy1361; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1358: + YYDEBUG(1358, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy191; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1317; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy191; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy191; + goto yy175; + } else { + if (yych <= 'd') goto yy1359; + if (yych <= 'z') goto yy175; + goto yy191; + } + } + } +yy1359: + YYDEBUG(1359, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1318; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1360; + if (yych <= 'z') goto yy176; + goto yy3; + } + } +yy1360: + YYDEBUG(1360, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'Y') goto yy1225; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'x') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'y') goto yy1254; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1361: + YYDEBUG(1361, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1320; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 't') goto yy1362; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1362: + YYDEBUG(1362, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= '(') { + if (yych == ' ') goto yy1321; + goto yy3; + } else { + if (yych <= ')') goto yy164; + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '^') { + if (yych <= '/') goto yy172; + if (yych <= '@') goto yy3; + if (yych <= 'Z') goto yy169; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy177; + goto yy3; + } + } +yy1363: + YYDEBUG(1363, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy1335; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'r') goto yy1364; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1364: + YYDEBUG(1364, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1336; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 't') goto yy1365; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1365: + YYDEBUG(1365, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'H') goto yy1205; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'g') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'h') goto yy1217; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1366: + YYDEBUG(1366, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'S') goto yy1340; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'r') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 's') goto yy1369; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1367: + YYDEBUG(1367, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1339; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 't') goto yy1368; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1368: + YYDEBUG(1368, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'H') goto yy1228; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'g') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'h') goto yy1257; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1369: + YYDEBUG(1369, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1341; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 't') goto yy1370; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1370: + YYDEBUG(1370, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '-') { + if (yych <= ' ') { + if (yych == '\t') goto yy1196; + if (yych <= 0x1F) goto yy3; + goto yy1342; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } + } else { + if (yych <= 'Z') { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1371: + YYDEBUG(1371, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'Q') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'R') goto yy1349; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'q') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'r') goto yy1372; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy1372: + YYDEBUG(1372, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'U') goto yy1350; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 't') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'u') goto yy1373; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1373: + YYDEBUG(1373, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1351; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1374; + if (yych <= 'z') goto yy177; + goto yy3; + } + } +yy1374: + YYDEBUG(1374, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'R') goto yy1352; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'r') goto yy1375; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1375: + YYDEBUG(1375, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy229; + if (yych == 'y') goto yy341; + goto yy179; +yy1376: + YYDEBUG(1376, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; +yy1377: + YYDEBUG(1377, *YYCURSOR); + yyaccept = 28; + YYMARKER = ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 7) YYFILL(7); + yych = *YYCURSOR; + YYDEBUG(1378, *YYCURSOR); + if (yych == '.') goto yy1380; + if (yych <= '/') goto yy1379; + if (yych <= '9') goto yy1377; +yy1379: + YYDEBUG(1379, *YYCURSOR); +#line 1070 "parse_date.re" + { + timelib_ull i; + + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + TIMELIB_UNHAVE_DATE(); + TIMELIB_UNHAVE_TIME(); + TIMELIB_HAVE_TZ(); + + i = timelib_get_unsigned_nr((char **) &ptr, 24); + s->time->y = 1970; + s->time->m = 1; + s->time->d = 1; + s->time->h = s->time->i = s->time->s = 0; + s->time->us = 0; + s->time->relative.s += i; + s->time->is_localtime = 1; + s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; + s->time->z = 0; + s->time->dst = 0; + + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 21489 "<stdout>" +yy1380: + YYDEBUG(1380, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(1381, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(1382, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(1383, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(1384, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(1385, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(1386, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(1387, *YYCURSOR); +#line 1096 "parse_date.re" + { + timelib_ull i, us; + + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + TIMELIB_UNHAVE_DATE(); + TIMELIB_UNHAVE_TIME(); + TIMELIB_HAVE_TZ(); + + i = timelib_get_unsigned_nr((char **) &ptr, 24); + us = timelib_get_unsigned_nr((char **) &ptr, 24); + s->time->y = 1970; + s->time->m = 1; + s->time->d = 1; + s->time->h = s->time->i = s->time->s = 0; + s->time->us = 0; + s->time->relative.s += i; + s->time->relative.us = us; + s->time->is_localtime = 1; + s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; + s->time->z = 0; + s->time->dst = 0; + + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 21545 "<stdout>" +yy1388: + YYDEBUG(1388, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy166; + goto yy1429; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'n') goto yy1429; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1389: + YYDEBUG(1389, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'U') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'I') goto yy1421; + if (yych <= 'T') goto yy166; + goto yy1422; + } + } else { + if (yych <= 'i') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'h') goto yy166; + goto yy1421; + } else { + if (yych == 'u') goto yy1422; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1390: + YYDEBUG(1390, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'M') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'D') goto yy1410; + if (yych <= 'L') goto yy166; + goto yy1411; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'c') goto yy166; + goto yy1410; + } else { + if (yych == 'm') goto yy1411; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1391: + YYDEBUG(1391, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy166; + goto yy1406; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'e') goto yy1406; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1392: + YYDEBUG(1392, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy166; + goto yy1402; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'e') goto yy1402; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1393: + YYDEBUG(1393, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy1029; + goto yy56; + } else { + if (yych <= '9') goto yy1396; + if (yych <= ':') goto yy1029; + goto yy56; + } +yy1394: + YYDEBUG(1394, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy1029; + goto yy56; + } else { + if (yych <= '4') goto yy1396; + if (yych == ':') goto yy1029; + goto yy56; + } +yy1395: + YYDEBUG(1395, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '.') goto yy1029; + if (yych == ':') goto yy1029; + goto yy56; +yy1396: + YYDEBUG(1396, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') { + if (yych == '.') goto yy1029; + goto yy56; + } else { + if (yych <= '5') goto yy1397; + if (yych == ':') goto yy1029; + goto yy56; + } +yy1397: + YYDEBUG(1397, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych >= ':') goto yy56; + YYDEBUG(1398, *YYCURSOR); + yyaccept = 23; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') goto yy1032; + if (yych <= '5') goto yy1399; + if (yych <= '6') goto yy1400; + goto yy1032; +yy1399: + YYDEBUG(1399, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy56; + if (yych <= '9') goto yy1401; + goto yy56; +yy1400: + YYDEBUG(1400, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != '0') goto yy56; +yy1401: + YYDEBUG(1401, *YYCURSOR); + yych = *++YYCURSOR; + goto yy1040; +yy1402: + YYDEBUG(1402, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'K') goto yy167; + } + } else { + if (yych <= 'k') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'l') goto yy1403; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1403: + YYDEBUG(1403, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'F') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'E') goto yy168; + } + } else { + if (yych <= 'e') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'f') goto yy1404; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1404: + YYDEBUG(1404, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy169; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 't') goto yy1405; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1405: + YYDEBUG(1405, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'H') goto yy1195; + if (yych == 'h') goto yy1195; + goto yy3; + } +yy1406: + YYDEBUG(1406, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= ')') { + if (yych <= '(') goto yy191; + goto yy164; + } else { + if (yych <= '@') goto yy191; + if (yych <= 'R') goto yy167; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy191; + goto yy167; + } else { + if (yych <= 's') goto yy1407; + if (yych <= 'z') goto yy167; + goto yy191; + } + } +yy1407: + YYDEBUG(1407, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy168; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'd') goto yy1408; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1408: + YYDEBUG(1408, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy169; + goto yy3; + } else { + if (yych <= 'a') goto yy1409; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1409: + YYDEBUG(1409, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'X') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Y') goto yy197; + if (yych == 'y') goto yy197; + goto yy3; + } +yy1410: + YYDEBUG(1410, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy1418; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy167; + goto yy3; + } else { + if (yych <= 'a') goto yy1418; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1411: + YYDEBUG(1411, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'O') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'N') goto yy167; + } + } else { + if (yych <= 'n') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'o') goto yy1412; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1412: + YYDEBUG(1412, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy168; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'r') goto yy1413; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1413: + YYDEBUG(1413, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy169; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'r') goto yy1414; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1414: + YYDEBUG(1414, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'O') goto yy1415; + if (yych != 'o') goto yy3; + } +yy1415: + YYDEBUG(1415, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'W') goto yy1416; + if (yych != 'w') goto yy56; +yy1416: + YYDEBUG(1416, *YYCURSOR); + ++YYCURSOR; +yy1417: + YYDEBUG(1417, *YYCURSOR); +#line 1058 "parse_date.re" + { + DEBUG_OUTPUT("tomorrow"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + TIMELIB_UNHAVE_TIME(); + + s->time->relative.d = 1; + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 21992 "<stdout>" +yy1418: + YYDEBUG(1418, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'X') goto yy168; + } + } else { + if (yych <= 'x') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'y') goto yy1419; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1419: + YYDEBUG(1419, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= '@') { + if (yych == ')') goto yy164; + } else { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy1420; + if (yych <= 'z') goto yy169; + } +yy1420: + YYDEBUG(1420, *YYCURSOR); +#line 1048 "parse_date.re" + { + DEBUG_OUTPUT("midnight | today"); + TIMELIB_INIT; + TIMELIB_UNHAVE_TIME(); + + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 22036 "<stdout>" +yy1421: + YYDEBUG(1421, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'Q') goto yy167; + if (yych <= 'R') goto yy1427; + goto yy1428; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'r') goto yy1427; + if (yych <= 's') goto yy1428; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1422: + YYDEBUG(1422, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy191; + goto yy164; + } else { + if (yych <= '@') goto yy191; + if (yych <= 'Q') goto yy167; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy191; + goto yy167; + } else { + if (yych <= 'r') goto yy1423; + if (yych <= 'z') goto yy167; + goto yy191; + } + } +yy1423: + YYDEBUG(1423, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'R') goto yy168; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 's') goto yy1424; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1424: + YYDEBUG(1424, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy169; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'd') goto yy1425; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1425: + YYDEBUG(1425, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'A') goto yy1426; + if (yych != 'a') goto yy3; + } +yy1426: + YYDEBUG(1426, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy197; + if (yych == 'y') goto yy197; + goto yy56; +yy1427: + YYDEBUG(1427, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy168; + goto yy1228; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'd') goto yy1228; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1428: + YYDEBUG(1428, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy3; + goto yy1069; + } else { + if (yych == ' ') goto yy1069; + goto yy3; + } + } else { + if (yych <= 'Z') { + if (yych <= ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy168; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1429: + YYDEBUG(1429, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy167; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 't') goto yy1430; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1430: + YYDEBUG(1430, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'G') goto yy168; + goto yy1228; + } + } else { + if (yych <= 'g') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'h') goto yy1228; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1431: + YYDEBUG(1431, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1429; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'n') goto yy1461; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1432: + YYDEBUG(1432, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'T') { + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych <= '/') goto yy172; + goto yy3; + } else { + if (yych == 'I') goto yy1421; + goto yy166; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'U') goto yy1422; + goto yy166; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 't') { + if (yych == 'i') goto yy1453; + goto yy171; + } else { + if (yych <= 'u') goto yy1454; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1433: + YYDEBUG(1433, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'L') { + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych <= '/') goto yy172; + goto yy3; + } else { + if (yych == 'D') goto yy1410; + goto yy166; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'M') goto yy1411; + goto yy166; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 'l') { + if (yych == 'd') goto yy1444; + goto yy171; + } else { + if (yych <= 'm') goto yy1445; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1434: + YYDEBUG(1434, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy1406; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'e') goto yy1440; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1435: + YYDEBUG(1435, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy1402; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'e') goto yy1436; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1436: + YYDEBUG(1436, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'K') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'L') goto yy1403; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'k') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'l') goto yy1437; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1437: + YYDEBUG(1437, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'E') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'F') goto yy1404; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'e') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'f') goto yy1438; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1438: + YYDEBUG(1438, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1405; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 't') goto yy1439; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1439: + YYDEBUG(1439, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'H') goto yy1195; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'h') goto yy1213; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1440: + YYDEBUG(1440, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy191; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'S') goto yy1407; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy191; + goto yy172; + } else { + if (yych <= 'r') { + if (yych <= '`') goto yy191; + goto yy175; + } else { + if (yych <= 's') goto yy1441; + if (yych <= 'z') goto yy175; + goto yy191; + } + } + } +yy1441: + YYDEBUG(1441, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1408; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'd') goto yy1442; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1442: + YYDEBUG(1442, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1409; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1443; + if (yych <= 'z') goto yy177; + goto yy3; + } + } +yy1443: + YYDEBUG(1443, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'Y') goto yy197; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'y') goto yy210; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1444: + YYDEBUG(1444, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1418; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1451; + if (yych <= 'z') goto yy175; + goto yy3; + } + } +yy1445: + YYDEBUG(1445, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'O') goto yy1412; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'n') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'o') goto yy1446; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1446: + YYDEBUG(1446, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy1413; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'r') goto yy1447; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1447: + YYDEBUG(1447, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy1414; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'r') goto yy1448; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1448: + YYDEBUG(1448, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'N') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'O') goto yy1415; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'o') goto yy1449; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1449: + YYDEBUG(1449, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'W') goto yy1416; + if (yych != 'w') goto yy179; + YYDEBUG(1450, *YYCURSOR); + yyaccept = 29; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy1417; + } else { + if (yych <= '/') goto yy172; + if (yych == '_') goto yy172; + goto yy1417; + } +yy1451: + YYDEBUG(1451, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'Y') goto yy1419; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'x') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'y') goto yy1452; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1452: + YYDEBUG(1452, *YYCURSOR); + yyaccept = 30; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy1420; + } else { + if (yych == '.') goto yy1420; + goto yy172; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy1420; + if (yych <= 'Z') goto yy169; + goto yy1420; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy1420; + if (yych <= 'z') goto yy177; + goto yy1420; + } + } +yy1453: + YYDEBUG(1453, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych <= '/') { + if (yych <= '.') goto yy3; + goto yy172; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy167; + goto yy1427; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'S') goto yy1428; + goto yy167; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 'r') { + if (yych <= 'q') goto yy175; + goto yy1459; + } else { + if (yych <= 's') goto yy1460; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1454: + YYDEBUG(1454, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy191; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy1423; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy191; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy191; + goto yy175; + } else { + if (yych <= 'r') goto yy1455; + if (yych <= 'z') goto yy175; + goto yy191; + } + } + } +yy1455: + YYDEBUG(1455, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'S') goto yy1424; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'r') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 's') goto yy1456; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1456: + YYDEBUG(1456, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1425; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'd') goto yy1457; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1457: + YYDEBUG(1457, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1426; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1458; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1458: + YYDEBUG(1458, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy197; + if (yych == 'y') goto yy210; + goto yy179; +yy1459: + YYDEBUG(1459, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1228; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'd') goto yy1257; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1460: + YYDEBUG(1460, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '-') { + if (yych <= ' ') { + if (yych == '\t') goto yy1069; + if (yych <= 0x1F) goto yy3; + goto yy1069; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } + } else { + if (yych <= 'Z') { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1461: + YYDEBUG(1461, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1430; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 't') goto yy1462; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1462: + YYDEBUG(1462, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'H') goto yy1228; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'g') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'h') goto yy1257; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1463: + YYDEBUG(1463, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych <= '@') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == 'R') goto yy1475; + if (yych <= 'X') goto yy166; + goto yy1476; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'q') goto yy166; + goto yy1475; + } else { + if (yych == 'y') goto yy1476; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1464: + YYDEBUG(1464, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'C') goto yy166; + goto yy1469; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'd') goto yy1469; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1465: + YYDEBUG(1465, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy166; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'n') goto yy1466; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1466: + YYDEBUG(1466, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'D') { + if (yych <= ')') { + if (yych <= '(') goto yy191; + goto yy164; + } else { + if (yych <= '@') goto yy191; + if (yych <= 'C') goto yy167; + } + } else { + if (yych <= 'c') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy191; + goto yy167; + } else { + if (yych <= 'd') goto yy1467; + if (yych <= 'z') goto yy167; + goto yy191; + } + } +yy1467: + YYDEBUG(1467, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'A') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + } else { + if (yych <= '`') { + if (yych <= 'Z') goto yy168; + goto yy3; + } else { + if (yych <= 'a') goto yy1468; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1468: + YYDEBUG(1468, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'Y') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'X') goto yy169; + goto yy1225; + } + } else { + if (yych <= 'x') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'y') goto yy1225; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1469: + YYDEBUG(1469, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy167; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'n') goto yy1470; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1470: + YYDEBUG(1470, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'I') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'H') goto yy168; + } + } else { + if (yych <= 'h') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'i') goto yy1471; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1471: + YYDEBUG(1471, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'G') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'F') goto yy169; + } + } else { + if (yych <= 'f') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'g') goto yy1472; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1472: + YYDEBUG(1472, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'H') goto yy1473; + if (yych != 'h') goto yy3; + } +yy1473: + YYDEBUG(1473, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy1474; + if (yych != 't') goto yy56; +yy1474: + YYDEBUG(1474, *YYCURSOR); + yych = *++YYCURSOR; + goto yy1420; +yy1475: + YYDEBUG(1475, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych == 'C') goto yy1477; + goto yy167; + } + } else { + if (yych <= 'b') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'c') goto yy1477; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy1476: + YYDEBUG(1476, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '-') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy218; + goto yy220; + } else { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy221; + } + } else { + if (yych <= '@') { + if (yych == '/') goto yy218; + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy218; + if (yych <= 'z') goto yy167; + goto yy218; + } + } +yy1477: + YYDEBUG(1477, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'G') goto yy168; + goto yy360; + } + } else { + if (yych <= 'g') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'h') goto yy360; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1478: + YYDEBUG(1478, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= '@') { + if (yych <= '/') goto yy172; + goto yy3; + } else { + if (yych == 'R') goto yy1475; + goto yy166; + } + } + } else { + if (yych <= '`') { + if (yych <= 'Z') { + if (yych <= 'Y') goto yy1476; + goto yy166; + } else { + if (yych == '_') goto yy172; + goto yy3; + } + } else { + if (yych <= 'x') { + if (yych == 'r') goto yy1490; + goto yy171; + } else { + if (yych <= 'y') goto yy1491; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1479: + YYDEBUG(1479, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1469; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'd') goto yy1484; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1480: + YYDEBUG(1480, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1466; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'n') goto yy1481; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1481: + YYDEBUG(1481, *YYCURSOR); + yyaccept = 4; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy191; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy191; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'D') goto yy1467; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy191; + goto yy172; + } else { + if (yych <= 'c') { + if (yych <= '`') goto yy191; + goto yy175; + } else { + if (yych <= 'd') goto yy1482; + if (yych <= 'z') goto yy175; + goto yy191; + } + } + } +yy1482: + YYDEBUG(1482, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '@') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '_') { + if (yych <= 'A') goto yy1468; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= '`') goto yy3; + if (yych <= 'a') goto yy1483; + if (yych <= 'z') goto yy176; + goto yy3; + } + } +yy1483: + YYDEBUG(1483, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'X') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'Y') goto yy1225; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'x') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'y') goto yy1254; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1484: + YYDEBUG(1484, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1470; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'n') goto yy1485; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1485: + YYDEBUG(1485, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'H') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'I') goto yy1471; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'h') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'i') goto yy1486; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1486: + YYDEBUG(1486, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'F') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'G') goto yy1472; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'f') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'g') goto yy1487; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1487: + YYDEBUG(1487, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'H') goto yy1473; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'h') goto yy1488; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1488: + YYDEBUG(1488, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy1474; + if (yych != 't') goto yy179; + YYDEBUG(1489, *YYCURSOR); + yyaccept = 30; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy1420; + } else { + if (yych <= '/') goto yy172; + if (yych == '_') goto yy172; + goto yy1420; + } +yy1490: + YYDEBUG(1490, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'B') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'C') goto yy1477; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'b') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'c') goto yy1492; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy1491: + YYDEBUG(1491, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '.') { + if (yych <= ' ') { + if (yych == '\t') goto yy220; + if (yych <= 0x1F) goto yy218; + goto yy220; + } else { + if (yych <= ')') { + if (yych <= '(') goto yy218; + goto yy164; + } else { + if (yych <= ',') goto yy218; + if (yych <= '-') goto yy336; + goto yy220; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '/') goto yy172; + if (yych <= '9') goto yy220; + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= '_') { + if (yych <= '^') goto yy218; + goto yy172; + } else { + if (yych <= '`') goto yy218; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy1492: + YYDEBUG(1492, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'H') goto yy360; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'g') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'h') goto yy371; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1493: + YYDEBUG(1493, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'W') { + if (yych <= 'N') { + if (yych == ')') goto yy164; + if (yych <= '@') goto yy3; + goto yy166; + } else { + if (yych <= 'O') goto yy1501; + if (yych <= 'U') goto yy166; + if (yych <= 'V') goto yy1502; + goto yy1499; + } + } else { + if (yych <= 'o') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + if (yych <= 'n') goto yy166; + goto yy1501; + } else { + if (yych <= 'v') { + if (yych <= 'u') goto yy166; + goto yy1502; + } else { + if (yych <= 'w') goto yy1499; + if (yych <= 'z') goto yy166; + goto yy3; + } + } + } +yy1494: + YYDEBUG(1494, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'X') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'W') goto yy166; + goto yy1498; + } + } else { + if (yych <= 'w') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'x') goto yy1498; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1495: + YYDEBUG(1495, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy166; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 'n') goto yy1496; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1496: + YYDEBUG(1496, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy167; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 't') goto yy1497; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1497: + YYDEBUG(1497, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'H') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'G') goto yy168; + goto yy1228; + } + } else { + if (yych <= 'g') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'h') goto yy1228; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1498: + YYDEBUG(1498, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy167; + goto yy1428; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 't') goto yy1428; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1499: + YYDEBUG(1499, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= '@') { + if (yych == ')') goto yy164; + } else { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy1500; + if (yych <= 'z') goto yy167; + } +yy1500: + YYDEBUG(1500, *YYCURSOR); +#line 1027 "parse_date.re" + { + DEBUG_OUTPUT("now"); + TIMELIB_INIT; + + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 24056 "<stdout>" +yy1501: + YYDEBUG(1501, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'N') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'M') goto yy167; + goto yy1507; + } + } else { + if (yych <= 'm') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 'n') goto yy1507; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1502: + YYDEBUG(1502, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= ',') { + if (yych <= ')') goto yy164; + goto yy218; + } else { + if (yych <= '-') goto yy221; + if (yych <= '.') goto yy220; + goto yy218; + } + } + } else { + if (yych <= 'Z') { + if (yych <= '@') { + if (yych <= '9') goto yy220; + goto yy218; + } else { + if (yych != 'E') goto yy167; + } + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy218; + goto yy167; + } else { + if (yych <= 'e') goto yy1503; + if (yych <= 'z') goto yy167; + goto yy218; + } + } + } +yy1503: + YYDEBUG(1503, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'M') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'L') goto yy168; + } + } else { + if (yych <= 'l') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'm') goto yy1504; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1504: + YYDEBUG(1504, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'B') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'A') goto yy169; + } + } else { + if (yych <= 'a') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'b') goto yy1505; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1505: + YYDEBUG(1505, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'E') goto yy1506; + if (yych != 'e') goto yy3; + } +yy1506: + YYDEBUG(1506, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy229; + if (yych == 'r') goto yy229; + goto yy56; +yy1507: + YYDEBUG(1507, *YYCURSOR); + ++YYCURSOR; + if ((yych = *YYCURSOR) <= '@') { + if (yych == ')') goto yy164; + } else { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy1508; + if (yych <= 'z') goto yy168; + } +yy1508: + YYDEBUG(1508, *YYCURSOR); +#line 1036 "parse_date.re" + { + DEBUG_OUTPUT("noon"); + TIMELIB_INIT; + TIMELIB_UNHAVE_TIME(); + TIMELIB_HAVE_TIME(); + s->time->h = 12; + + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 24206 "<stdout>" +yy1509: + YYDEBUG(1509, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'V') { + if (yych <= '.') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych == '-') goto yy172; + goto yy3; + } + } else { + if (yych <= 'N') { + if (yych <= '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } else { + if (yych <= 'O') goto yy1501; + if (yych <= 'U') goto yy166; + goto yy1502; + } + } + } else { + if (yych <= 'n') { + if (yych <= '^') { + if (yych <= 'W') goto yy1499; + if (yych <= 'Z') goto yy166; + goto yy3; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy3; + goto yy171; + } + } else { + if (yych <= 'v') { + if (yych <= 'o') goto yy1516; + if (yych <= 'u') goto yy171; + goto yy1517; + } else { + if (yych <= 'w') goto yy1515; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1510: + YYDEBUG(1510, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'W') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'X') goto yy1498; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'w') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'x') goto yy1514; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1511: + YYDEBUG(1511, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1496; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 'n') goto yy1512; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1512: + YYDEBUG(1512, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1497; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 't') goto yy1513; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1513: + YYDEBUG(1513, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'G') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'H') goto yy1228; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'g') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'h') goto yy1257; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1514: + YYDEBUG(1514, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1428; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 't') goto yy1460; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1515: + YYDEBUG(1515, *YYCURSOR); + yyaccept = 31; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy1500; + } else { + if (yych == '.') goto yy1500; + goto yy172; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy1500; + if (yych <= 'Z') goto yy167; + goto yy1500; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy1500; + if (yych <= 'z') goto yy175; + goto yy1500; + } + } +yy1516: + YYDEBUG(1516, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'M') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'N') goto yy1507; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'm') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 'n') goto yy1522; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1517: + YYDEBUG(1517, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '9') { + if (yych <= '(') { + if (yych <= '\t') { + if (yych <= 0x08) goto yy218; + goto yy220; + } else { + if (yych == ' ') goto yy220; + goto yy218; + } + } else { + if (yych <= '-') { + if (yych <= ')') goto yy164; + if (yych <= ',') goto yy218; + goto yy336; + } else { + if (yych == '/') goto yy172; + goto yy220; + } + } + } else { + if (yych <= '^') { + if (yych <= 'D') { + if (yych <= '@') goto yy218; + goto yy167; + } else { + if (yych <= 'E') goto yy1503; + if (yych <= 'Z') goto yy167; + goto yy218; + } + } else { + if (yych <= 'd') { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy218; + goto yy175; + } else { + if (yych <= 'e') goto yy1518; + if (yych <= 'z') goto yy175; + goto yy218; + } + } + } +yy1518: + YYDEBUG(1518, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'L') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'M') goto yy1504; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'l') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'm') goto yy1519; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1519: + YYDEBUG(1519, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'A') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'B') goto yy1505; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'a') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'b') goto yy1520; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1520: + YYDEBUG(1520, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'E') goto yy1506; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'e') goto yy1521; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1521: + YYDEBUG(1521, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'R') goto yy229; + if (yych == 'r') goto yy341; + goto yy179; +yy1522: + YYDEBUG(1522, *YYCURSOR); + yyaccept = 32; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy1508; + } else { + if (yych == '.') goto yy1508; + goto yy172; + } + } else { + if (yych <= '^') { + if (yych <= '@') goto yy1508; + if (yych <= 'Z') goto yy168; + goto yy1508; + } else { + if (yych <= '_') goto yy172; + if (yych <= '`') goto yy1508; + if (yych <= 'z') goto yy176; + goto yy1508; + } + } +yy1523: + YYDEBUG(1523, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'S') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'R') goto yy166; + } + } else { + if (yych <= 'r') { + if (yych <= 'Z') goto yy166; + if (yych <= '`') goto yy3; + goto yy166; + } else { + if (yych <= 's') goto yy1524; + if (yych <= 'z') goto yy166; + goto yy3; + } + } +yy1524: + YYDEBUG(1524, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'T') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'S') goto yy167; + } + } else { + if (yych <= 's') { + if (yych <= 'Z') goto yy167; + if (yych <= '`') goto yy3; + goto yy167; + } else { + if (yych <= 't') goto yy1525; + if (yych <= 'z') goto yy167; + goto yy3; + } + } +yy1525: + YYDEBUG(1525, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'E') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'D') goto yy168; + } + } else { + if (yych <= 'd') { + if (yych <= 'Z') goto yy168; + if (yych <= '`') goto yy3; + goto yy168; + } else { + if (yych <= 'e') goto yy1526; + if (yych <= 'z') goto yy168; + goto yy3; + } + } +yy1526: + YYDEBUG(1526, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'R') { + if (yych <= ')') { + if (yych <= '(') goto yy3; + goto yy164; + } else { + if (yych <= '@') goto yy3; + if (yych <= 'Q') goto yy169; + } + } else { + if (yych <= 'q') { + if (yych <= 'Z') goto yy169; + if (yych <= '`') goto yy3; + goto yy169; + } else { + if (yych <= 'r') goto yy1527; + if (yych <= 'z') goto yy169; + goto yy3; + } + } +yy1527: + YYDEBUG(1527, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych <= 'D') goto yy1528; + if (yych != 'd') goto yy3; + } +yy1528: + YYDEBUG(1528, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1529; + if (yych != 'a') goto yy56; +yy1529: + YYDEBUG(1529, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1530; + if (yych != 'y') goto yy56; +yy1530: + YYDEBUG(1530, *YYCURSOR); + ++YYCURSOR; +yy1531: + YYDEBUG(1531, *YYCURSOR); +#line 1015 "parse_date.re" + { + DEBUG_OUTPUT("yesterday"); + TIMELIB_INIT; + TIMELIB_HAVE_RELATIVE(); + TIMELIB_UNHAVE_TIME(); + + s->time->relative.d = -1; + TIMELIB_DEINIT; + return TIMELIB_RELATIVE; + } +#line 24750 "<stdout>" +yy1532: + YYDEBUG(1532, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'R') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy166; + } + } else { + if (yych <= '_') { + if (yych <= 'S') goto yy1524; + if (yych <= 'Z') goto yy166; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'r') { + if (yych <= '`') goto yy3; + goto yy171; + } else { + if (yych <= 's') goto yy1533; + if (yych <= 'z') goto yy171; + goto yy3; + } + } + } +yy1533: + YYDEBUG(1533, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'S') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy167; + } + } else { + if (yych <= '_') { + if (yych <= 'T') goto yy1525; + if (yych <= 'Z') goto yy167; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 's') { + if (yych <= '`') goto yy3; + goto yy175; + } else { + if (yych <= 't') goto yy1534; + if (yych <= 'z') goto yy175; + goto yy3; + } + } + } +yy1534: + YYDEBUG(1534, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'D') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy168; + } + } else { + if (yych <= '_') { + if (yych <= 'E') goto yy1526; + if (yych <= 'Z') goto yy168; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'd') { + if (yych <= '`') goto yy3; + goto yy176; + } else { + if (yych <= 'e') goto yy1535; + if (yych <= 'z') goto yy176; + goto yy3; + } + } + } +yy1535: + YYDEBUG(1535, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'Q') { + if (yych <= '-') { + if (yych == ')') goto yy164; + if (yych <= ',') goto yy3; + goto yy172; + } else { + if (yych == '/') goto yy172; + if (yych <= '@') goto yy3; + goto yy169; + } + } else { + if (yych <= '_') { + if (yych <= 'R') goto yy1527; + if (yych <= 'Z') goto yy169; + if (yych <= '^') goto yy3; + goto yy172; + } else { + if (yych <= 'q') { + if (yych <= '`') goto yy3; + goto yy177; + } else { + if (yych <= 'r') goto yy1536; + if (yych <= 'z') goto yy177; + goto yy3; + } + } + } +yy1536: + YYDEBUG(1536, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 'C') { + if (yych <= ',') { + if (yych == ')') goto yy164; + goto yy3; + } else { + if (yych == '.') goto yy3; + if (yych <= '/') goto yy172; + goto yy3; + } + } else { + if (yych <= '`') { + if (yych <= 'D') goto yy1528; + if (yych == '_') goto yy172; + goto yy3; + } else { + if (yych == 'd') goto yy1537; + if (yych <= 'z') goto yy178; + goto yy3; + } + } +yy1537: + YYDEBUG(1537, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'A') goto yy1529; + if (yych != 'a') goto yy179; + YYDEBUG(1538, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Y') goto yy1530; + if (yych != 'y') goto yy179; + YYDEBUG(1539, *YYCURSOR); + yyaccept = 33; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 16) { + goto yy178; + } + if (yych <= '.') { + if (yych == '-') goto yy172; + goto yy1531; + } else { + if (yych <= '/') goto yy172; + if (yych == '_') goto yy172; + goto yy1531; + } +} +#line 1817 "parse_date.re" + +} + +#define YYMAXFILL 33 + +timelib_time* timelib_strtotime(char *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) +{ + Scanner in; + int t; + char *e = s + len - 1; + + memset(&in, 0, sizeof(in)); + in.errors = timelib_malloc(sizeof(timelib_error_container)); + in.errors->warning_count = 0; + in.errors->warning_messages = NULL; + in.errors->error_count = 0; + in.errors->error_messages = NULL; + + if (len > 0) { + while (isspace(*s) && s < e) { + s++; + } + while (isspace(*e) && e > s) { + e--; + } + } + if (e - s < 0) { + in.time = timelib_time_ctor(); + add_error(&in, TIMELIB_ERR_EMPTY_STRING, "Empty string"); + if (errors) { + *errors = in.errors; + } else { + timelib_error_container_dtor(in.errors); + } + in.time->y = in.time->d = in.time->m = in.time->h = in.time->i = in.time->s = in.time->us = in.time->dst = in.time->z = TIMELIB_UNSET; + in.time->is_localtime = in.time->zone_type = 0; + return in.time; + } + e++; + + in.str = timelib_malloc((e - s) + YYMAXFILL); + memset(in.str, 0, (e - s) + YYMAXFILL); + memcpy(in.str, s, (e - s)); + in.lim = in.str + (e - s) + YYMAXFILL; + in.cur = in.str; + in.time = timelib_time_ctor(); + in.time->y = TIMELIB_UNSET; + in.time->d = TIMELIB_UNSET; + in.time->m = TIMELIB_UNSET; + in.time->h = TIMELIB_UNSET; + in.time->i = TIMELIB_UNSET; + in.time->s = TIMELIB_UNSET; + in.time->us = TIMELIB_UNSET; + in.time->z = TIMELIB_UNSET; + in.time->dst = TIMELIB_UNSET; + in.tzdb = tzdb; + in.time->is_localtime = 0; + in.time->zone_type = 0; + in.time->relative.days = TIMELIB_UNSET; + + do { + t = scan(&in, tz_get_wrapper); +#ifdef DEBUG_PARSER + printf("%d\n", t); +#endif + } while(t != EOI); + + /* do funky checking whether the parsed time was valid time */ + if (in.time->have_time && !timelib_valid_time( in.time->h, in.time->i, in.time->s)) { + add_warning(&in, TIMELIB_WARN_INVALID_TIME, "The parsed time was invalid"); + } + /* do funky checking whether the parsed date was valid date */ + if (in.time->have_date && !timelib_valid_date( in.time->y, in.time->m, in.time->d)) { + add_warning(&in, TIMELIB_WARN_INVALID_DATE, "The parsed date was invalid"); + } + + timelib_free(in.str); + if (errors) { + *errors = in.errors; + } else { + timelib_error_container_dtor(in.errors); + } + return in.time; +} + +#define TIMELIB_CHECK_NUMBER \ + if (strchr("0123456789", *ptr) == NULL) \ + { \ + add_pbf_error(s, TIMELIB_ERR_UNEXPECTED_DATA, "Unexpected data found.", string, begin); \ + } +#define TIMELIB_CHECK_SIGNED_NUMBER \ + if (strchr("-0123456789", *ptr) == NULL) \ + { \ + add_pbf_error(s, TIMELIB_ERR_UNEXPECTED_DATA, "Unexpected data found.", string, begin); \ + } + +static void timelib_time_reset_fields(timelib_time *time) +{ + assert(time != NULL); + + time->y = 1970; + time->m = 1; + time->d = 1; + time->h = time->i = time->s = 0; + time->us = 0; + time->tz_info = NULL; +} + +static void timelib_time_reset_unset_fields(timelib_time *time) +{ + assert(time != NULL); + + if (time->y == TIMELIB_UNSET ) time->y = 1970; + if (time->m == TIMELIB_UNSET ) time->m = 1; + if (time->d == TIMELIB_UNSET ) time->d = 1; + if (time->h == TIMELIB_UNSET ) time->h = 0; + if (time->i == TIMELIB_UNSET ) time->i = 0; + if (time->s == TIMELIB_UNSET ) time->s = 0; + if (time->us == TIMELIB_UNSET ) time->us = 0; +} + +static const timelib_format_specifier default_format_map[] = { + {'+', TIMELIB_FORMAT_ALLOW_EXTRA_CHARACTERS}, + {'#', TIMELIB_FORMAT_ANY_SEPARATOR}, + {'j', TIMELIB_FORMAT_DAY_TWO_DIGIT}, + {'d', TIMELIB_FORMAT_DAY_TWO_DIGIT_PADDED}, + {'z', TIMELIB_FORMAT_DAY_OF_YEAR}, + {'S', TIMELIB_FORMAT_DAY_SUFFIX}, + {'U', TIMELIB_FORMAT_EPOCH_SECONDS}, + {'\\', TIMELIB_FORMAT_ESCAPE}, + {'h', TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX}, + {'g', TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX_PADDED}, + {'H', TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX}, + {'G', TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX_PADDED}, + {'a', TIMELIB_FORMAT_MERIDIAN}, + {'A', TIMELIB_FORMAT_MERIDIAN}, + {'u', TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT}, + {'v', TIMELIB_FORMAT_MILLISECOND_THREE_DIGIT}, + {'i', TIMELIB_FORMAT_MINUTE_TWO_DIGIT}, + {'n', TIMELIB_FORMAT_MONTH_TWO_DIGIT}, + {'m', TIMELIB_FORMAT_MONTH_TWO_DIGIT_PADDED}, + {'?', TIMELIB_FORMAT_RANDOM_CHAR}, + {'!', TIMELIB_FORMAT_RESET_ALL}, + {'|', TIMELIB_FORMAT_RESET_ALL_WHEN_NOT_SET}, + {'s', TIMELIB_FORMAT_SECOND_TWO_DIGIT}, + {';', TIMELIB_FORMAT_SEPARATOR}, + {':', TIMELIB_FORMAT_SEPARATOR}, + {'/', TIMELIB_FORMAT_SEPARATOR}, + {'.', TIMELIB_FORMAT_SEPARATOR}, + {',', TIMELIB_FORMAT_SEPARATOR}, + {'-', TIMELIB_FORMAT_SEPARATOR}, + {'(', TIMELIB_FORMAT_SEPARATOR}, + {')', TIMELIB_FORMAT_SEPARATOR}, + {'*', TIMELIB_FORMAT_SKIP_TO_SEPARATOR}, + {'D', TIMELIB_FORMAT_TEXTUAL_DAY_3_LETTER}, + {'l', TIMELIB_FORMAT_TEXTUAL_DAY_FULL}, + {'M', TIMELIB_FORMAT_TEXTUAL_MONTH_3_LETTER}, + {'F', TIMELIB_FORMAT_TEXTUAL_MONTH_FULL}, + {'e', TIMELIB_FORMAT_TIMEZONE_OFFSET}, + {'P', TIMELIB_FORMAT_TIMEZONE_OFFSET}, + {'T', TIMELIB_FORMAT_TIMEZONE_OFFSET}, + {'O', TIMELIB_FORMAT_TIMEZONE_OFFSET}, + {' ', TIMELIB_FORMAT_WHITESPACE}, + {'y', TIMELIB_FORMAT_YEAR_TWO_DIGIT}, + {'Y', TIMELIB_FORMAT_YEAR_FOUR_DIGIT}, + {'\0', TIMELIB_FORMAT_END} +}; + +static const timelib_format_config default_format_config = { + default_format_map, + // No prefix required by default. + '\0' +}; + +static timelib_format_specifier_code timelib_lookup_format(char input, const timelib_format_specifier* format_map) +{ + while (format_map && format_map->specifier != '\0') { + if (format_map->specifier == input) { + return format_map->code; + } + format_map++; + } + return TIMELIB_FORMAT_LITERAL; +} + +timelib_time *timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) +{ + return timelib_parse_from_format_with_map(format, string, len, errors, tzdb, tz_get_wrapper, &default_format_config); +} + +timelib_time *timelib_parse_from_format_with_map(char *format, char *string, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper, const timelib_format_config* format_config) +{ + char *fptr = format; + char *ptr = string; + char *begin; + timelib_sll tmp; + Scanner in; + Scanner *s = ∈ + bool allow_extra = false; + bool prefix_found = false; + int iso_year = TIMELIB_UNSET; + int iso_week_of_year = TIMELIB_UNSET; + int iso_day_of_week = TIMELIB_UNSET; + char prefix_char = format_config->prefix_char; + const timelib_format_specifier *format_map = format_config->format_map; + + memset(&in, 0, sizeof(in)); + in.errors = timelib_malloc(sizeof(timelib_error_container)); + in.errors->warning_count = 0; + in.errors->warning_messages = NULL; + in.errors->error_count = 0; + in.errors->error_messages = NULL; + + in.time = timelib_time_ctor(); + in.time->y = TIMELIB_UNSET; + in.time->d = TIMELIB_UNSET; + in.time->m = TIMELIB_UNSET; + in.time->h = TIMELIB_UNSET; + in.time->i = TIMELIB_UNSET; + in.time->s = TIMELIB_UNSET; + in.time->us = TIMELIB_UNSET; + in.time->z = TIMELIB_UNSET; + in.time->dst = TIMELIB_UNSET; + in.tzdb = tzdb; + in.time->is_localtime = 0; + in.time->zone_type = 0; + + /* Loop over the format string */ + while (*fptr && *ptr) { + begin = ptr; + + if (prefix_char) { + /* There are 2 cases where the input string and format string + * should match the next literal: + * + * 1. No prefix has been specified yet in the format, so expect 1:1 + * match. + * 2. Sequential prefix characters indicating that the second + * prefix is escaped. (e.g. "%%" is expecting literal "%") + */ + if ((!prefix_found && *fptr != prefix_char) || + (prefix_found && *fptr == prefix_char)) { + if (*fptr != *ptr) { + add_pbf_error(s, TIMELIB_ERR_FORMAT_LITERAL_MISMATCH, "Format literal not found", string, begin); + } + ptr++; + fptr++; + prefix_found = false; + continue; + } + + if (*fptr == prefix_char) { + fptr++; + prefix_found = true; + continue; + } + + /* Fall through case is that the prefix has been found and the next + * character is the format specifier. */ + prefix_found = false; + } + + switch (timelib_lookup_format(*fptr, format_map)) { + case TIMELIB_FORMAT_TEXTUAL_DAY_3_LETTER: /* three letter day */ + case TIMELIB_FORMAT_TEXTUAL_DAY_FULL: /* full day */ + { + const timelib_relunit* tmprel = 0; + + tmprel = timelib_lookup_relunit((char **) &ptr); + if (!tmprel) { + add_pbf_error(s, TIMELIB_ERR_NO_TEXTUAL_DAY, "A textual day could not be found", string, begin); + break; + } else { + in.time->have_relative = 1; + in.time->relative.have_weekday_relative = 1; + in.time->relative.weekday = tmprel->multiplier; + in.time->relative.weekday_behavior = 1; + } + } + break; + case TIMELIB_FORMAT_DAY_TWO_DIGIT: /* two digit day, without leading zero */ + case TIMELIB_FORMAT_DAY_TWO_DIGIT_PADDED: /* two digit day, with leading zero */ + TIMELIB_CHECK_NUMBER; + if ((s->time->d = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_DAY, "A two digit day could not be found", string, begin); + } + break; + case TIMELIB_FORMAT_DAY_SUFFIX: /* day suffix, ignored, nor checked */ + timelib_skip_day_suffix((char **) &ptr); + break; + case TIMELIB_FORMAT_DAY_OF_YEAR: /* day of year - resets month (0 based) - also initializes everything else to !TIMELIB_UNSET */ + TIMELIB_CHECK_NUMBER; + if ((tmp = timelib_get_nr((char **) &ptr, 3)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_THREE_DIGIT_DAY_OF_YEAR, "A three digit day-of-year could not be found", string, begin); + } else { + s->time->m = 1; + s->time->d = tmp + 1; + timelib_do_normalize(s->time); + } + break; + + case TIMELIB_FORMAT_MONTH_TWO_DIGIT: /* two digit month, without leading zero */ + case TIMELIB_FORMAT_MONTH_TWO_DIGIT_PADDED: /* two digit month, with leading zero */ + TIMELIB_CHECK_NUMBER; + if ((s->time->m = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_MONTH, "A two digit month could not be found", string, begin); + } + break; + case TIMELIB_FORMAT_TEXTUAL_MONTH_3_LETTER: /* three letter month */ + case TIMELIB_FORMAT_TEXTUAL_MONTH_FULL: /* full month */ + tmp = timelib_lookup_month((char **) &ptr); + if (!tmp) { + add_pbf_error(s, TIMELIB_ERR_NO_TEXTUAL_MONTH, "A textual month could not be found", string, begin); + } else { + s->time->m = tmp; + } + break; + case TIMELIB_FORMAT_YEAR_TWO_DIGIT: /* two digit year */ + { + int length = 0; + TIMELIB_CHECK_NUMBER; + if ((s->time->y = timelib_get_nr_ex((char **) &ptr, 2, &length)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_YEAR, "A two digit year could not be found", string, begin); + } + TIMELIB_PROCESS_YEAR(s->time->y, length); + } + break; + case TIMELIB_FORMAT_YEAR_FOUR_DIGIT: /* four digit year */ + TIMELIB_CHECK_NUMBER; + if ((s->time->y = timelib_get_nr((char **) &ptr, 4)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_FOUR_DIGIT_YEAR, "A four digit year could not be found", string, begin); + } + break; + case TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX: /* two digit hour, without leading zero */ + case TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX_PADDED: /* two digit hour, with leading zero */ + TIMELIB_CHECK_NUMBER; + if ((s->time->h = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_HOUR, "A two digit hour could not be found", string, begin); + } + if (s->time->h > 12) { + add_pbf_error(s, TIMELIB_ERR_HOUR_LARGER_THAN_12, "Hour can not be higher than 12", string, begin); + } + break; + case TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX_PADDED: /* two digit hour, with leading zero */ + case TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX: /* two digit hour, without leading zero */ + TIMELIB_CHECK_NUMBER; + if ((s->time->h = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_HOUR, "A two digit hour could not be found", string, begin); + } + break; + case TIMELIB_FORMAT_MERIDIAN: /* am/pm/a.m./p.m. AM/PM/A.M./P.M. */ + if (s->time->h == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_MERIDIAN_BEFORE_HOUR, "Meridian can only come after an hour has been found", string, begin); + } else if ((tmp = timelib_meridian_with_check((char **) &ptr, s->time->h)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_MERIDIAN, "A meridian could not be found", string, begin); + } else { + s->time->h += tmp; + } + break; + case TIMELIB_FORMAT_MINUTE_TWO_DIGIT: /* two digit minute, with leading zero */ + { + int length; + timelib_sll min; + + TIMELIB_CHECK_NUMBER; + min = timelib_get_nr_ex((char **) &ptr, 2, &length); + if (min == TIMELIB_UNSET || length != 2) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_MINUTE, "A two digit minute could not be found", string, begin); + } else { + s->time->i = min; + } + } + break; + case TIMELIB_FORMAT_SECOND_TWO_DIGIT: /* two digit second, with leading zero */ + { + int length; + timelib_sll sec; + + TIMELIB_CHECK_NUMBER; + sec = timelib_get_nr_ex((char **) &ptr, 2, &length); + if (sec == TIMELIB_UNSET || length != 2) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_SECOND, "A two digit second could not be found", string, begin); + } else { + s->time->s = sec; + } + } + break; + case TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT: /* up to six digit microsecond */ + { + double f; + char *tptr; + + TIMELIB_CHECK_NUMBER; + tptr = ptr; + if ((f = timelib_get_nr((char **) &ptr, 6)) == TIMELIB_UNSET || (ptr - tptr < 1)) { + add_pbf_error(s, TIMELIB_ERR_NO_SIX_DIGIT_MICROSECOND, "A six digit microsecond could not be found", string, begin); + } else { + s->time->us = (f * pow(10, 6 - (ptr - tptr))); + } + } + break; + case TIMELIB_FORMAT_MILLISECOND_THREE_DIGIT: /* up to three digit millisecond */ + { + double f; + char *tptr; + + TIMELIB_CHECK_NUMBER; + tptr = ptr; + if ((f = timelib_get_nr((char **) &ptr, 3)) == TIMELIB_UNSET || (ptr - tptr < 1)) { + add_pbf_error(s, TIMELIB_ERR_NO_THREE_DIGIT_MILLISECOND, "A three digit millisecond could not be found", string, begin); + } else { + s->time->us = (f * pow(10, 3 - (ptr - tptr)) * 1000); + } + } + break; + case TIMELIB_FORMAT_WHITESPACE: /* any sort of whitespace (' ' and \t) */ + timelib_eat_spaces((char **) &ptr); + break; + case TIMELIB_FORMAT_EPOCH_SECONDS: /* epoch seconds */ + TIMELIB_CHECK_SIGNED_NUMBER; + TIMELIB_HAVE_RELATIVE(); + tmp = timelib_get_unsigned_nr((char **) &ptr, 24); + s->time->y = 1970; + s->time->m = 1; + s->time->d = 1; + s->time->h = s->time->i = s->time->s = 0; + s->time->relative.s += tmp; + s->time->is_localtime = 1; + s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; + s->time->z = 0; + s->time->dst = 0; + break; + case TIMELIB_FORMAT_ANY_SEPARATOR: /* separation symbol */ + if (timelib_lookup_format(*ptr, format_map) == TIMELIB_FORMAT_SEPARATOR) { + ++ptr; + } else { + add_pbf_error(s, TIMELIB_ERR_NO_SEP_SYMBOL, "The separation symbol ([;:/.,-]) could not be found", string, begin); + } + break; + + case TIMELIB_FORMAT_SEPARATOR: + if (*ptr == *fptr) { + ++ptr; + } else { + add_pbf_error(s, TIMELIB_ERR_NO_SEP_SYMBOL, "The separation symbol could not be found", string, begin); + } + break; + + case TIMELIB_FORMAT_RESET_ALL: /* reset all fields to default */ + timelib_time_reset_fields(s->time); + break; /* break intentionally not missing */ + + case TIMELIB_FORMAT_RESET_ALL_WHEN_NOT_SET: /* reset all fields to default when not set */ + timelib_time_reset_unset_fields(s->time); + break; /* break intentionally not missing */ + + case TIMELIB_FORMAT_RANDOM_CHAR: /* random char */ + ++ptr; + break; + + case TIMELIB_FORMAT_ESCAPE: /* escaped char */ + if(!fptr[1]) { + add_pbf_error(s, TIMELIB_ERR_EXPECTED_ESCAPE_CHAR, "Escaped character expected", string, begin); + break; + } + fptr++; + if (*ptr == *fptr) { + ++ptr; + } else { + add_pbf_error(s, TIMELIB_ERR_NO_ESCAPED_CHAR, "The escaped character could not be found", string, begin); + } + break; + + case TIMELIB_FORMAT_SKIP_TO_SEPARATOR: /* random chars until a separator or number ([ \t.,:;/-0123456789]) */ + timelib_eat_until_separator((char **) &ptr); + break; + + case TIMELIB_FORMAT_ALLOW_EXTRA_CHARACTERS: /* allow extra chars in the format */ + allow_extra = true; + break; + case TIMELIB_FORMAT_YEAR_ISO: + if ((iso_year = timelib_get_nr((char **) &ptr, 4)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_FOUR_DIGIT_YEAR_ISO, "A four digit ISO year could not be found", string, begin); + } + break; + case TIMELIB_FORMAT_WEEK_OF_YEAR_ISO: + if ((iso_week_of_year = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_WEEK, "A two digit ISO week could not be found", string, begin); + } + /* Range is 1 - 53 for ISO week of year */ + if (iso_week_of_year < 1 || iso_week_of_year > 53) { + add_pbf_error(s, TIMELIB_ERR_INVALID_WEEK, "ISO Week must be between 1 and 53", string, begin); + } + break; + case TIMELIB_FORMAT_DAY_OF_WEEK_ISO: + if ((iso_day_of_week = timelib_get_nr((char **) &ptr, 1)) == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_NO_DAY_OF_WEEK, "A single digit day of week could not be found", string, begin); + } + if (iso_day_of_week < 1 || iso_day_of_week > 7) { + add_pbf_error(s, TIMELIB_ERR_INVALID_DAY_OF_WEEK, "Day of week must be between 1 and 7", string, begin); + } + break; + case TIMELIB_FORMAT_TIMEZONE_OFFSET: /* timezone */ + { + int tz_not_found; + + s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); + if (tz_not_found) { + add_pbf_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database", string, begin); + } + } + break; + case TIMELIB_FORMAT_TIMEZONE_OFFSET_MINUTES: /* timezone format +/-mmm */ + s->time->z = timelib_parse_tz_minutes((char **) &ptr, s->time); + if (s->time->z == TIMELIB_UNSET) { + add_pbf_error(s, TIMELIB_ERR_INVALID_TZ_OFFSET, "Invalid timezone offset in minutes", string, begin); + } + break; + case TIMELIB_FORMAT_LITERAL: + default: + if (*fptr != *ptr) { + add_pbf_error(s, TIMELIB_ERR_WRONG_FORMAT_SEP, "The format separator does not match", string, begin); + } + ptr++; + } + fptr++; + } + if (*ptr) { + if (allow_extra) { + add_pbf_warning(s, TIMELIB_WARN_TRAILING_DATA, "Trailing data", string, ptr); + } else { + add_pbf_error(s, TIMELIB_ERR_TRAILING_DATA, "Trailing data", string, ptr); + } + } + + if (*fptr) { + /* Trailing reset specifiers are valid. */ + int done = 0; + while (*fptr && !done) { + switch (timelib_lookup_format(*fptr, format_map)) { + case TIMELIB_FORMAT_RESET_ALL: /* reset all fields to default */ + timelib_time_reset_fields(s->time); + break; + + case TIMELIB_FORMAT_RESET_ALL_WHEN_NOT_SET: /* reset all fields to default when not set */ + timelib_time_reset_unset_fields(s->time); + break; + case TIMELIB_FORMAT_ALLOW_EXTRA_CHARACTERS: + break; + + default: + add_pbf_error(s, TIMELIB_ERR_DATA_MISSING, "Data missing", string, ptr); + done = 1; + } + fptr++; + } + } + + /* clean up a bit */ + if (s->time->h != TIMELIB_UNSET || s->time->i != TIMELIB_UNSET || s->time->s != TIMELIB_UNSET || s->time->us != TIMELIB_UNSET) { + if (s->time->h == TIMELIB_UNSET ) { + s->time->h = 0; + } + if (s->time->i == TIMELIB_UNSET ) { + s->time->i = 0; + } + if (s->time->s == TIMELIB_UNSET ) { + s->time->s = 0; + } + if (s->time->us == TIMELIB_UNSET ) { + s->time->us = 0; + } + } + + /* Check for mixing of ISO dates with natural dates. */ + if (s->time->y != TIMELIB_UNSET && (iso_week_of_year != TIMELIB_UNSET || iso_year != TIMELIB_UNSET || iso_day_of_week != TIMELIB_UNSET)) { + add_pbf_error(s, TIMELIB_ERR_MIX_ISO_WITH_NATURAL, "Mixing of ISO dates with natural dates is not allowed", string, ptr); + } + if (iso_year != TIMELIB_UNSET && (s->time->y != TIMELIB_UNSET || s->time->m != TIMELIB_UNSET || s->time->d != TIMELIB_UNSET)) { + add_pbf_error(s, TIMELIB_ERR_MIX_ISO_WITH_NATURAL, "Mixing of ISO dates with natural dates is not allowed", string, ptr); + } + + /* Convert ISO values */ + if (iso_year != TIMELIB_UNSET) { + /* Default week of year and day of week to 1. */ + if (iso_week_of_year == TIMELIB_UNSET) { + iso_week_of_year = 1; + } + if (iso_day_of_week == TIMELIB_UNSET) { + iso_day_of_week = 1; + } + timelib_date_from_isodate(iso_year, iso_week_of_year, iso_day_of_week, &s->time->y, &s->time->m, &s->time->d); + } else if (iso_week_of_year != TIMELIB_UNSET || iso_day_of_week != TIMELIB_UNSET) { + add_pbf_warning(s, TIMELIB_WARN_INVALID_DATE, "The parsed date was invalid", string, ptr); + } + + /* do funky checking whether the parsed time was valid time */ + if (s->time->h != TIMELIB_UNSET && s->time->i != TIMELIB_UNSET && + s->time->s != TIMELIB_UNSET && + !timelib_valid_time( s->time->h, s->time->i, s->time->s)) { + add_pbf_warning(s, TIMELIB_WARN_INVALID_TIME, "The parsed time was invalid", string, ptr); + } + /* do funky checking whether the parsed date was valid date */ + if (s->time->y != TIMELIB_UNSET && s->time->m != TIMELIB_UNSET && + s->time->d != TIMELIB_UNSET && + !timelib_valid_date( s->time->y, s->time->m, s->time->d)) { + add_pbf_warning(s, TIMELIB_WARN_INVALID_DATE, "The parsed date was invalid", string, ptr); + } + + if (errors) { + *errors = in.errors; + } else { + timelib_error_container_dtor(in.errors); + } + return in.time; +} + +void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) +{ + if (!(options & TIMELIB_OVERRIDE_TIME) && parsed->have_date && !parsed->have_time) { + parsed->h = 0; + parsed->i = 0; + parsed->s = 0; + parsed->us = 0; + } + if ( + parsed->y != TIMELIB_UNSET || parsed->m != TIMELIB_UNSET || parsed->d != TIMELIB_UNSET || + parsed->h != TIMELIB_UNSET || parsed->i != TIMELIB_UNSET || parsed->s != TIMELIB_UNSET + ) { + if (parsed->us == TIMELIB_UNSET) parsed->us = 0; + } else { + if (parsed->us == TIMELIB_UNSET) parsed->us = now->us != TIMELIB_UNSET ? now->us : 0; + } + if (parsed->y == TIMELIB_UNSET) parsed->y = now->y != TIMELIB_UNSET ? now->y : 0; + if (parsed->m == TIMELIB_UNSET) parsed->m = now->m != TIMELIB_UNSET ? now->m : 0; + if (parsed->d == TIMELIB_UNSET) parsed->d = now->d != TIMELIB_UNSET ? now->d : 0; + if (parsed->h == TIMELIB_UNSET) parsed->h = now->h != TIMELIB_UNSET ? now->h : 0; + if (parsed->i == TIMELIB_UNSET) parsed->i = now->i != TIMELIB_UNSET ? now->i : 0; + if (parsed->s == TIMELIB_UNSET) parsed->s = now->s != TIMELIB_UNSET ? now->s : 0; + if (parsed->z == TIMELIB_UNSET) parsed->z = now->z != TIMELIB_UNSET ? now->z : 0; + if (parsed->dst == TIMELIB_UNSET) parsed->dst = now->dst != TIMELIB_UNSET ? now->dst : 0; + + if (!parsed->tz_abbr) { + parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; + } + if (!parsed->tz_info) { + parsed->tz_info = now->tz_info ? (!(options & TIMELIB_NO_CLONE) ? timelib_tzinfo_clone(now->tz_info) : now->tz_info) : NULL; + } + if (parsed->zone_type == 0 && now->zone_type != 0) { + parsed->zone_type = now->zone_type; +/* parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; + parsed->tz_info = now->tz_info ? timelib_tzinfo_clone(now->tz_info) : NULL; +*/ parsed->is_localtime = 1; + } +/* timelib_dump_date(parsed, 2); + timelib_dump_date(now, 2); +*/ +} + +char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) +{ + const timelib_tz_lookup_table *tp; + + tp = abbr_search(abbr, gmtoffset, isdst); + if (tp) { + return (tp->full_tz_name); + } else { + return NULL; + } +} + +const timelib_tz_lookup_table *timelib_timezone_abbreviations_list(void) +{ + return timelib_timezone_lookup; +} + +#ifdef DEBUG_PARSER_STUB +int main(void) +{ + timelib_time time = timelib_strtotime("May 12"); + + printf ("%04d-%02d-%02d %02d:%02d:%02d.%-5d %+04d %1d", + time.y, time.m, time.d, time.h, time.i, time.s, time.f, time.z, time.dst); + if (time.have_relative) { + printf ("%3dY %3dM %3dD / %3dH %3dM %3dS", + time.relative.y, time.relative.m, time.relative.d, time.relative.h, time.relative.i, time.relative.s); + } + if (time.have_weekday_relative) { + printf (" / %d", time.relative.weekday); + } + if (time.have_weeknr_day) { + printf(" / %dW%d", time.relative.weeknr_day.weeknr, time.relative.weeknr_day.dayofweek); + } + return 0; +} +#endif + +/* + * vim: syntax=c + */ diff --git a/src/third_party/timelib-2018.03/parse_date.re b/src/third_party/timelib-2018.01/parse_date.re index b112f0eb328..815d417d02c 100644 --- a/src/third_party/timelib-2018.03/parse_date.re +++ b/src/third_party/timelib-2018.01/parse_date.re @@ -1,8 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans - * Copyright (c) 2018 MongoDB, Inc. + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.03/parse_iso_intervals.c b/src/third_party/timelib-2018.01/parse_iso_intervals.c index 6103f430334..f974c7e391f 100644 --- a/src/third_party/timelib-2018.03/parse_iso_intervals.c +++ b/src/third_party/timelib-2018.01/parse_iso_intervals.c @@ -1,9 +1,9 @@ -/* Generated by re2c 1.3 on Thu Jun 18 21:25:29 2020 */ +/* Generated by re2c 0.15.3 on Tue Jan 15 10:10:44 2019 */ #line 1 "parse_iso_intervals.re" /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -221,72 +221,54 @@ std: yych = *YYCURSOR; if (yych <= ',') { if (yych <= '\n') { - if (yych <= 0x00) goto yy2; - if (yych <= 0x08) goto yy4; - if (yych <= '\t') goto yy6; + if (yych <= 0x00) goto yy9; + if (yych <= 0x08) goto yy11; + if (yych <= '\t') goto yy7; + goto yy9; } else { - if (yych == ' ') goto yy6; - if (yych <= '+') goto yy4; - goto yy6; + if (yych == ' ') goto yy7; + if (yych <= '+') goto yy11; + goto yy7; } } else { if (yych <= 'O') { - if (yych <= '-') goto yy4; - if (yych <= '/') goto yy6; - if (yych <= '9') goto yy8; - goto yy4; + if (yych <= '-') goto yy11; + if (yych <= '/') goto yy7; + if (yych <= '9') goto yy4; + goto yy11; } else { - if (yych <= 'P') goto yy9; - if (yych == 'R') goto yy11; - goto yy4; + if (yych <= 'P') goto yy5; + if (yych != 'R') goto yy11; } } -yy2: YYDEBUG(2, *YYCURSOR); ++YYCURSOR; + if ((yych = *YYCURSOR) <= '/') goto yy3; + if (yych <= '9') goto yy98; +yy3: YYDEBUG(3, *YYCURSOR); -#line 309 "parse_iso_intervals.re" - { - s->pos = cursor; s->line++; - goto std; - } -#line 254 "<stdout>" -yy4: - YYDEBUG(4, *YYCURSOR); - ++YYCURSOR; -yy5: - YYDEBUG(5, *YYCURSOR); #line 315 "parse_iso_intervals.re" { add_error(s, "Unexpected character"); goto std; } -#line 265 "<stdout>" -yy6: - YYDEBUG(6, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(7, *YYCURSOR); -#line 304 "parse_iso_intervals.re" - { - goto std; - } -#line 274 "<stdout>" -yy8: - YYDEBUG(8, *YYCURSOR); +#line 256 "<stdout>" +yy4: + YYDEBUG(4, *YYCURSOR); yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy5; - if (yych <= '9') goto yy12; - goto yy5; -yy9: - YYDEBUG(9, *YYCURSOR); + if (yych <= '/') goto yy3; + if (yych <= '9') goto yy59; + goto yy3; +yy5: + YYDEBUG(5, *YYCURSOR); yyaccept = 1; yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy10; - if (yych <= '9') goto yy14; - if (yych == 'T') goto yy15; -yy10: - YYDEBUG(10, *YYCURSOR); + if (yych <= '/') goto yy6; + if (yych <= '9') goto yy12; + if (yych == 'T') goto yy14; +yy6: + YYDEBUG(6, *YYCURSOR); #line 242 "parse_iso_intervals.re" { timelib_sll nr; @@ -328,197 +310,189 @@ yy10: TIMELIB_DEINIT; return TIMELIB_PERIOD; } -#line 332 "<stdout>" +#line 314 "<stdout>" +yy7: + YYDEBUG(7, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(8, *YYCURSOR); +#line 304 "parse_iso_intervals.re" + { + goto std; + } +#line 323 "<stdout>" +yy9: + YYDEBUG(9, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(10, *YYCURSOR); +#line 309 "parse_iso_intervals.re" + { + s->pos = cursor; s->line++; + goto std; + } +#line 333 "<stdout>" yy11: YYDEBUG(11, *YYCURSOR); yych = *++YYCURSOR; - if (yybm[0+yych] & 128) { - goto yy16; - } - goto yy5; + goto yy3; yy12: YYDEBUG(12, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy19; -yy13: - YYDEBUG(13, *YYCURSOR); - YYCURSOR = YYMARKER; - if (yyaccept == 0) { - goto yy5; - } else { - goto yy10; - } -yy14: - YYDEBUG(14, *YYCURSOR); - yych = *++YYCURSOR; if (yych <= 'L') { if (yych <= '9') { - if (yych <= '/') goto yy13; - goto yy20; + if (yych >= '0') goto yy25; } else { - if (yych == 'D') goto yy21; - goto yy13; + if (yych == 'D') goto yy24; } } else { if (yych <= 'W') { - if (yych <= 'M') goto yy22; - if (yych <= 'V') goto yy13; - goto yy23; + if (yych <= 'M') goto yy27; + if (yych >= 'W') goto yy26; } else { - if (yych == 'Y') goto yy24; - goto yy13; + if (yych == 'Y') goto yy28; } } -yy15: - YYDEBUG(15, *YYCURSOR); +yy13: + YYDEBUG(13, *YYCURSOR); + YYCURSOR = YYMARKER; + if (yyaccept == 0) { + goto yy3; + } else { + goto yy6; + } +yy14: + YYDEBUG(14, *YYCURSOR); yyaccept = 1; yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy10; - if (yych <= '9') goto yy25; - goto yy10; -yy16: - YYDEBUG(16, *YYCURSOR); + if (yybm[0+yych] & 128) { + goto yy15; + } + goto yy6; +yy15: + YYDEBUG(15, *YYCURSOR); ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); + if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); yych = *YYCURSOR; - YYDEBUG(17, *YYCURSOR); + YYDEBUG(16, *YYCURSOR); if (yybm[0+yych] & 128) { - goto yy16; + goto yy15; } - YYDEBUG(18, *YYCURSOR); -#line 207 "parse_iso_intervals.re" - { - DEBUG_OUTPUT("recurrences"); - TIMELIB_INIT; - ptr++; - s->recurrences = timelib_get_unsigned_nr((char **) &ptr, 9); - TIMELIB_DEINIT; - s->have_recurrences = 1; - return TIMELIB_PERIOD; - } -#line 401 "<stdout>" -yy19: - YYDEBUG(19, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy27; - goto yy13; -yy20: - YYDEBUG(20, *YYCURSOR); - yych = *++YYCURSOR; if (yych <= 'L') { - if (yych <= '9') { - if (yych <= '/') goto yy13; - goto yy28; - } else { - if (yych != 'D') goto yy13; - } + if (yych == 'H') goto yy19; + goto yy13; } else { - if (yych <= 'W') { - if (yych <= 'M') goto yy22; - if (yych <= 'V') goto yy13; - goto yy23; - } else { - if (yych == 'Y') goto yy24; - goto yy13; - } + if (yych <= 'M') goto yy18; + if (yych != 'S') goto yy13; } -yy21: - YYDEBUG(21, *YYCURSOR); +yy17: + YYDEBUG(17, *YYCURSOR); yych = *++YYCURSOR; - if (yych == 'T') goto yy15; - goto yy10; -yy22: - YYDEBUG(22, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy10; - if (yych <= '9') goto yy29; - if (yych == 'T') goto yy15; - goto yy10; -yy23: - YYDEBUG(23, *YYCURSOR); + goto yy6; +yy18: + YYDEBUG(18, *YYCURSOR); yyaccept = 1; yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy10; - if (yych <= '9') goto yy31; - if (yych == 'T') goto yy15; - goto yy10; -yy24: - YYDEBUG(24, *YYCURSOR); + if (yych <= '/') goto yy6; + if (yych <= '9') goto yy22; + goto yy6; +yy19: + YYDEBUG(19, *YYCURSOR); yyaccept = 1; yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy10; - if (yych <= '9') goto yy33; - if (yych == 'T') goto yy15; - goto yy10; -yy25: - YYDEBUG(25, *YYCURSOR); + if (yych <= '/') goto yy6; + if (yych >= ':') goto yy6; +yy20: + YYDEBUG(20, *YYCURSOR); ++YYCURSOR; if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); yych = *YYCURSOR; - YYDEBUG(26, *YYCURSOR); - if (yych <= 'H') { + YYDEBUG(21, *YYCURSOR); + if (yych <= 'L') { if (yych <= '/') goto yy13; - if (yych <= '9') goto yy25; - if (yych <= 'G') goto yy13; - goto yy35; - } else { - if (yych <= 'M') { - if (yych <= 'L') goto yy13; - goto yy36; - } else { - if (yych == 'S') goto yy37; - goto yy13; - } - } -yy27: - YYDEBUG(27, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '-') goto yy38; + if (yych <= '9') goto yy20; goto yy13; } else { - if (yych <= '0') goto yy39; - if (yych <= '1') goto yy40; + if (yych <= 'M') goto yy18; + if (yych == 'S') goto yy17; goto yy13; } -yy28: - YYDEBUG(28, *YYCURSOR); +yy22: + YYDEBUG(22, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(23, *YYCURSOR); + if (yych <= '/') goto yy13; + if (yych <= '9') goto yy22; + if (yych == 'S') goto yy17; + goto yy13; +yy24: + YYDEBUG(24, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'T') goto yy14; + goto yy6; +yy25: + YYDEBUG(25, *YYCURSOR); yych = *++YYCURSOR; if (yych <= 'L') { if (yych <= '9') { if (yych <= '/') goto yy13; - goto yy41; + goto yy35; } else { - if (yych == 'D') goto yy21; + if (yych == 'D') goto yy24; goto yy13; } } else { if (yych <= 'W') { - if (yych <= 'M') goto yy22; + if (yych <= 'M') goto yy27; if (yych <= 'V') goto yy13; - goto yy23; } else { - if (yych == 'Y') goto yy24; + if (yych == 'Y') goto yy28; goto yy13; } } +yy26: + YYDEBUG(26, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') goto yy6; + if (yych <= '9') goto yy33; + if (yych == 'T') goto yy14; + goto yy6; +yy27: + YYDEBUG(27, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') goto yy6; + if (yych <= '9') goto yy31; + if (yych == 'T') goto yy14; + goto yy6; +yy28: + YYDEBUG(28, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= '/') goto yy6; + if (yych <= '9') goto yy29; + if (yych == 'T') goto yy14; + goto yy6; yy29: YYDEBUG(29, *YYCURSOR); ++YYCURSOR; if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); yych = *YYCURSOR; YYDEBUG(30, *YYCURSOR); - if (yych <= 'C') { + if (yych <= 'D') { if (yych <= '/') goto yy13; if (yych <= '9') goto yy29; - goto yy13; + if (yych <= 'C') goto yy13; + goto yy24; } else { - if (yych <= 'D') goto yy21; - if (yych == 'W') goto yy23; - goto yy13; + if (yych <= 'M') { + if (yych <= 'L') goto yy13; + goto yy27; + } else { + if (yych == 'W') goto yy26; + goto yy13; + } } yy31: YYDEBUG(31, *YYCURSOR); @@ -526,372 +500,313 @@ yy31: if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); yych = *YYCURSOR; YYDEBUG(32, *YYCURSOR); - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy31; - if (yych == 'D') goto yy21; - goto yy13; + if (yych <= 'C') { + if (yych <= '/') goto yy13; + if (yych <= '9') goto yy31; + goto yy13; + } else { + if (yych <= 'D') goto yy24; + if (yych == 'W') goto yy26; + goto yy13; + } yy33: YYDEBUG(33, *YYCURSOR); ++YYCURSOR; if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); yych = *YYCURSOR; YYDEBUG(34, *YYCURSOR); - if (yych <= 'D') { - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy33; - if (yych <= 'C') goto yy13; - goto yy21; + if (yych <= '/') goto yy13; + if (yych <= '9') goto yy33; + if (yych == 'D') goto yy24; + goto yy13; +yy35: + YYDEBUG(35, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= 'L') { + if (yych <= '9') { + if (yych <= '/') goto yy13; + } else { + if (yych == 'D') goto yy24; + goto yy13; + } } else { - if (yych <= 'M') { - if (yych <= 'L') goto yy13; - goto yy22; + if (yych <= 'W') { + if (yych <= 'M') goto yy27; + if (yych <= 'V') goto yy13; + goto yy26; } else { - if (yych == 'W') goto yy23; + if (yych == 'Y') goto yy28; goto yy13; } } -yy35: - YYDEBUG(35, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy10; - if (yych <= '9') goto yy42; - goto yy10; -yy36: YYDEBUG(36, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy10; - if (yych <= '9') goto yy44; - goto yy10; -yy37: + yych = *++YYCURSOR; + if (yych != '-') goto yy39; YYDEBUG(37, *YYCURSOR); - ++YYCURSOR; - goto yy10; -yy38: - YYDEBUG(38, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '0') goto yy46; - if (yych <= '1') goto yy47; + if (yych <= '0') goto yy40; + if (yych <= '1') goto yy41; goto yy13; +yy38: + YYDEBUG(38, *YYCURSOR); + ++YYCURSOR; + if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); + yych = *YYCURSOR; yy39: YYDEBUG(39, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '0') goto yy13; - if (yych <= '9') goto yy48; - goto yy13; + if (yych <= 'L') { + if (yych <= '9') { + if (yych <= '/') goto yy13; + goto yy38; + } else { + if (yych == 'D') goto yy24; + goto yy13; + } + } else { + if (yych <= 'W') { + if (yych <= 'M') goto yy27; + if (yych <= 'V') goto yy13; + goto yy26; + } else { + if (yych == 'Y') goto yy28; + goto yy13; + } + } yy40: YYDEBUG(40, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '2') goto yy48; + if (yych <= '9') goto yy42; goto yy13; yy41: YYDEBUG(41, *YYCURSOR); yych = *++YYCURSOR; - if (yych == '-') goto yy49; - goto yy51; + if (yych <= '/') goto yy13; + if (yych >= '3') goto yy13; yy42: YYDEBUG(42, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); - yych = *YYCURSOR; + yych = *++YYCURSOR; + if (yych != '-') goto yy13; YYDEBUG(43, *YYCURSOR); - if (yych <= 'L') { - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy42; - goto yy13; - } else { - if (yych <= 'M') goto yy36; - if (yych == 'S') goto yy37; - goto yy13; - } + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych <= '0') goto yy44; + if (yych <= '2') goto yy45; + if (yych <= '3') goto yy46; + goto yy13; yy44: YYDEBUG(44, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych <= '9') goto yy47; + goto yy13; +yy45: YYDEBUG(45, *YYCURSOR); + yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '9') goto yy44; - if (yych == 'S') goto yy37; + if (yych <= '9') goto yy47; goto yy13; yy46: YYDEBUG(46, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '0') goto yy13; - if (yych <= '9') goto yy52; - goto yy13; + if (yych <= '/') goto yy13; + if (yych >= '2') goto yy13; yy47: YYDEBUG(47, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '2') goto yy52; - goto yy13; -yy48: + if (yych != 'T') goto yy13; YYDEBUG(48, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '0') goto yy53; - if (yych <= '2') goto yy54; - if (yych <= '3') goto yy55; + if (yych <= '1') goto yy49; + if (yych <= '2') goto yy50; goto yy13; yy49: YYDEBUG(49, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '0') goto yy56; - if (yych <= '1') goto yy57; + if (yych <= '9') goto yy51; goto yy13; yy50: YYDEBUG(50, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); - yych = *YYCURSOR; + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych >= '5') goto yy13; yy51: YYDEBUG(51, *YYCURSOR); - if (yych <= 'L') { - if (yych <= '9') { - if (yych <= '/') goto yy13; - goto yy50; - } else { - if (yych == 'D') goto yy21; - goto yy13; - } - } else { - if (yych <= 'W') { - if (yych <= 'M') goto yy22; - if (yych <= 'V') goto yy13; - goto yy23; - } else { - if (yych == 'Y') goto yy24; - goto yy13; - } - } -yy52: + yych = *++YYCURSOR; + if (yych != ':') goto yy13; YYDEBUG(52, *YYCURSOR); yych = *++YYCURSOR; - if (yych == '-') goto yy58; - goto yy13; -yy53: + if (yych <= '/') goto yy13; + if (yych >= '6') goto yy13; YYDEBUG(53, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '0') goto yy13; - if (yych <= '9') goto yy59; - goto yy13; -yy54: + if (yych <= '/') goto yy13; + if (yych >= ':') goto yy13; YYDEBUG(54, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy59; - goto yy13; -yy55: + if (yych != ':') goto yy13; YYDEBUG(55, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '1') goto yy59; - goto yy13; -yy56: + if (yych >= '6') goto yy13; YYDEBUG(56, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '9') goto yy60; - goto yy13; -yy57: + if (yych >= ':') goto yy13; YYDEBUG(57, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '2') goto yy60; - goto yy13; -yy58: + ++YYCURSOR; YYDEBUG(58, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '0') goto yy61; - if (yych <= '2') goto yy62; - if (yych <= '3') goto yy63; - goto yy13; +#line 284 "parse_iso_intervals.re" + { + DEBUG_OUTPUT("combinedrep"); + TIMELIB_INIT; + s->period->y = timelib_get_unsigned_nr((char **) &ptr, 4); + ptr++; + s->period->m = timelib_get_unsigned_nr((char **) &ptr, 2); + ptr++; + s->period->d = timelib_get_unsigned_nr((char **) &ptr, 2); + ptr++; + s->period->h = timelib_get_unsigned_nr((char **) &ptr, 2); + ptr++; + s->period->i = timelib_get_unsigned_nr((char **) &ptr, 2); + ptr++; + s->period->s = timelib_get_unsigned_nr((char **) &ptr, 2); + s->have_period = 1; + TIMELIB_DEINIT; + return TIMELIB_PERIOD; + } +#line 682 "<stdout>" yy59: YYDEBUG(59, *YYCURSOR); yych = *++YYCURSOR; - if (yych == 'T') goto yy64; - goto yy13; -yy60: + if (yych <= '/') goto yy13; + if (yych >= ':') goto yy13; YYDEBUG(60, *YYCURSOR); yych = *++YYCURSOR; - if (yych == '-') goto yy65; - goto yy13; -yy61: + if (yych <= '/') goto yy13; + if (yych >= ':') goto yy13; YYDEBUG(61, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '0') goto yy13; - if (yych <= '9') goto yy66; - goto yy13; + if (yych <= '/') { + if (yych == '-') goto yy64; + goto yy13; + } else { + if (yych <= '0') goto yy62; + if (yych <= '1') goto yy63; + goto yy13; + } yy62: YYDEBUG(62, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy66; + if (yych <= '0') goto yy13; + if (yych <= '9') goto yy85; goto yy13; yy63: YYDEBUG(63, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '1') goto yy66; + if (yych <= '2') goto yy85; goto yy13; yy64: YYDEBUG(64, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '1') goto yy67; - if (yych <= '2') goto yy68; + if (yych <= '0') goto yy65; + if (yych <= '1') goto yy66; goto yy13; yy65: YYDEBUG(65, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '2') goto yy69; - if (yych <= '3') goto yy70; + if (yych <= '0') goto yy13; + if (yych <= '9') goto yy67; goto yy13; yy66: YYDEBUG(66, *YYCURSOR); yych = *++YYCURSOR; - if (yych == 'T') goto yy71; - goto yy13; + if (yych <= '/') goto yy13; + if (yych >= '3') goto yy13; yy67: YYDEBUG(67, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy72; - goto yy13; -yy68: + if (yych != '-') goto yy13; YYDEBUG(68, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '4') goto yy72; + if (yych <= '0') goto yy69; + if (yych <= '2') goto yy70; + if (yych <= '3') goto yy71; goto yy13; yy69: YYDEBUG(69, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy73; + if (yych <= '0') goto yy13; + if (yych <= '9') goto yy72; goto yy13; yy70: YYDEBUG(70, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '1') goto yy73; + if (yych <= '9') goto yy72; goto yy13; yy71: YYDEBUG(71, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '1') goto yy74; - if (yych <= '2') goto yy75; - goto yy13; + if (yych >= '2') goto yy13; yy72: YYDEBUG(72, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '5') goto yy76; - goto yy13; -yy73: + if (yych != 'T') goto yy13; YYDEBUG(73, *YYCURSOR); yych = *++YYCURSOR; - if (yych == 'T') goto yy77; + if (yych <= '/') goto yy13; + if (yych <= '1') goto yy74; + if (yych <= '2') goto yy75; goto yy13; yy74: YYDEBUG(74, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '9') goto yy78; + if (yych <= '9') goto yy76; goto yy13; yy75: YYDEBUG(75, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '4') goto yy78; - goto yy13; + if (yych >= '5') goto yy13; yy76: YYDEBUG(76, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy79; - goto yy13; -yy77: + if (yych != ':') goto yy13; YYDEBUG(77, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '1') goto yy80; - if (yych <= '2') goto yy81; - goto yy13; -yy78: + if (yych >= '6') goto yy13; YYDEBUG(78, *YYCURSOR); yych = *++YYCURSOR; - if (yych == ':') goto yy82; - goto yy13; -yy79: + if (yych <= '/') goto yy13; + if (yych >= ':') goto yy13; YYDEBUG(79, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '5') goto yy83; - goto yy13; -yy80: + if (yych != ':') goto yy13; YYDEBUG(80, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '9') goto yy84; - goto yy13; -yy81: + if (yych >= '6') goto yy13; YYDEBUG(81, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych <= '4') goto yy84; - goto yy13; -yy82: + if (yych >= ':') goto yy13; YYDEBUG(82, *YYCURSOR); yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '5') goto yy85; - goto yy13; + if (yych != 'Z') goto yy13; yy83: YYDEBUG(83, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy86; - goto yy13; -yy84: - YYDEBUG(84, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy87; - goto yy13; -yy85: - YYDEBUG(85, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '9') goto yy88; - goto yy13; -yy86: - YYDEBUG(86, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Z') goto yy89; - goto yy13; -yy87: - YYDEBUG(87, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy13; - if (yych <= '5') goto yy91; - goto yy13; -yy88: - YYDEBUG(88, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy79; - goto yy13; -yy89: - YYDEBUG(89, *YYCURSOR); ++YYCURSOR; - YYDEBUG(90, *YYCURSOR); + YYDEBUG(84, *YYCURSOR); #line 218 "parse_iso_intervals.re" { timelib_time *current; @@ -915,15 +830,54 @@ yy89: TIMELIB_DEINIT; return TIMELIB_ISO_DATE; } -#line 919 "<stdout>" +#line 834 "<stdout>" +yy85: + YYDEBUG(85, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych <= '0') goto yy86; + if (yych <= '2') goto yy87; + if (yych <= '3') goto yy88; + goto yy13; +yy86: + YYDEBUG(86, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '0') goto yy13; + if (yych <= '9') goto yy89; + goto yy13; +yy87: + YYDEBUG(87, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych <= '9') goto yy89; + goto yy13; +yy88: + YYDEBUG(88, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych >= '2') goto yy13; +yy89: + YYDEBUG(89, *YYCURSOR); + yych = *++YYCURSOR; + if (yych != 'T') goto yy13; + YYDEBUG(90, *YYCURSOR); + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych <= '1') goto yy91; + if (yych <= '2') goto yy92; + goto yy13; yy91: YYDEBUG(91, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; - if (yych >= ':') goto yy13; + if (yych <= '9') goto yy93; + goto yy13; +yy92: YYDEBUG(92, *YYCURSOR); yych = *++YYCURSOR; - if (yych != ':') goto yy13; + if (yych <= '/') goto yy13; + if (yych >= '5') goto yy13; +yy93: YYDEBUG(93, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '/') goto yy13; @@ -933,28 +887,38 @@ yy91: if (yych <= '/') goto yy13; if (yych >= ':') goto yy13; YYDEBUG(95, *YYCURSOR); - ++YYCURSOR; + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych >= '6') goto yy13; YYDEBUG(96, *YYCURSOR); -#line 284 "parse_iso_intervals.re" + yych = *++YYCURSOR; + if (yych <= '/') goto yy13; + if (yych >= ':') goto yy13; + YYDEBUG(97, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == 'Z') goto yy83; + goto yy13; +yy98: + YYDEBUG(98, *YYCURSOR); + ++YYCURSOR; + if (YYLIMIT <= YYCURSOR) YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(99, *YYCURSOR); + if (yych <= '/') goto yy100; + if (yych <= '9') goto yy98; +yy100: + YYDEBUG(100, *YYCURSOR); +#line 207 "parse_iso_intervals.re" { - DEBUG_OUTPUT("combinedrep"); + DEBUG_OUTPUT("recurrences"); TIMELIB_INIT; - s->period->y = timelib_get_unsigned_nr((char **) &ptr, 4); - ptr++; - s->period->m = timelib_get_unsigned_nr((char **) &ptr, 2); - ptr++; - s->period->d = timelib_get_unsigned_nr((char **) &ptr, 2); - ptr++; - s->period->h = timelib_get_unsigned_nr((char **) &ptr, 2); ptr++; - s->period->i = timelib_get_unsigned_nr((char **) &ptr, 2); - ptr++; - s->period->s = timelib_get_unsigned_nr((char **) &ptr, 2); - s->have_period = 1; + s->recurrences = timelib_get_unsigned_nr((char **) &ptr, 9); TIMELIB_DEINIT; + s->have_recurrences = 1; return TIMELIB_PERIOD; } -#line 958 "<stdout>" +#line 922 "<stdout>" } #line 319 "parse_iso_intervals.re" @@ -965,7 +929,6 @@ yy91: #define YYMAXFILL 20 - void timelib_strtointerval(char *s, size_t len, timelib_time **begin, timelib_time **end, timelib_rel_time **period, int *recurrences, diff --git a/src/third_party/timelib-2018.03/parse_iso_intervals.re b/src/third_party/timelib-2018.01/parse_iso_intervals.re index 6e863eabf31..cde4475da15 100644 --- a/src/third_party/timelib-2018.03/parse_iso_intervals.re +++ b/src/third_party/timelib-2018.01/parse_iso_intervals.re @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.03/parse_tz.c b/src/third_party/timelib-2018.01/parse_tz.c index 020da3135e0..65a4d0692fd 100644 --- a/src/third_party/timelib-2018.03/parse_tz.c +++ b/src/third_party/timelib-2018.01/parse_tz.c @@ -1,8 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans - * Copyright (c) 2018 MongoDB, Inc. + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -503,6 +502,11 @@ timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, i tmp = timelib_tzinfo_ctor(timezone); version = read_preamble(&tzf, tmp, &type); + if (version == -1) { + *error_code = TIMELIB_ERROR_UNSUPPORTED_VERSION; + timelib_tzinfo_dtor(tmp); + return NULL; + } if (version < 2 || version > 3) { *error_code = TIMELIB_ERROR_UNSUPPORTED_VERSION; timelib_tzinfo_dtor(tmp); @@ -517,7 +521,6 @@ timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, i if (!skip_64bit_preamble(&tzf, tmp)) { /* 64 bit preamble is not in place */ *error_code = TIMELIB_ERROR_CORRUPT_NO_64BIT_PREAMBLE; - timelib_tzinfo_dtor(tmp); return NULL; } read_64bit_header(&tzf, tmp); @@ -604,8 +607,8 @@ static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib /* If there is no transition time, we pick the first one, if that doesn't * exist we return NULL */ if (!tz->bit64.timecnt || !tz->trans) { + *transition_time = 0; if (tz->bit64.typecnt == 1) { - *transition_time = INT64_MIN; return &(tz->type[0]); } return NULL; @@ -616,7 +619,6 @@ static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib * one in case there are only DST entries. Not sure which smartass came up * with this idea in the first though :) */ if (ts < tz->trans[0]) { - *transition_time = INT64_MIN; return &(tz->type[0]); } diff --git a/src/third_party/timelib-2018.03/parse_zoneinfo.c b/src/third_party/timelib-2018.01/parse_zoneinfo.c index 86cbc912d34..977f5abf578 100644 --- a/src/third_party/timelib-2018.03/parse_zoneinfo.c +++ b/src/third_party/timelib-2018.01/parse_zoneinfo.c @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2017-2018 MongoDB, Inc. + * Copyright (c) 2017 MongoDB, Inc. * Copyright (c) 2015 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy @@ -52,6 +52,8 @@ # define TIMELIB_DIR_SEPARATOR "/" #endif +#define TIMELIB_NAME_SEPARATOR "/" + /* Filter out some non-tzdata files and the posix/right databases, if * present. */ static int index_filter(const struct dirent *ent) @@ -123,7 +125,12 @@ static char *read_tzfile(const char *directory, const char *timezone, size_t *le return NULL; } + /* O_BINARY is required to properly read the file on windows */ +#ifdef _WIN32 + fd = open(fname, O_RDONLY | O_BINARY); +#else fd = open(fname, O_RDONLY); +#endif free(fname); if (fd == -1) { @@ -257,7 +264,7 @@ static int create_zone_index(const char *directory, timelib_tzdb *db) struct stat st; const char *leaf = ents[count - 1]->d_name; - snprintf(name, sizeof(name), "%s%s%s%s%s", directory, TIMELIB_DIR_SEPARATOR, top, TIMELIB_DIR_SEPARATOR, leaf); + snprintf(name, sizeof(name), "%s%s%s%s%s", directory, TIMELIB_NAME_SEPARATOR, top, TIMELIB_NAME_SEPARATOR, leaf); if (strlen(name) && stat(name, &st) == 0) { /* Name, relative to the zoneinfo prefix. */ @@ -267,7 +274,7 @@ static int create_zone_index(const char *directory, timelib_tzdb *db) root++; } - snprintf(name, sizeof(name), "%s%s%s", root, *root ? TIMELIB_DIR_SEPARATOR : "", leaf); + snprintf(name, sizeof(name), "%s%s%s", root, *root ? TIMELIB_NAME_SEPARATOR : "", leaf); if (S_ISDIR(st.st_mode)) { if (dirstack_top == dirstack_size) { diff --git a/src/third_party/timelib-2018.03/timelib.c b/src/third_party/timelib-2018.01/timelib.c index fc86619d632..80b51ff4b97 100644 --- a/src/third_party/timelib-2018.03/timelib.c +++ b/src/third_party/timelib-2018.01/timelib.c @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015-2017 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.03/timelib.h b/src/third_party/timelib-2018.01/timelib.h index 9dde21e7fbf..86c3710e50e 100644 --- a/src/third_party/timelib-2018.03/timelib.h +++ b/src/third_party/timelib-2018.01/timelib.h @@ -2,7 +2,6 @@ * The MIT License (MIT) * * Copyright (c) 2015-2019 Derick Rethans - * Copyright (c) 2018 MongoDB, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -322,9 +321,9 @@ typedef struct _timelib_tzdb { # define timelib_free free #endif -#define TIMELIB_VERSION 201803 -#define TIMELIB_EXTENDED_VERSION 20180301 -#define TIMELIB_ASCII_VERSION "2018.03" +#define TIMELIB_VERSION 201801 +#define TIMELIB_EXTENDED_VERSION 20180106 +#define TIMELIB_ASCII_VERSION "2018.01" #define TIMELIB_NONE 0x00 #define TIMELIB_OVERRIDE_TIME 0x01 @@ -650,7 +649,7 @@ void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info * It fetches the right UTC offset that is currently stored in the time * stamp field in 't' ('sse'), and assigns that to the 'z' field and 'dst' * field (whether DST is in effect at the time). It also sets the current - * abbreviation to the 'tz_addr' field, making sure that if a value was already + * abbrevation to the 'tz_addr' field, making sure that if a value was already * set it was freed. * * The time zone information in 'tz' is *not* duplicated into the 't' field so diff --git a/src/third_party/timelib-2018.01/timelib.m4 b/src/third_party/timelib-2018.01/timelib.m4 new file mode 100644 index 00000000000..ad21eab38ad --- /dev/null +++ b/src/third_party/timelib-2018.01/timelib.m4 @@ -0,0 +1,80 @@ +dnl +dnl TL_DEF_HAVE(what [, why]) +dnl +dnl Generates 'AC_DEFINE(HAVE_WHAT, 1, [WHY])' +dnl +AC_DEFUN([TL_DEF_HAVE],[AC_DEFINE([HAVE_]translit($1,a-z_.-,A-Z___),1,[ $2 ])])dnl + +dnl +dnl TL_CHECK_INT_TYPE(type) +dnl +AC_DEFUN([TL_CHECK_INT_TYPE],[ +AC_CACHE_CHECK([for $1], ac_cv_int_type_$1, [ +AC_TRY_COMPILE([ +#if HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#if HAVE_INTTYPES_H +# include <inttypes.h> +#elif HAVE_STDINT_H +# include <stdint.h> +#endif], +[if (($1 *) 0) + return 0; +if (sizeof ($1)) + return 0; +], [ac_cv_int_type_$1=yes], [ac_cv_int_type_$1=no]) +]) +if test "$ac_cv_int_type_$1" = "yes"; then + TL_DEF_HAVE($1, [Define if $1 type is present.]) +fi +])dnl + +dnl +dnl AC_TIMELIB_C_BIGENDIAN +dnl Replacement macro for AC_C_BIGENDIAN +dnl +AC_DEFUN([AC_TIMELIB_C_BIGENDIAN], +[AC_CACHE_CHECK([whether byte ordering is bigendian], ac_cv_c_bigendian_php, + [ + ac_cv_c_bigendian_php=unknown + AC_TRY_RUN( + [ +int main(void) +{ + short one = 1; + char *cp = (char *)&one; + + if (*cp == 0) { + return(0); + } else { + return(1); + } +} + ], [ac_cv_c_bigendian_php=yes], [ac_cv_c_bigendian_php=no], [ac_cv_c_bigendian_php=unknown]) + ]) + if test $ac_cv_c_bigendian_php = yes; then + AC_DEFINE(WORDS_BIGENDIAN, [], [Define if processor uses big-endian word]) + fi +])dnl + +dnl Check for types, sizes, etc. needed by timelib +AC_CHECK_SIZEOF(long, 8) +AC_CHECK_SIZEOF(int, 4) +TL_CHECK_INT_TYPE(int32_t) +TL_CHECK_INT_TYPE(uint32_t) + +dnl Check for headers needed by timelib +AC_CHECK_HEADERS([ \ +sys/time.h \ +sys/types.h \ +stdint.h \ +dirent.h \ +string.h \ +strings.h \ +unistd.h \ +io.h +]) + +dnl Check for strtoll, atoll +AC_CHECK_FUNCS(strtoll atoll strftime gettimeofday) diff --git a/src/third_party/timelib-2018.03/timelib_private.h b/src/third_party/timelib-2018.01/timelib_private.h index 586f3d70dae..b2116e63a22 100644 --- a/src/third_party/timelib-2018.03/timelib_private.h +++ b/src/third_party/timelib-2018.01/timelib_private.h @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -39,7 +39,13 @@ # endif #endif -#include <string.h> +#ifdef HAVE_STRING_H +# include <string.h> +#endif + +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -62,7 +68,10 @@ #endif #include <stdio.h> + +#if HAVE_LIMITS_H #include <limits.h> +#endif #define TIMELIB_SECOND 1 #define TIMELIB_MINUTE 2 diff --git a/src/third_party/timelib-2018.03/timezonedb.h b/src/third_party/timelib-2018.01/timezonedb.h index f00bfd47dfb..f00bfd47dfb 100644 --- a/src/third_party/timelib-2018.03/timezonedb.h +++ b/src/third_party/timelib-2018.01/timezonedb.h diff --git a/src/third_party/timelib-2018.03/timezonemap.h b/src/third_party/timelib-2018.01/timezonemap.h index c21280bca0e..c21280bca0e 100644 --- a/src/third_party/timelib-2018.03/timezonemap.h +++ b/src/third_party/timelib-2018.01/timezonemap.h diff --git a/src/third_party/timelib-2018.03/tm2unixtime.c b/src/third_party/timelib-2018.01/tm2unixtime.c index 15923c18cb0..bfb9ba1d2be 100644 --- a/src/third_party/timelib-2018.03/tm2unixtime.c +++ b/src/third_party/timelib-2018.01/tm2unixtime.c @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -33,6 +33,18 @@ static int month_tab[12] = { 0, 31, 59, 90, 120, 151, 181, 212, 24 static int days_in_month_leap[13] = { 31, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; static int days_in_month[13] = { 31, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; +static void do_range_limit_fraction(timelib_sll *fraction, timelib_sll *seconds) +{ + if (*fraction < 0) { + *fraction += 1000000; + *seconds -= 1; + } + if (*fraction >= 1000000) { + *fraction -= 1000000; + *seconds += 1; + } +} + static void do_range_limit(timelib_sll start, timelib_sll end, timelib_sll adj, timelib_sll *a, timelib_sll *b) { if (*a < start) { @@ -182,7 +194,7 @@ static void do_adjust_for_weekday(timelib_time* time) void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) { - do_range_limit(0, 1000000, 1000000, &rt->us, &rt->s); + do_range_limit_fraction(&rt->us, &rt->s); do_range_limit(0, 60, 60, &rt->s, &rt->i); do_range_limit(0, 60, 60, &rt->i, &rt->h); do_range_limit(0, 24, 24, &rt->h, &rt->d); @@ -222,7 +234,7 @@ static void magic_date_calc(timelib_time *time) void timelib_do_normalize(timelib_time* time) { - if (time->us != TIMELIB_UNSET) do_range_limit(0, 1000000, 1000000, &time->us, &time->s); + if (time->us != TIMELIB_UNSET) do_range_limit_fraction(&time->us, &time->s); if (time->s != TIMELIB_UNSET) do_range_limit(0, 60, 60, &time->s, &time->i); if (time->s != TIMELIB_UNSET) do_range_limit(0, 60, 60, &time->i, &time->h); if (time->s != TIMELIB_UNSET) do_range_limit(0, 24, 24, &time->h, &time->d); diff --git a/src/third_party/timelib-2018.03/unixtime2tm.c b/src/third_party/timelib-2018.01/unixtime2tm.c index 3dcd5e75b34..98c4f9b32b9 100644 --- a/src/third_party/timelib-2018.03/unixtime2tm.c +++ b/src/third_party/timelib-2018.01/unixtime2tm.c @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2015-2019 Derick Rethans + * Copyright (c) 2015 Derick Rethans * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/third_party/timelib-2018.03/win_dirent.h b/src/third_party/timelib-2018.01/win_dirent.h index a7063b05d9d..988634dabf6 100644 --- a/src/third_party/timelib-2018.03/win_dirent.h +++ b/src/third_party/timelib-2018.01/win_dirent.h @@ -342,7 +342,7 @@ _wopendir( dirp->cached = 0; /* Compute the length of full path plus zero terminator - * + * * Note that on WinRT there's no way to convert relative paths * into absolute paths, so just assume its an absolute path. */ @@ -360,7 +360,7 @@ _wopendir( * Convert relative directory name to an absolute one. This * allows rewinddir() to function correctly even when current * working directory is changed between opendir() and rewinddir(). - * + * * Note that on WinRT there's no way to convert relative paths * into absolute paths, so just assume its an absolute path. */ @@ -444,11 +444,11 @@ _wreaddir( if (datap) { size_t n; DWORD attr; - + /* Pointer to directory entry to return */ entp = &dirp->ent; - /* + /* * Copy file name as wide-character string. If the file name is too * long to fit in to the destination buffer, then truncate file name * to PATH_MAX characters and zero-terminate the buffer. @@ -606,12 +606,12 @@ dirent_next( return p; } -/* +/* * Open directory stream using plain old C-string. */ static DIR* opendir( - const char *dirname) + const char *dirname) { struct DIR *dirp; int error; @@ -643,7 +643,7 @@ opendir( } } else { - /* + /* * Cannot convert file name to wide-character string. This * occurs if the string contains invalid multi-byte sequences or * the output buffer is too small to contain the resulting @@ -681,7 +681,7 @@ opendir( */ static struct dirent* readdir( - DIR *dirp) + DIR *dirp) { WIN32_FIND_DATAW *datap; struct dirent *entp; @@ -696,7 +696,7 @@ readdir( error = dirent_wcstombs_s( &n, dirp->ent.d_name, PATH_MAX, datap->cFileName, PATH_MAX); - /* + /* * If the file name cannot be represented by a multi-byte string, * then attempt to use old 8+3 file name. This allows traditional * Unix-code to access some file names despite of unicode @@ -708,7 +708,7 @@ readdir( */ if (error && datap->cAlternateFileName[0] != '\0') { error = dirent_wcstombs_s( - &n, dirp->ent.d_name, PATH_MAX, + &n, dirp->ent.d_name, PATH_MAX, datap->cAlternateFileName, PATH_MAX); } @@ -736,7 +736,7 @@ readdir( entp->d_reclen = sizeof (struct dirent); } else { - /* + /* * Cannot convert file name to multi-byte string so construct * an errornous directory entry and return that. Note that * we cannot return NULL as that would stop the processing @@ -764,7 +764,7 @@ readdir( */ static int closedir( - DIR *dirp) + DIR *dirp) { int ok; if (dirp) { @@ -791,7 +791,7 @@ closedir( */ static void rewinddir( - DIR* dirp) + DIR* dirp) { /* Rewind wide-character string directory stream */ _wrewinddir (dirp->wdirp); @@ -926,3 +926,4 @@ dirent_set_errno( } #endif #endif /*DIRENT_H*/ + diff --git a/src/third_party/timelib-2018.03/zones/Makefile b/src/third_party/timelib-2018.01/zones/Makefile index fb09c997cc2..db1c110a0fd 100644 --- a/src/third_party/timelib-2018.03/zones/Makefile +++ b/src/third_party/timelib-2018.01/zones/Makefile @@ -84,32 +84,32 @@ release-php-clean: release-php-clone: release-php-clean git clone git@git.php.net:php-src.git /tmp/tz-tmp -release-php-commit-73: timezonedb.tgz +release-php-commit-72: timezonedb.tgz $(eval VERSION := $(shell cat version-info.txt | tail -n 1)) $(eval TZVERSION := $(shell cat version-info.txt | head -n 1)) - cd /tmp/tz-tmp; git checkout PHP-7.3 + cd /tmp/tz-tmp; git checkout PHP-7.2 cp timezonedb.h /tmp/tz-tmp/ext/date/lib cd /tmp/tz-tmp; git commit -m "Updated to version $(VERSION) ($(TZVERSION))" ext/date/lib/timezonedb.h -release-php-commit-74: timezonedb.tgz release-php-commit-73 +release-php-commit-73: timezonedb.tgz release-php-commit-72 $(eval VERSION := $(shell cat version-info.txt | tail -n 1)) $(eval TZVERSION := $(shell cat version-info.txt | head -n 1)) - cd /tmp/tz-tmp; git checkout PHP-7.4 - cd /tmp/tz-tmp; git merge PHP-7.3 --strategy=ours -m "Empty merge" + cd /tmp/tz-tmp; git checkout PHP-7.3 + cd /tmp/tz-tmp; git merge PHP-7.2 --strategy=ours -m "Empty merge" cp timezonedb.h /tmp/tz-tmp/ext/date/lib cd /tmp/tz-tmp; git commit -m "Updated to version $(VERSION) ($(TZVERSION))" ext/date/lib/timezonedb.h -release-php-commit-master: timezonedb.tgz release-php-commit-74 +release-php-commit-master: timezonedb.tgz release-php-commit-73 $(eval VERSION := $(shell cat version-info.txt | tail -n 1)) $(eval TZVERSION := $(shell cat version-info.txt | head -n 1)) cd /tmp/tz-tmp; git checkout master - cd /tmp/tz-tmp; git merge PHP-7.4 --strategy=ours -m "Empty merge" + cd /tmp/tz-tmp; git merge PHP-7.2 --strategy=ours -m "Empty merge" cp timezonedb.h /tmp/tz-tmp/ext/date/lib cd /tmp/tz-tmp; git commit -m "Updated to version $(VERSION) ($(TZVERSION))" ext/date/lib/timezonedb.h -release-php-commit: release-php-clone release-php-commit-73 release-php-commit-74 release-php-commit-master +release-php-commit: release-php-clone release-php-commit-72 release-php-commit-73 release-php-commit-master release-php-push: release-php-commit - cd /tmp/tz-tmp; git push origin PHP-7.3 PHP-7.4 master + cd /tmp/tz-tmp; git push origin PHP-7.2 PHP-7.3 master release-php: release-php-clean release-php-clone release-php-commit release-php-push diff --git a/src/third_party/timelib-2018.03/zones/README.rst b/src/third_party/timelib-2018.01/zones/README.rst index a192b0b2a8e..a192b0b2a8e 100644 --- a/src/third_party/timelib-2018.03/zones/README.rst +++ b/src/third_party/timelib-2018.01/zones/README.rst diff --git a/src/third_party/timelib-2018.03/zones/build-idx.php b/src/third_party/timelib-2018.01/zones/build-idx.php index e5953a1c8cd..e5953a1c8cd 100644 --- a/src/third_party/timelib-2018.03/zones/build-idx.php +++ b/src/third_party/timelib-2018.01/zones/build-idx.php diff --git a/src/third_party/timelib-2018.03/zones/create-entry.php b/src/third_party/timelib-2018.01/zones/create-entry.php index b0e9c478222..b0e9c478222 100644 --- a/src/third_party/timelib-2018.03/zones/create-entry.php +++ b/src/third_party/timelib-2018.01/zones/create-entry.php diff --git a/src/third_party/timelib-2018.03/zones/create_dot_h_file.php b/src/third_party/timelib-2018.01/zones/create_dot_h_file.php index 96154c89876..96154c89876 100644 --- a/src/third_party/timelib-2018.03/zones/create_dot_h_file.php +++ b/src/third_party/timelib-2018.01/zones/create_dot_h_file.php diff --git a/src/third_party/timelib-2018.03/zones/sort-index.php b/src/third_party/timelib-2018.01/zones/sort-index.php index 3982b453484..d6f9496e2f2 100644 --- a/src/third_party/timelib-2018.03/zones/sort-index.php +++ b/src/third_party/timelib-2018.01/zones/sort-index.php @@ -10,7 +10,7 @@ $na = $ma[1]; preg_match('@"([^"]+)"@', $b, $mb); $nb = $mb[1]; - + $val = strcasecmp($na, $nb); return $val; } diff --git a/src/third_party/timelib-2018.03/zones/update-package-version.php b/src/third_party/timelib-2018.01/zones/update-package-version.php index 6fb25521586..6fb25521586 100644 --- a/src/third_party/timelib-2018.03/zones/update-package-version.php +++ b/src/third_party/timelib-2018.01/zones/update-package-version.php diff --git a/src/third_party/timelib-2018.03/zones/update-package-xml.php b/src/third_party/timelib-2018.01/zones/update-package-xml.php index ce5c774a7cc..ce5c774a7cc 100644 --- a/src/third_party/timelib-2018.03/zones/update-package-xml.php +++ b/src/third_party/timelib-2018.01/zones/update-package-xml.php diff --git a/src/third_party/timelib-2018.03/parse_date.c b/src/third_party/timelib-2018.03/parse_date.c deleted file mode 100644 index 085a94ace7d..00000000000 --- a/src/third_party/timelib-2018.03/parse_date.c +++ /dev/null @@ -1,22825 +0,0 @@ -/* Generated by re2c 1.3 on Thu Jun 18 21:25:29 2020 */ -#line 1 "parse_date.re" -/* - * The MIT License (MIT) - * - * Copyright (c) 2015-2019 Derick Rethans - * Copyright (c) 2018 MongoDB, Inc. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#include "timelib.h" -#include "timelib_private.h" - -#include <ctype.h> -#include <math.h> -#include <assert.h> - -#if defined(_MSC_VER) -# define strtoll(s, f, b) _atoi64(s) -#elif !defined(HAVE_STRTOLL) -# if defined(HAVE_ATOLL) -# define strtoll(s, f, b) atoll(s) -# else -# define strtoll(s, f, b) strtol(s, f, b) -# endif -#endif - -#define EOI 257 -#define TIME 258 -#define DATE 259 - -#define TIMELIB_XMLRPC_SOAP 260 -#define TIMELIB_TIME12 261 -#define TIMELIB_TIME24 262 -#define TIMELIB_GNU_NOCOLON 263 -#define TIMELIB_GNU_NOCOLON_TZ 264 -#define TIMELIB_ISO_NOCOLON 265 - -#define TIMELIB_AMERICAN 266 -#define TIMELIB_ISO_DATE 267 -#define TIMELIB_DATE_FULL 268 -#define TIMELIB_DATE_TEXT 269 -#define TIMELIB_DATE_NOCOLON 270 -#define TIMELIB_PG_YEARDAY 271 -#define TIMELIB_PG_TEXT 272 -#define TIMELIB_PG_REVERSE 273 -#define TIMELIB_CLF 274 -#define TIMELIB_DATE_NO_DAY 275 -#define TIMELIB_SHORTDATE_WITH_TIME 276 -#define TIMELIB_DATE_FULL_POINTED 277 -#define TIMELIB_TIME24_WITH_ZONE 278 -#define TIMELIB_ISO_WEEK 279 -#define TIMELIB_LF_DAY_OF_MONTH 280 -#define TIMELIB_WEEK_DAY_OF_MONTH 281 - -#define TIMELIB_TIMEZONE 300 -#define TIMELIB_AGO 301 - -#define TIMELIB_RELATIVE 310 - -#define TIMELIB_ERROR 999 - -/* Some compilers like AIX, defines uchar in sys/types.h */ -#undef uchar -typedef unsigned char uchar; - -#define BSIZE 8192 - -#define YYCTYPE uchar -#define YYCURSOR cursor -#define YYLIMIT s->lim -#define YYMARKER s->ptr -#define YYFILL(n) return EOI; - -#define RET(i) {s->cur = cursor; return i;} - -#define timelib_string_free timelib_free - -#define TIMELIB_HAVE_TIME() { if (s->time->have_time) { add_error(s, TIMELIB_ERR_DOUBLE_TIME, "Double time specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_time = 1; s->time->h = 0; s->time->i = 0; s->time->s = 0; s->time->us = 0; } } -#define TIMELIB_UNHAVE_TIME() { s->time->have_time = 0; s->time->h = 0; s->time->i = 0; s->time->s = 0; s->time->us = 0; } -#define TIMELIB_HAVE_DATE() { if (s->time->have_date) { add_error(s, TIMELIB_ERR_DOUBLE_DATE, "Double date specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_date = 1; } } -#define TIMELIB_UNHAVE_DATE() { s->time->have_date = 0; s->time->d = 0; s->time->m = 0; s->time->y = 0; } -#define TIMELIB_HAVE_RELATIVE() { s->time->have_relative = 1; } -#define TIMELIB_HAVE_WEEKDAY_RELATIVE() { s->time->have_relative = 1; s->time->relative.have_weekday_relative = 1; } -#define TIMELIB_HAVE_SPECIAL_RELATIVE() { s->time->have_relative = 1; s->time->relative.have_special_relative = 1; } -#define TIMELIB_HAVE_TZ() { s->cur = cursor; if (s->time->have_zone) { s->time->have_zone > 1 ? add_error(s, TIMELIB_ERR_DOUBLE_TZ, "Double timezone specification") : add_warning(s, TIMELIB_WARN_DOUBLE_TZ, "Double timezone specification"); timelib_string_free(str); s->time->have_zone++; return TIMELIB_ERROR; } else { s->time->have_zone++; } } - -#define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str -#define TIMELIB_DEINIT timelib_string_free(str) -#define TIMELIB_ADJUST_RELATIVE_WEEKDAY() if (in->time.have_weekday_relative && (in.rel.d > 0)) { in.rel.d -= 7; } - -#define TIMELIB_PROCESS_YEAR(x, l) { \ - if (((x) == TIMELIB_UNSET) || ((l) >= 4)) { \ - /* (x) = 0; */ \ - } else if ((x) < 100) { \ - if ((x) < 70) { \ - (x) += 2000; \ - } else { \ - (x) += 1900; \ - } \ - } \ -} - -#ifdef DEBUG_PARSER -#define DEBUG_OUTPUT(s) printf("%s\n", s); -#define YYDEBUG(s,c) { if (s != -1) { printf("state: %d ", s); printf("[%c]\n", c); } } -#else -#define DEBUG_OUTPUT(s) -#define YYDEBUG(s,c) -#endif - -typedef struct _timelib_elems { - unsigned int c; /* Number of elements */ - char **v; /* Values */ -} timelib_elems; - -typedef struct _Scanner { - int fd; - uchar *lim, *str, *ptr, *cur, *tok, *pos; - unsigned int line, len; - timelib_error_container *errors; - - timelib_time *time; - const timelib_tzdb *tzdb; -} Scanner; - -typedef struct _timelib_lookup_table { - const char *name; - int type; - int value; -} timelib_lookup_table; - -typedef struct _timelib_relunit { - const char *name; - int unit; - int multiplier; -} timelib_relunit; - -/* The timezone table. */ -static const timelib_tz_lookup_table timelib_timezone_lookup[] = { -#include "timezonemap.h" - { NULL, 0, 0, NULL }, -}; - -static const timelib_tz_lookup_table timelib_timezone_fallbackmap[] = { -#include "fallbackmap.h" - { NULL, 0, 0, NULL }, -}; - -static const timelib_tz_lookup_table timelib_timezone_utc[] = { - { "utc", 0, 0, "UTC" }, -}; - -static timelib_relunit const timelib_relunit_lookup[] = { - { "ms", TIMELIB_MICROSEC, 1000 }, - { "msec", TIMELIB_MICROSEC, 1000 }, - { "msecs", TIMELIB_MICROSEC, 1000 }, - { "millisecond", TIMELIB_MICROSEC, 1000 }, - { "milliseconds", TIMELIB_MICROSEC, 1000 }, - { "µs", TIMELIB_MICROSEC, 1 }, - { "usec", TIMELIB_MICROSEC, 1 }, - { "usecs", TIMELIB_MICROSEC, 1 }, - { "µsec", TIMELIB_MICROSEC, 1 }, - { "µsecs", TIMELIB_MICROSEC, 1 }, - { "microsecond", TIMELIB_MICROSEC, 1 }, - { "microseconds", TIMELIB_MICROSEC, 1 }, - { "sec", TIMELIB_SECOND, 1 }, - { "secs", TIMELIB_SECOND, 1 }, - { "second", TIMELIB_SECOND, 1 }, - { "seconds", TIMELIB_SECOND, 1 }, - { "min", TIMELIB_MINUTE, 1 }, - { "mins", TIMELIB_MINUTE, 1 }, - { "minute", TIMELIB_MINUTE, 1 }, - { "minutes", TIMELIB_MINUTE, 1 }, - { "hour", TIMELIB_HOUR, 1 }, - { "hours", TIMELIB_HOUR, 1 }, - { "day", TIMELIB_DAY, 1 }, - { "days", TIMELIB_DAY, 1 }, - { "week", TIMELIB_DAY, 7 }, - { "weeks", TIMELIB_DAY, 7 }, - { "fortnight", TIMELIB_DAY, 14 }, - { "fortnights", TIMELIB_DAY, 14 }, - { "forthnight", TIMELIB_DAY, 14 }, - { "forthnights", TIMELIB_DAY, 14 }, - { "month", TIMELIB_MONTH, 1 }, - { "months", TIMELIB_MONTH, 1 }, - { "year", TIMELIB_YEAR, 1 }, - { "years", TIMELIB_YEAR, 1 }, - - { "monday", TIMELIB_WEEKDAY, 1 }, - { "mon", TIMELIB_WEEKDAY, 1 }, - { "tuesday", TIMELIB_WEEKDAY, 2 }, - { "tue", TIMELIB_WEEKDAY, 2 }, - { "wednesday", TIMELIB_WEEKDAY, 3 }, - { "wed", TIMELIB_WEEKDAY, 3 }, - { "thursday", TIMELIB_WEEKDAY, 4 }, - { "thu", TIMELIB_WEEKDAY, 4 }, - { "friday", TIMELIB_WEEKDAY, 5 }, - { "fri", TIMELIB_WEEKDAY, 5 }, - { "saturday", TIMELIB_WEEKDAY, 6 }, - { "sat", TIMELIB_WEEKDAY, 6 }, - { "sunday", TIMELIB_WEEKDAY, 0 }, - { "sun", TIMELIB_WEEKDAY, 0 }, - - { "weekday", TIMELIB_SPECIAL, TIMELIB_SPECIAL_WEEKDAY }, - { "weekdays", TIMELIB_SPECIAL, TIMELIB_SPECIAL_WEEKDAY }, - { NULL, 0, 0 } -}; - -/* The relative text table. */ -static timelib_lookup_table const timelib_reltext_lookup[] = { - { "first", 0, 1 }, - { "next", 0, 1 }, - { "second", 0, 2 }, - { "third", 0, 3 }, - { "fourth", 0, 4 }, - { "fifth", 0, 5 }, - { "sixth", 0, 6 }, - { "seventh", 0, 7 }, - { "eight", 0, 8 }, - { "eighth", 0, 8 }, - { "ninth", 0, 9 }, - { "tenth", 0, 10 }, - { "eleventh", 0, 11 }, - { "twelfth", 0, 12 }, - { "last", 0, -1 }, - { "previous", 0, -1 }, - { "this", 1, 0 }, - { NULL, 1, 0 } -}; - -/* The month table. */ -static timelib_lookup_table const timelib_month_lookup[] = { - { "jan", 0, 1 }, - { "feb", 0, 2 }, - { "mar", 0, 3 }, - { "apr", 0, 4 }, - { "may", 0, 5 }, - { "jun", 0, 6 }, - { "jul", 0, 7 }, - { "aug", 0, 8 }, - { "sep", 0, 9 }, - { "sept", 0, 9 }, - { "oct", 0, 10 }, - { "nov", 0, 11 }, - { "dec", 0, 12 }, - { "i", 0, 1 }, - { "ii", 0, 2 }, - { "iii", 0, 3 }, - { "iv", 0, 4 }, - { "v", 0, 5 }, - { "vi", 0, 6 }, - { "vii", 0, 7 }, - { "viii", 0, 8 }, - { "ix", 0, 9 }, - { "x", 0, 10 }, - { "xi", 0, 11 }, - { "xii", 0, 12 }, - - { "january", 0, 1 }, - { "february", 0, 2 }, - { "march", 0, 3 }, - { "april", 0, 4 }, - { "may", 0, 5 }, - { "june", 0, 6 }, - { "july", 0, 7 }, - { "august", 0, 8 }, - { "september", 0, 9 }, - { "october", 0, 10 }, - { "november", 0, 11 }, - { "december", 0, 12 }, - { NULL, 0, 0 } -}; - -#if 0 -static char* timelib_ltrim(char *s) -{ - char *ptr = s; - while (ptr[0] == ' ' || ptr[0] == '\t') { - ptr++; - } - return ptr; -} -#endif - -#if 0 -uchar *fill(Scanner *s, uchar *cursor){ - if(!s->eof){ - unsigned int cnt = s->tok - s->bot; - if(cnt){ - memcpy(s->bot, s->tok, s->lim - s->tok); - s->tok = s->bot; - s->ptr -= cnt; - cursor -= cnt; - s->pos -= cnt; - s->lim -= cnt; - } - if((s->top - s->lim) < BSIZE){ - uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar)); - memcpy(buf, s->tok, s->lim - s->tok); - s->tok = buf; - s->ptr = &buf[s->ptr - s->bot]; - cursor = &buf[cursor - s->bot]; - s->pos = &buf[s->pos - s->bot]; - s->lim = &buf[s->lim - s->bot]; - s->top = &s->lim[BSIZE]; - timelib_free(s->bot); - s->bot = buf; - } - if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){ - s->eof = &s->lim[cnt]; *(s->eof)++ = '\n'; - } - s->lim += cnt; - } - return cursor; -} -#endif - -static void add_warning(Scanner *s, int error_code, char *error) -{ - s->errors->warning_count++; - s->errors->warning_messages = timelib_realloc(s->errors->warning_messages, s->errors->warning_count * sizeof(timelib_error_message)); - s->errors->warning_messages[s->errors->warning_count - 1].error_code = error_code; - s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; - s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; - s->errors->warning_messages[s->errors->warning_count - 1].message = timelib_strdup(error); -} - -static void add_error(Scanner *s, int error_code, char *error) -{ - s->errors->error_count++; - s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * sizeof(timelib_error_message)); - s->errors->error_messages[s->errors->error_count - 1].error_code = error_code; - s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; - s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; - s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error); -} - -static void add_pbf_warning(Scanner *s, int error_code, char *error, char *sptr, char *cptr) -{ - s->errors->warning_count++; - s->errors->warning_messages = timelib_realloc(s->errors->warning_messages, s->errors->warning_count * sizeof(timelib_error_message)); - s->errors->warning_messages[s->errors->warning_count - 1].error_code = error_code; - s->errors->warning_messages[s->errors->warning_count - 1].position = cptr - sptr; - s->errors->warning_messages[s->errors->warning_count - 1].character = *cptr; - s->errors->warning_messages[s->errors->warning_count - 1].message = timelib_strdup(error); -} - -static void add_pbf_error(Scanner *s, int error_code, char *error, char *sptr, char *cptr) -{ - s->errors->error_count++; - s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * sizeof(timelib_error_message)); - s->errors->error_messages[s->errors->error_count - 1].error_code = error_code; - s->errors->error_messages[s->errors->error_count - 1].position = cptr - sptr; - s->errors->error_messages[s->errors->error_count - 1].character = *cptr; - s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error); -} - -static timelib_sll timelib_meridian(char **ptr, timelib_sll h) -{ - timelib_sll retval = 0; - - while (!strchr("AaPp", **ptr)) { - ++*ptr; - } - if (**ptr == 'a' || **ptr == 'A') { - if (h == 12) { - retval = -12; - } - } else if (h != 12) { - retval = 12; - } - ++*ptr; - if (**ptr == '.') { - ++*ptr; - } - if (**ptr == 'M' || **ptr == 'm') { - ++*ptr; - } - if (**ptr == '.') { - ++*ptr; - } - return retval; -} - -static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h) -{ - timelib_sll retval = 0; - - while (**ptr && !strchr("AaPp", **ptr)) { - ++*ptr; - } - if(!**ptr) { - return TIMELIB_UNSET; - } - if (**ptr == 'a' || **ptr == 'A') { - if (h == 12) { - retval = -12; - } - } else if (h != 12) { - retval = 12; - } - ++*ptr; - if (**ptr == '.') { - ++*ptr; - if (**ptr != 'm' && **ptr != 'M') { - return TIMELIB_UNSET; - } - ++*ptr; - if (**ptr != '.' ) { - return TIMELIB_UNSET; - } - ++*ptr; - } else if (**ptr == 'm' || **ptr == 'M') { - ++*ptr; - } else { - return TIMELIB_UNSET; - } - return retval; -} - -static char *timelib_string(Scanner *s) -{ - char *tmp = timelib_calloc(1, s->cur - s->tok + 1); - memcpy(tmp, s->tok, s->cur - s->tok); - - return tmp; -} - -static timelib_sll timelib_get_nr_ex(char **ptr, int max_length, int *scanned_length) -{ - char *begin, *end, *str; - timelib_sll tmp_nr = TIMELIB_UNSET; - int len = 0; - - while ((**ptr < '0') || (**ptr > '9')) { - if (**ptr == '\0') { - return TIMELIB_UNSET; - } - ++*ptr; - } - begin = *ptr; - while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { - ++*ptr; - ++len; - } - end = *ptr; - if (scanned_length) { - *scanned_length = end - begin; - } - str = timelib_calloc(1, end - begin + 1); - memcpy(str, begin, end - begin); - tmp_nr = strtoll(str, NULL, 10); - timelib_free(str); - return tmp_nr; -} - -static timelib_sll timelib_get_nr(char **ptr, int max_length) -{ - return timelib_get_nr_ex(ptr, max_length, NULL); -} - -static void timelib_skip_day_suffix(char **ptr) -{ - if (isspace(**ptr)) { - return; - } - if (!timelib_strncasecmp(*ptr, "nd", 2) || !timelib_strncasecmp(*ptr, "rd", 2) ||!timelib_strncasecmp(*ptr, "st", 2) || !timelib_strncasecmp(*ptr, "th", 2)) { - *ptr += 2; - } -} - -static timelib_sll timelib_get_frac_nr(char **ptr, int max_length) -{ - char *begin, *end, *str; - double tmp_nr = TIMELIB_UNSET; - int len = 0; - - while ((**ptr != '.') && (**ptr != ':') && ((**ptr < '0') || (**ptr > '9'))) { - if (**ptr == '\0') { - return TIMELIB_UNSET; - } - ++*ptr; - } - begin = *ptr; - while (((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) && len < max_length) { - ++*ptr; - ++len; - } - end = *ptr; - str = timelib_calloc(1, end - begin); - memcpy(str, begin + 1, end - begin - 1); - tmp_nr = strtod(str, NULL) * pow(10, 7 - (end - begin)); - timelib_free(str); - return tmp_nr; -} - -static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length) -{ - timelib_ull dir = 1; - - while (((**ptr < '0') || (**ptr > '9')) && (**ptr != '+') && (**ptr != '-')) { - if (**ptr == '\0') { - return TIMELIB_UNSET; - } - ++*ptr; - } - - while (**ptr == '+' || **ptr == '-') - { - if (**ptr == '-') { - dir *= -1; - } - ++*ptr; - } - return dir * timelib_get_nr(ptr, max_length); -} - -static timelib_sll timelib_lookup_relative_text(char **ptr, int *behavior) -{ - char *word; - char *begin = *ptr, *end; - timelib_sll value = 0; - const timelib_lookup_table *tp; - - while ((**ptr >= 'A' && **ptr <= 'Z') || (**ptr >= 'a' && **ptr <= 'z')) { - ++*ptr; - } - end = *ptr; - word = timelib_calloc(1, end - begin + 1); - memcpy(word, begin, end - begin); - - for (tp = timelib_reltext_lookup; tp->name; tp++) { - if (timelib_strcasecmp(word, tp->name) == 0) { - value = tp->value; - *behavior = tp->type; - } - } - - timelib_free(word); - return value; -} - -static timelib_sll timelib_get_relative_text(char **ptr, int *behavior) -{ - while (**ptr == ' ' || **ptr == '\t' || **ptr == '-' || **ptr == '/') { - ++*ptr; - } - return timelib_lookup_relative_text(ptr, behavior); -} - -static timelib_long timelib_lookup_month(char **ptr) -{ - char *word; - char *begin = *ptr, *end; - timelib_long value = 0; - const timelib_lookup_table *tp; - - while ((**ptr >= 'A' && **ptr <= 'Z') || (**ptr >= 'a' && **ptr <= 'z')) { - ++*ptr; - } - end = *ptr; - word = timelib_calloc(1, end - begin + 1); - memcpy(word, begin, end - begin); - - for (tp = timelib_month_lookup; tp->name; tp++) { - if (timelib_strcasecmp(word, tp->name) == 0) { - value = tp->value; - } - } - - timelib_free(word); - return value; -} - -static timelib_long timelib_get_month(char **ptr) -{ - while (**ptr == ' ' || **ptr == '\t' || **ptr == '-' || **ptr == '.' || **ptr == '/') { - ++*ptr; - } - return timelib_lookup_month(ptr); -} - -static void timelib_eat_spaces(char **ptr) -{ - while (**ptr == ' ' || **ptr == '\t') { - ++*ptr; - } -} - -static void timelib_eat_until_separator(char **ptr) -{ - ++*ptr; - while (strchr(" \t.,:;/-0123456789", **ptr) == NULL) { - ++*ptr; - } -} - -static const timelib_relunit* timelib_lookup_relunit(char **ptr) -{ - char *word; - char *begin = *ptr, *end; - const timelib_relunit *tp, *value = NULL; - - while (**ptr != '\0' && **ptr != ' ' && **ptr != ',' && **ptr != '\t' && **ptr != ';' && **ptr != ':' && - **ptr != '/' && **ptr != '.' && **ptr != '-' && **ptr != '(' && **ptr != ')' ) { - ++*ptr; - } - end = *ptr; - word = timelib_calloc(1, end - begin + 1); - memcpy(word, begin, end - begin); - - for (tp = timelib_relunit_lookup; tp->name; tp++) { - if (timelib_strcasecmp(word, tp->name) == 0) { - value = tp; - break; - } - } - - timelib_free(word); - return value; -} - -static void timelib_set_relative(char **ptr, timelib_sll amount, int behavior, Scanner *s) -{ - const timelib_relunit* relunit; - - if (!(relunit = timelib_lookup_relunit(ptr))) { - return; - } - - switch (relunit->unit) { - case TIMELIB_MICROSEC: s->time->relative.us += amount * relunit->multiplier; break; - case TIMELIB_SECOND: s->time->relative.s += amount * relunit->multiplier; break; - case TIMELIB_MINUTE: s->time->relative.i += amount * relunit->multiplier; break; - case TIMELIB_HOUR: s->time->relative.h += amount * relunit->multiplier; break; - case TIMELIB_DAY: s->time->relative.d += amount * relunit->multiplier; break; - case TIMELIB_MONTH: s->time->relative.m += amount * relunit->multiplier; break; - case TIMELIB_YEAR: s->time->relative.y += amount * relunit->multiplier; break; - - case TIMELIB_WEEKDAY: - TIMELIB_HAVE_WEEKDAY_RELATIVE(); - TIMELIB_UNHAVE_TIME(); - s->time->relative.d += (amount > 0 ? amount - 1 : amount) * 7; - s->time->relative.weekday = relunit->multiplier; - s->time->relative.weekday_behavior = behavior; - break; - - case TIMELIB_SPECIAL: - TIMELIB_HAVE_SPECIAL_RELATIVE(); - TIMELIB_UNHAVE_TIME(); - s->time->relative.special.type = relunit->multiplier; - s->time->relative.special.amount = amount; - } -} - -static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst) -{ - int first_found = 0; - const timelib_tz_lookup_table *tp, *first_found_elem = NULL; - const timelib_tz_lookup_table *fmp; - - if (timelib_strcasecmp("utc", word) == 0 || timelib_strcasecmp("gmt", word) == 0) { - return timelib_timezone_utc; - } - - for (tp = timelib_timezone_lookup; tp->name; tp++) { - if (timelib_strcasecmp(word, tp->name) == 0) { - if (!first_found) { - first_found = 1; - first_found_elem = tp; - if (gmtoffset == -1) { - return tp; - } - } - if (tp->gmtoffset == gmtoffset) { - return tp; - } - } - } - if (first_found) { - return first_found_elem; - } - - /* Still didn't find anything, let's find the zone solely based on - * offset/isdst then */ - for (fmp = timelib_timezone_fallbackmap; fmp->name; fmp++) { - if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) { - return fmp; - } - } - return NULL; -} - -static timelib_long timelib_lookup_abbr(char **ptr, int *dst, char **tz_abbr, int *found) -{ - char *word; - char *begin = *ptr, *end; - timelib_long value = 0; - const timelib_tz_lookup_table *tp; - - while (**ptr != '\0' && **ptr != ')' && **ptr != ' ') { - ++*ptr; - } - end = *ptr; - word = timelib_calloc(1, end - begin + 1); - memcpy(word, begin, end - begin); - - if ((tp = abbr_search(word, -1, 0))) { - value = tp->gmtoffset; - *dst = tp->type; - value -= tp->type * 3600; - *found = 1; - } else { - *found = 0; - } - - *tz_abbr = word; - return value; -} - -#define sHOUR(a) (int)(a * 3600) -#define sMIN(a) (int)(a * 60) - -static timelib_long timelib_parse_tz_cor(char **ptr) -{ - char *begin = *ptr, *end; - timelib_long tmp; - - while (isdigit(**ptr) || **ptr == ':') { - ++*ptr; - } - end = *ptr; - switch (end - begin) { - case 1: /* H */ - case 2: /* HH */ - return sHOUR(strtol(begin, NULL, 10)); - break; - case 3: /* H:M */ - case 4: /* H:MM, HH:M, HHMM */ - if (begin[1] == ':') { - tmp = sHOUR(strtol(begin, NULL, 10)) + sMIN(strtol(begin + 2, NULL, 10)); - return tmp; - } else if (begin[2] == ':') { - tmp = sHOUR(strtol(begin, NULL, 10)) + sMIN(strtol(begin + 3, NULL, 10)); - return tmp; - } else { - tmp = strtol(begin, NULL, 10); - return sHOUR(tmp / 100) + sMIN(tmp % 100); - } - case 5: /* HH:MM */ - tmp = sHOUR(strtol(begin, NULL, 10)) + sMIN(strtol(begin + 3, NULL, 10)); - return tmp; - } - return 0; -} - -static timelib_long timelib_parse_tz_minutes(char **ptr, timelib_time *t) -{ - timelib_long retval = TIMELIB_UNSET; - char *begin = *ptr; - - /* First character must be +/- */ - if (**ptr != '+' && **ptr != '-') { - return retval; - } - - ++*ptr; - while (isdigit(**ptr)) { - ++*ptr; - } - - if (*begin == '+') { - t->is_localtime = 1; - t->zone_type = TIMELIB_ZONETYPE_OFFSET; - t->dst = 0; - - retval = sMIN(strtol(begin + 1, NULL, 10)); - } else if (*begin == '-') { - t->is_localtime = 1; - t->zone_type = TIMELIB_ZONETYPE_OFFSET; - t->dst = 0; - - retval = -1 * sMIN(strtol(begin + 1, NULL, 10)); - } - return retval; -} - -timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_wrapper) -{ - timelib_tzinfo *res; - timelib_long retval = 0; - - *tz_not_found = 0; - - while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') { - ++*ptr; - } - if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) { - *ptr += 3; - } - if (**ptr == '+') { - ++*ptr; - t->is_localtime = 1; - t->zone_type = TIMELIB_ZONETYPE_OFFSET; - *tz_not_found = 0; - t->dst = 0; - - retval = timelib_parse_tz_cor(ptr); - } else if (**ptr == '-') { - ++*ptr; - t->is_localtime = 1; - t->zone_type = TIMELIB_ZONETYPE_OFFSET; - *tz_not_found = 0; - t->dst = 0; - - retval = -1 * timelib_parse_tz_cor(ptr); - } else { - int found = 0; - timelib_long offset = 0; - char *tz_abbr; - - t->is_localtime = 1; - - /* First, we lookup by abbreviation only */ - offset = timelib_lookup_abbr(ptr, dst, &tz_abbr, &found); - if (found) { - t->zone_type = TIMELIB_ZONETYPE_ABBR; - timelib_time_tz_abbr_update(t, tz_abbr); - } - - /* Otherwise, we look if we have a TimeZone identifier */ - if (!found || strcmp("UTC", tz_abbr) == 0) { - int dummy_error_code; - - if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { - t->tz_info = res; - t->zone_type = TIMELIB_ZONETYPE_ID; - found++; - } - } - timelib_free(tz_abbr); - *tz_not_found = (found == 0); - retval = offset; - } - while (**ptr == ')') { - ++*ptr; - } - return retval; -} - -#define timelib_split_free(arg) { \ - int i; \ - for (i = 0; i < arg.c; i++) { \ - timelib_free(arg.v[i]); \ - } \ - if (arg.v) { \ - timelib_free(arg.v); \ - } \ -} - -static int scan(Scanner *s, timelib_tz_get_wrapper tz_get_wrapper) -{ - uchar *cursor = s->cur; - char *str, *ptr = NULL; - -std: - s->tok = cursor; - s->len = 0; -#line 1011 "parse_date.re" - - - -#line 892 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept = 0; - static const unsigned char yybm[] = { - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 50, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 50, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 8, 32, 24, 48, 0, - 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 0, 0, 0, 0, 0, 0, - 0, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 64, 0, 0, 0, 0, 0, - 0, 192, 192, 192, 224, 192, 192, 192, - 224, 192, 192, 192, 192, 192, 224, 192, - 192, 192, 224, 224, 224, 192, 192, 192, - 192, 192, 192, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - }; - YYDEBUG(0, *YYCURSOR); - if ((YYLIMIT - YYCURSOR) < 33) YYFILL(33); - yych = *YYCURSOR; - switch (yych) { - case 0x00: - case '\n': goto yy2; - case '\t': - case ' ': goto yy6; - case '(': goto yy8; - case '+': - case '-': goto yy9; - case ',': - case '.': goto yy10; - case '0': goto yy11; - case '1': goto yy12; - case '2': goto yy13; - case '3': goto yy14; - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy15; - case '@': goto yy16; - case 'A': goto yy17; - case 'B': goto yy19; - case 'C': - case 'H': - case 'K': - case 'Q': - case 'R': - case 'U': - case 'Z': goto yy20; - case 'D': goto yy21; - case 'E': goto yy22; - case 'F': goto yy23; - case 'G': goto yy24; - case 'I': goto yy25; - case 'J': goto yy26; - case 'L': goto yy27; - case 'M': goto yy28; - case 'N': goto yy29; - case 'O': goto yy30; - case 'P': goto yy31; - case 'S': goto yy32; - case 'T': goto yy33; - case 'V': goto yy34; - case 'W': goto yy35; - case 'X': goto yy36; - case 'Y': goto yy37; - case 'a': goto yy38; - case 'b': goto yy39; - case 'c': - case 'g': - case 'h': - case 'i': - case 'k': - case 'q': - case 'r': - case 'u': - case 'v': - case 'x': - case 'z': goto yy40; - case 'd': goto yy41; - case 'e': goto yy42; - case 'f': goto yy43; - case 'j': goto yy44; - case 'l': goto yy45; - case 'm': goto yy46; - case 'n': goto yy47; - case 'o': goto yy48; - case 'p': goto yy49; - case 's': goto yy50; - case 't': goto yy51; - case 'w': goto yy52; - case 'y': goto yy53; - default: goto yy4; - } -yy2: - YYDEBUG(2, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(3, *YYCURSOR); -#line 1808 "parse_date.re" - { - s->pos = cursor; s->line++; - goto std; - } -#line 1017 "<stdout>" -yy4: - YYDEBUG(4, *YYCURSOR); - ++YYCURSOR; -yy5: - YYDEBUG(5, *YYCURSOR); -#line 1814 "parse_date.re" - { - add_error(s, TIMELIB_ERR_UNEXPECTED_CHARACTER, "Unexpected character"); - goto std; - } -#line 1028 "<stdout>" -yy6: - YYDEBUG(6, *YYCURSOR); - yyaccept = 0; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 2) { - goto yy54; - } - if (yych <= '/') goto yy7; - if (yych <= '9') goto yy57; -yy7: - YYDEBUG(7, *YYCURSOR); -#line 1803 "parse_date.re" - { - goto std; - } -#line 1044 "<stdout>" -yy8: - YYDEBUG(8, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') goto yy5; - if (yych <= 'Z') goto yy40; - if (yych <= '`') goto yy5; - if (yych <= 'z') goto yy40; - goto yy5; -yy9: - YYDEBUG(9, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 2) { - goto yy54; - } - switch (yych) { - case '+': - case '-': goto yy59; - case '0': - case '1': goto yy61; - case '2': goto yy62; - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy63; - default: goto yy5; - } -yy10: - YYDEBUG(10, *YYCURSOR); - ++YYCURSOR; - goto yy7; -yy11: - YYDEBUG(11, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '`') { - if (yych <= '@') { - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy64; - goto yy5; - } else { - if (yych <= ' ') goto yy66; - if (yych <= ',') goto yy5; - goto yy67; - } - } else { - if (yych <= '0') { - if (yych <= '.') goto yy68; - if (yych <= '/') goto yy69; - goto yy70; - } else { - if (yych <= '9') goto yy71; - if (yych <= ':') goto yy72; - goto yy5; - } - } - } else { - if (yych <= 'G') { - if (yych <= 'D') { - if (yych <= 'A') goto yy66; - if (yych <= 'C') goto yy5; - goto yy66; - } else { - if (yych == 'F') goto yy66; - goto yy5; - } - } else { - if (yych <= 'O') { - if (yych <= 'J') goto yy66; - if (yych <= 'L') goto yy5; - goto yy66; - } else { - if (yych <= 'R') goto yy5; - if (yych <= 'Y') goto yy66; - goto yy5; - } - } - } - } else { - if (yych <= 'n') { - if (yych <= 'g') { - if (yych <= 'd') { - if (yych <= 'a') goto yy66; - if (yych <= 'c') goto yy5; - goto yy66; - } else { - if (yych == 'f') goto yy66; - goto yy5; - } - } else { - if (yych <= 'j') { - if (yych == 'i') goto yy5; - goto yy66; - } else { - if (yych <= 'l') goto yy5; - if (yych <= 'm') goto yy66; - goto yy90; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'r') { - if (yych <= 'o') goto yy66; - if (yych <= 'q') goto yy5; - goto yy91; - } else { - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy66; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy66; - goto yy5; - } else { - if (yych <= 'y') goto yy66; - if (yych == 0xC2) goto yy66; - goto yy5; - } - } - } - } -yy12: - YYDEBUG(12, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '`') { - if (yych <= '@') { - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy95; - goto yy5; - } else { - if (yych <= ' ') goto yy97; - if (yych <= ',') goto yy5; - goto yy67; - } - } else { - if (yych <= '2') { - if (yych <= '.') goto yy98; - if (yych <= '/') goto yy69; - goto yy71; - } else { - if (yych <= '9') goto yy99; - if (yych <= ':') goto yy100; - goto yy5; - } - } - } else { - if (yych <= 'G') { - if (yych <= 'D') { - if (yych <= 'A') goto yy97; - if (yych <= 'C') goto yy5; - goto yy97; - } else { - if (yych == 'F') goto yy97; - goto yy5; - } - } else { - if (yych <= 'P') { - if (yych <= 'J') goto yy97; - if (yych <= 'L') goto yy5; - goto yy97; - } else { - if (yych <= 'R') goto yy5; - if (yych <= 'Y') goto yy97; - goto yy5; - } - } - } - } else { - if (yych <= 'n') { - if (yych <= 'g') { - if (yych <= 'd') { - if (yych <= 'a') goto yy97; - if (yych <= 'c') goto yy5; - goto yy97; - } else { - if (yych == 'f') goto yy97; - goto yy5; - } - } else { - if (yych <= 'j') { - if (yych == 'i') goto yy5; - goto yy97; - } else { - if (yych <= 'l') goto yy5; - if (yych <= 'm') goto yy97; - goto yy90; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'r') { - if (yych <= 'p') goto yy97; - if (yych <= 'q') goto yy5; - goto yy91; - } else { - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy97; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy97; - goto yy5; - } else { - if (yych <= 'y') goto yy97; - if (yych == 0xC2) goto yy97; - goto yy5; - } - } - } - } -yy13: - YYDEBUG(13, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '`') { - if (yych <= '@') { - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy95; - goto yy5; - } else { - if (yych <= ' ') goto yy97; - if (yych <= ',') goto yy5; - goto yy67; - } - } else { - if (yych <= '4') { - if (yych <= '.') goto yy98; - if (yych <= '/') goto yy69; - goto yy99; - } else { - if (yych <= '9') goto yy103; - if (yych <= ':') goto yy100; - goto yy5; - } - } - } else { - if (yych <= 'G') { - if (yych <= 'D') { - if (yych <= 'A') goto yy97; - if (yych <= 'C') goto yy5; - goto yy97; - } else { - if (yych == 'F') goto yy97; - goto yy5; - } - } else { - if (yych <= 'P') { - if (yych <= 'J') goto yy97; - if (yych <= 'L') goto yy5; - goto yy97; - } else { - if (yych <= 'R') goto yy5; - if (yych <= 'Y') goto yy97; - goto yy5; - } - } - } - } else { - if (yych <= 'n') { - if (yych <= 'g') { - if (yych <= 'd') { - if (yych <= 'a') goto yy97; - if (yych <= 'c') goto yy5; - goto yy97; - } else { - if (yych == 'f') goto yy97; - goto yy5; - } - } else { - if (yych <= 'j') { - if (yych == 'i') goto yy5; - goto yy97; - } else { - if (yych <= 'l') goto yy5; - if (yych <= 'm') goto yy97; - goto yy90; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'r') { - if (yych <= 'p') goto yy97; - if (yych <= 'q') goto yy5; - goto yy91; - } else { - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy97; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy97; - goto yy5; - } else { - if (yych <= 'y') goto yy97; - if (yych == 0xC2) goto yy97; - goto yy5; - } - } - } - } -yy14: - YYDEBUG(14, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '`') { - if (yych <= '@') { - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy95; - goto yy5; - } else { - if (yych <= ' ') goto yy97; - if (yych <= ',') goto yy5; - goto yy67; - } - } else { - if (yych <= '1') { - if (yych <= '.') goto yy98; - if (yych <= '/') goto yy69; - goto yy103; - } else { - if (yych <= '9') goto yy104; - if (yych <= ':') goto yy100; - goto yy5; - } - } - } else { - if (yych <= 'G') { - if (yych <= 'D') { - if (yych <= 'A') goto yy97; - if (yych <= 'C') goto yy5; - goto yy97; - } else { - if (yych == 'F') goto yy97; - goto yy5; - } - } else { - if (yych <= 'P') { - if (yych <= 'J') goto yy97; - if (yych <= 'L') goto yy5; - goto yy97; - } else { - if (yych <= 'R') goto yy5; - if (yych <= 'Y') goto yy97; - goto yy5; - } - } - } - } else { - if (yych <= 'n') { - if (yych <= 'g') { - if (yych <= 'd') { - if (yych <= 'a') goto yy97; - if (yych <= 'c') goto yy5; - goto yy97; - } else { - if (yych == 'f') goto yy97; - goto yy5; - } - } else { - if (yych <= 'j') { - if (yych == 'i') goto yy5; - goto yy97; - } else { - if (yych <= 'l') goto yy5; - if (yych <= 'm') goto yy97; - goto yy90; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'r') { - if (yych <= 'p') goto yy97; - if (yych <= 'q') goto yy5; - goto yy91; - } else { - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy97; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy97; - goto yy5; - } else { - if (yych <= 'y') goto yy97; - if (yych == 0xC2) goto yy97; - goto yy5; - } - } - } - } -yy15: - YYDEBUG(15, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'a') { - if (yych <= 'A') { - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy95; - goto yy5; - } else { - if (yych <= ' ') goto yy97; - if (yych <= ',') goto yy5; - goto yy67; - } - } else { - if (yych <= '9') { - if (yych <= '.') goto yy98; - if (yych <= '/') goto yy69; - goto yy104; - } else { - if (yych <= ':') goto yy100; - if (yych <= '@') goto yy5; - goto yy97; - } - } - } else { - if (yych <= 'J') { - if (yych <= 'E') { - if (yych == 'D') goto yy97; - goto yy5; - } else { - if (yych == 'G') goto yy5; - goto yy97; - } - } else { - if (yych <= 'R') { - if (yych <= 'L') goto yy5; - if (yych <= 'P') goto yy97; - goto yy5; - } else { - if (yych <= 'Y') goto yy97; - if (yych <= '`') goto yy5; - goto yy97; - } - } - } - } else { - if (yych <= 'p') { - if (yych <= 'h') { - if (yych <= 'e') { - if (yych == 'd') goto yy97; - goto yy5; - } else { - if (yych == 'g') goto yy5; - goto yy97; - } - } else { - if (yych <= 'l') { - if (yych == 'j') goto yy97; - goto yy5; - } else { - if (yych == 'n') goto yy90; - goto yy97; - } - } - } else { - if (yych <= 'v') { - if (yych <= 's') { - if (yych <= 'q') goto yy5; - if (yych <= 'r') goto yy91; - goto yy92; - } else { - if (yych <= 't') goto yy93; - if (yych <= 'u') goto yy97; - goto yy5; - } - } else { - if (yych <= 'y') { - if (yych == 'x') goto yy5; - goto yy97; - } else { - if (yych == 0xC2) goto yy97; - goto yy5; - } - } - } - } -yy16: - YYDEBUG(16, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '-') goto yy105; - if (yych <= '/') goto yy5; - if (yych <= '9') goto yy106; - goto yy5; -yy17: - YYDEBUG(17, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'F') { - if (yych == ')') goto yy109; - if (yych >= 'A') goto yy110; - } else { - if (yych <= 'O') { - if (yych <= 'G') goto yy111; - goto yy110; - } else { - if (yych <= 'P') goto yy112; - if (yych <= 'T') goto yy110; - goto yy113; - } - } - } else { - if (yych <= 'o') { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - } else { - if (yych == 'g') goto yy115; - goto yy114; - } - } else { - if (yych <= 't') { - if (yych <= 'p') goto yy116; - goto yy114; - } else { - if (yych <= 'u') goto yy117; - if (yych <= 'z') goto yy114; - } - } - } -yy18: - YYDEBUG(18, *YYCURSOR); -#line 1719 "parse_date.re" - { - int tz_not_found; - DEBUG_OUTPUT("tzcorrection | tz"); - TIMELIB_INIT; - TIMELIB_HAVE_TZ(); - s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); - if (tz_not_found) { - add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); - } - TIMELIB_DEINIT; - return TIMELIB_TIMEZONE; - } -#line 1593 "<stdout>" -yy19: - YYDEBUG(19, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy118; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych <= 'a') goto yy119; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy20: - YYDEBUG(20, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy114; - goto yy18; - } -yy21: - YYDEBUG(21, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy120; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy114; - } else { - if (yych <= 'e') goto yy121; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy22: - YYDEBUG(22, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'I') goto yy122; - if (yych <= 'K') goto yy110; - goto yy123; - } - } else { - if (yych <= 'i') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - if (yych <= 'h') goto yy114; - goto yy124; - } else { - if (yych == 'l') goto yy125; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy23: - YYDEBUG(23, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy126; - } - } else { - if (yych <= 'N') { - if (yych == 'I') goto yy127; - goto yy110; - } else { - if (yych <= 'O') goto yy128; - if (yych <= 'Q') goto yy110; - goto yy129; - } - } - } else { - if (yych <= 'i') { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy114; - } else { - if (yych <= 'e') goto yy130; - if (yych <= 'h') goto yy114; - goto yy131; - } - } else { - if (yych <= 'q') { - if (yych == 'o') goto yy132; - goto yy114; - } else { - if (yych <= 'r') goto yy133; - if (yych <= 'z') goto yy114; - goto yy18; - } - } - } -yy24: - YYDEBUG(24, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy110; - } else { - if (yych <= 'Z') { - if (yych <= 'M') goto yy134; - goto yy110; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy25: - YYDEBUG(25, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy18; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy18; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy18; - } else { - if (yych == '/') goto yy18; - goto yy136; - } - } - } else { - if (yych <= 'V') { - if (yych <= 'H') { - if (yych <= '@') goto yy18; - goto yy110; - } else { - if (yych <= 'I') goto yy140; - if (yych <= 'U') goto yy110; - goto yy141; - } - } else { - if (yych <= 'Z') { - if (yych == 'X') goto yy141; - goto yy110; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy114; - goto yy18; - } - } - } -yy26: - YYDEBUG(26, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'A') goto yy142; - if (yych <= 'T') goto yy110; - goto yy143; - } - } else { - if (yych <= 'a') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy144; - } else { - if (yych == 'u') goto yy145; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy27: - YYDEBUG(27, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy146; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych <= 'a') goto yy147; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy28: - YYDEBUG(28, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy148; - } else { - if (yych == 'I') goto yy149; - if (yych <= 'N') goto yy110; - goto yy150; - } - } else { - if (yych <= 'h') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy151; - goto yy114; - } else { - if (yych <= 'n') { - if (yych <= 'i') goto yy152; - goto yy114; - } else { - if (yych <= 'o') goto yy153; - if (yych <= 'z') goto yy114; - goto yy18; - } - } - } -yy29: - YYDEBUG(29, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= 'D') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy110; - } else { - if (yych <= 'H') { - if (yych <= 'E') goto yy154; - goto yy110; - } else { - if (yych <= 'I') goto yy155; - if (yych <= 'N') goto yy110; - goto yy156; - } - } - } else { - if (yych <= 'h') { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych == 'e') goto yy157; - goto yy114; - } - } else { - if (yych <= 'n') { - if (yych <= 'i') goto yy158; - goto yy114; - } else { - if (yych <= 'o') goto yy159; - if (yych <= 'z') goto yy114; - goto yy18; - } - } - } -yy30: - YYDEBUG(30, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'C') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'B') goto yy110; - goto yy160; - } - } else { - if (yych <= 'b') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy114; - } else { - if (yych <= 'c') goto yy161; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy31: - YYDEBUG(31, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy110; - goto yy162; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy114; - } else { - if (yych <= 'r') goto yy163; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy32: - YYDEBUG(32, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'A') goto yy164; - goto yy110; - } - } else { - if (yych <= 'H') { - if (yych <= 'E') goto yy165; - goto yy110; - } else { - if (yych <= 'I') goto yy166; - if (yych <= 'T') goto yy110; - goto yy150; - } - } - } else { - if (yych <= 'e') { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych <= 'a') goto yy167; - if (yych <= 'd') goto yy114; - goto yy168; - } - } else { - if (yych <= 't') { - if (yych == 'i') goto yy169; - goto yy114; - } else { - if (yych <= 'u') goto yy153; - if (yych <= 'z') goto yy114; - goto yy18; - } - } - } -yy33: - YYDEBUG(33, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - switch (yych) { - case ')': goto yy109; - case '0': - case '1': goto yy170; - case '2': goto yy171; - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy172; - case 'A': - case 'B': - case 'C': - case 'D': - case 'F': - case 'G': - case 'I': - case 'J': - case 'K': - case 'L': - case 'M': - case 'N': - case 'P': - case 'Q': - case 'R': - case 'S': - case 'T': - case 'V': - case 'X': - case 'Y': - case 'Z': goto yy110; - case 'E': goto yy155; - case 'H': goto yy173; - case 'O': goto yy174; - case 'U': goto yy175; - case 'W': goto yy176; - case 'a': - case 'b': - case 'c': - case 'd': - case 'f': - case 'g': - case 'i': - case 'j': - case 'k': - case 'l': - case 'm': - case 'n': - case 'p': - case 'q': - case 'r': - case 's': - case 't': - case 'v': - case 'x': - case 'y': - case 'z': goto yy114; - case 'e': goto yy158; - case 'h': goto yy177; - case 'o': goto yy178; - case 'u': goto yy179; - case 'w': goto yy180; - default: goto yy18; - } -yy34: - YYDEBUG(34, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy18; - goto yy136; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy136; - } - } else { - if (yych <= 'H') { - if (yych <= '/') goto yy18; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy18; - goto yy110; - } else { - if (yych <= 'Z') { - if (yych <= 'I') goto yy181; - goto yy110; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy114; - goto yy18; - } - } - } -yy35: - YYDEBUG(35, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy182; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy114; - } else { - if (yych <= 'e') goto yy183; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy36: - YYDEBUG(36, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy18; - goto yy136; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy136; - } - } else { - if (yych <= 'H') { - if (yych <= '/') goto yy18; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy18; - goto yy110; - } else { - if (yych <= 'Z') { - if (yych <= 'I') goto yy140; - goto yy110; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy114; - goto yy18; - } - } - } -yy37: - YYDEBUG(37, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy184; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy114; - } else { - if (yych <= 'e') goto yy185; - if (yych <= 'z') goto yy114; - goto yy18; - } - } -yy38: - YYDEBUG(38, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'F') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy110; - } else { - if (yych <= 'O') { - if (yych <= 'G') goto yy111; - goto yy110; - } else { - if (yych <= 'P') goto yy112; - if (yych <= 'T') goto yy110; - goto yy113; - } - } - } else { - if (yych <= 'o') { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych == 'g') goto yy111; - goto yy110; - } - } else { - if (yych <= 't') { - if (yych <= 'p') goto yy112; - goto yy110; - } else { - if (yych <= 'u') goto yy113; - if (yych <= 'z') goto yy110; - goto yy18; - } - } - } -yy39: - YYDEBUG(39, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy118; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych <= 'a') goto yy118; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy40: - YYDEBUG(40, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy110; - goto yy18; - } -yy41: - YYDEBUG(41, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy120; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy110; - } else { - if (yych <= 'e') goto yy120; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy42: - YYDEBUG(42, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'I') goto yy122; - if (yych <= 'K') goto yy110; - goto yy123; - } - } else { - if (yych <= 'i') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - if (yych <= 'h') goto yy110; - goto yy122; - } else { - if (yych == 'l') goto yy123; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy43: - YYDEBUG(43, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy126; - } - } else { - if (yych <= 'N') { - if (yych == 'I') goto yy127; - goto yy110; - } else { - if (yych <= 'O') goto yy128; - if (yych <= 'Q') goto yy110; - goto yy129; - } - } - } else { - if (yych <= 'i') { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy110; - } else { - if (yych <= 'e') goto yy126; - if (yych <= 'h') goto yy110; - goto yy127; - } - } else { - if (yych <= 'q') { - if (yych == 'o') goto yy128; - goto yy110; - } else { - if (yych <= 'r') goto yy129; - if (yych <= 'z') goto yy110; - goto yy18; - } - } - } -yy44: - YYDEBUG(44, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'A') goto yy142; - if (yych <= 'T') goto yy110; - goto yy143; - } - } else { - if (yych <= 'a') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy142; - } else { - if (yych == 'u') goto yy143; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy45: - YYDEBUG(45, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy146; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych <= 'a') goto yy146; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy46: - YYDEBUG(46, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy148; - } else { - if (yych == 'I') goto yy149; - if (yych <= 'N') goto yy110; - goto yy150; - } - } else { - if (yych <= 'h') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy148; - goto yy110; - } else { - if (yych <= 'n') { - if (yych <= 'i') goto yy149; - goto yy110; - } else { - if (yych <= 'o') goto yy150; - if (yych <= 'z') goto yy110; - goto yy18; - } - } - } -yy47: - YYDEBUG(47, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= 'D') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy110; - } else { - if (yych <= 'H') { - if (yych <= 'E') goto yy154; - goto yy110; - } else { - if (yych <= 'I') goto yy155; - if (yych <= 'N') goto yy110; - goto yy156; - } - } - } else { - if (yych <= 'h') { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych == 'e') goto yy154; - goto yy110; - } - } else { - if (yych <= 'n') { - if (yych <= 'i') goto yy155; - goto yy110; - } else { - if (yych <= 'o') goto yy156; - if (yych <= 'z') goto yy110; - goto yy18; - } - } - } -yy48: - YYDEBUG(48, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'C') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'B') goto yy110; - goto yy160; - } - } else { - if (yych <= 'b') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy110; - } else { - if (yych <= 'c') goto yy160; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy49: - YYDEBUG(49, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy110; - goto yy162; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy110; - } else { - if (yych <= 'r') goto yy162; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy50: - YYDEBUG(50, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'A') goto yy164; - goto yy110; - } - } else { - if (yych <= 'H') { - if (yych <= 'E') goto yy165; - goto yy110; - } else { - if (yych <= 'I') goto yy166; - if (yych <= 'T') goto yy110; - goto yy150; - } - } - } else { - if (yych <= 'e') { - if (yych <= '`') { - if (yych <= 'Z') goto yy110; - goto yy18; - } else { - if (yych <= 'a') goto yy164; - if (yych <= 'd') goto yy110; - goto yy165; - } - } else { - if (yych <= 't') { - if (yych == 'i') goto yy166; - goto yy110; - } else { - if (yych <= 'u') goto yy150; - if (yych <= 'z') goto yy110; - goto yy18; - } - } - } -yy51: - YYDEBUG(51, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - switch (yych) { - case ')': goto yy109; - case '0': - case '1': goto yy170; - case '2': goto yy171; - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy172; - case 'A': - case 'B': - case 'C': - case 'D': - case 'F': - case 'G': - case 'I': - case 'J': - case 'K': - case 'L': - case 'M': - case 'N': - case 'P': - case 'Q': - case 'R': - case 'S': - case 'T': - case 'V': - case 'X': - case 'Y': - case 'Z': - case 'a': - case 'b': - case 'c': - case 'd': - case 'f': - case 'g': - case 'i': - case 'j': - case 'k': - case 'l': - case 'm': - case 'n': - case 'p': - case 'q': - case 'r': - case 's': - case 't': - case 'v': - case 'x': - case 'y': - case 'z': goto yy110; - case 'E': - case 'e': goto yy155; - case 'H': - case 'h': goto yy173; - case 'O': - case 'o': goto yy174; - case 'U': - case 'u': goto yy175; - case 'W': - case 'w': goto yy176; - default: goto yy18; - } -yy52: - YYDEBUG(52, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy182; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy110; - } else { - if (yych <= 'e') goto yy182; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy53: - YYDEBUG(53, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy110; - goto yy184; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy110; - if (yych <= '`') goto yy18; - goto yy110; - } else { - if (yych <= 'e') goto yy184; - if (yych <= 'z') goto yy110; - goto yy18; - } - } -yy54: - YYDEBUG(54, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(55, *YYCURSOR); - if (yybm[0+yych] & 2) { - goto yy54; - } - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy57; -yy56: - YYDEBUG(56, *YYCURSOR); - YYCURSOR = YYMARKER; - if (yyaccept <= 16) { - if (yyaccept <= 8) { - if (yyaccept <= 4) { - if (yyaccept <= 2) { - if (yyaccept <= 1) { - if (yyaccept == 0) { - goto yy7; - } else { - goto yy5; - } - } else { - goto yy18; - } - } else { - if (yyaccept == 3) { - goto yy78; - } else { - goto yy108; - } - } - } else { - if (yyaccept <= 6) { - if (yyaccept == 5) { - goto yy209; - } else { - goto yy214; - } - } else { - if (yyaccept == 7) { - goto yy250; - } else { - goto yy280; - } - } - } - } else { - if (yyaccept <= 12) { - if (yyaccept <= 10) { - if (yyaccept == 9) { - goto yy278; - } else { - goto yy300; - } - } else { - if (yyaccept == 11) { - goto yy310; - } else { - goto yy336; - } - } - } else { - if (yyaccept <= 14) { - if (yyaccept == 13) { - goto yy401; - } else { - goto yy403; - } - } else { - if (yyaccept == 15) { - goto yy505; - } else { - goto yy545; - } - } - } - } - } else { - if (yyaccept <= 25) { - if (yyaccept <= 21) { - if (yyaccept <= 19) { - if (yyaccept <= 18) { - if (yyaccept == 17) { - goto yy696; - } else { - goto yy711; - } - } else { - goto yy724; - } - } else { - if (yyaccept == 20) { - goto yy747; - } else { - goto yy814; - } - } - } else { - if (yyaccept <= 23) { - if (yyaccept == 22) { - goto yy886; - } else { - goto yy577; - } - } else { - if (yyaccept == 24) { - goto yy901; - } else { - goto yy935; - } - } - } - } else { - if (yyaccept <= 29) { - if (yyaccept <= 27) { - if (yyaccept == 26) { - goto yy973; - } else { - goto yy991; - } - } else { - if (yyaccept == 28) { - goto yy996; - } else { - goto yy1049; - } - } - } else { - if (yyaccept <= 31) { - if (yyaccept == 30) { - goto yy1085; - } else { - goto yy1108; - } - } else { - if (yyaccept == 32) { - goto yy1111; - } else { - goto yy1228; - } - } - } - } - } -yy57: - YYDEBUG(57, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); - yych = *YYCURSOR; - YYDEBUG(58, *YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy57; - } - if (yych <= 'X') { - if (yych <= 'G') { - if (yych <= ' ') { - if (yych == '\t') goto yy186; - if (yych <= 0x1F) goto yy56; - goto yy186; - } else { - if (yych <= 'D') { - if (yych <= 'C') goto yy56; - goto yy188; - } else { - if (yych == 'F') goto yy189; - goto yy56; - } - } - } else { - if (yych <= 'S') { - if (yych <= 'L') { - if (yych <= 'H') goto yy76; - goto yy56; - } else { - if (yych <= 'M') goto yy190; - if (yych <= 'R') goto yy56; - goto yy191; - } - } else { - if (yych <= 'U') { - if (yych <= 'T') goto yy84; - goto yy85; - } else { - if (yych == 'W') goto yy87; - goto yy56; - } - } - } - } else { - if (yych <= 'r') { - if (yych <= 'f') { - if (yych <= 'c') { - if (yych <= 'Y') goto yy89; - goto yy56; - } else { - if (yych <= 'd') goto yy188; - if (yych <= 'e') goto yy56; - goto yy189; - } - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy76; - } else { - if (yych == 'm') goto yy190; - goto yy56; - } - } - } else { - if (yych <= 'w') { - if (yych <= 't') { - if (yych <= 's') goto yy191; - goto yy84; - } else { - if (yych <= 'u') goto yy85; - if (yych <= 'v') goto yy56; - goto yy87; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy56; - goto yy89; - } else { - if (yych == 0xC2) goto yy94; - goto yy56; - } - } - } - } -yy59: - YYDEBUG(59, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(60, *YYCURSOR); - if (yybm[0+yych] & 2) { - goto yy54; - } - if (yych <= ',') { - if (yych == '+') goto yy59; - goto yy56; - } else { - if (yych <= '-') goto yy59; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy57; - goto yy56; - } -yy61: - YYDEBUG(61, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'D') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '9') { - if (yych <= '/') goto yy18; - goto yy192; - } else { - if (yych <= ':') goto yy193; - if (yych <= 'C') goto yy18; - goto yy187; - } - } - } else { - if (yych <= 'L') { - if (yych <= 'F') { - if (yych <= 'E') goto yy18; - goto yy187; - } else { - if (yych == 'H') goto yy187; - goto yy18; - } - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy18; - } else { - if (yych == 'V') goto yy18; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy62: - YYDEBUG(62, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'V') { - if (yych <= 'C') { - if (yych <= '/') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy18; - goto yy187; - } else { - if (yych == ' ') goto yy187; - goto yy18; - } - } else { - if (yych <= '5') { - if (yych <= '4') goto yy192; - goto yy194; - } else { - if (yych <= '9') goto yy195; - if (yych <= ':') goto yy193; - goto yy18; - } - } - } else { - if (yych <= 'H') { - if (yych <= 'E') { - if (yych <= 'D') goto yy187; - goto yy18; - } else { - if (yych == 'G') goto yy18; - goto yy187; - } - } else { - if (yych <= 'M') { - if (yych <= 'L') goto yy18; - goto yy187; - } else { - if (yych <= 'R') goto yy18; - if (yych <= 'U') goto yy187; - goto yy18; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych <= 'X') { - if (yych <= 'W') goto yy187; - goto yy18; - } else { - if (yych <= 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy63: - YYDEBUG(63, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'V') { - if (yych <= 'C') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '5') { - if (yych <= '/') goto yy18; - goto yy194; - } else { - if (yych <= '9') goto yy195; - if (yych <= ':') goto yy193; - goto yy18; - } - } - } else { - if (yych <= 'H') { - if (yych <= 'E') { - if (yych <= 'D') goto yy187; - goto yy18; - } else { - if (yych == 'G') goto yy18; - goto yy187; - } - } else { - if (yych <= 'M') { - if (yych <= 'L') goto yy18; - goto yy187; - } else { - if (yych <= 'R') goto yy18; - if (yych <= 'U') goto yy187; - goto yy18; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych <= 'X') { - if (yych <= 'W') goto yy187; - goto yy18; - } else { - if (yych <= 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy64: - YYDEBUG(64, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy66; - if (yych <= '0') goto yy198; - if (yych <= '1') goto yy199; - if (yych <= '9') goto yy200; - goto yy66; -yy65: - YYDEBUG(65, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 13) YYFILL(13); - yych = *YYCURSOR; -yy66: - YYDEBUG(66, *YYCURSOR); - if (yych <= 'W') { - if (yych <= 'G') { - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy65; - goto yy56; - } else { - if (yych <= ' ') goto yy65; - if (yych <= ',') goto yy56; - goto yy196; - } - } else { - if (yych <= 'C') { - if (yych == 'A') goto yy73; - goto yy56; - } else { - if (yych <= 'D') goto yy74; - if (yych == 'F') goto yy75; - goto yy56; - } - } - } else { - if (yych <= 'N') { - if (yych <= 'J') { - if (yych <= 'H') goto yy76; - if (yych <= 'I') goto yy77; - goto yy79; - } else { - if (yych <= 'L') goto yy56; - if (yych <= 'M') goto yy80; - goto yy81; - } - } else { - if (yych <= 'S') { - if (yych <= 'O') goto yy82; - if (yych <= 'R') goto yy56; - goto yy83; - } else { - if (yych <= 'T') goto yy84; - if (yych <= 'U') goto yy85; - if (yych <= 'V') goto yy86; - goto yy87; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych <= '`') { - if (yych <= 'X') goto yy88; - if (yych <= 'Y') goto yy89; - goto yy56; - } else { - if (yych <= 'a') goto yy73; - if (yych <= 'c') goto yy56; - goto yy74; - } - } else { - if (yych <= 'g') { - if (yych == 'f') goto yy75; - goto yy56; - } else { - if (yych <= 'h') goto yy76; - if (yych == 'j') goto yy79; - goto yy56; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'o') { - if (yych <= 'm') goto yy80; - if (yych <= 'n') goto yy81; - goto yy82; - } else { - if (yych <= 'r') goto yy56; - if (yych <= 's') goto yy83; - if (yych <= 't') goto yy84; - goto yy85; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy87; - goto yy56; - } else { - if (yych <= 'y') goto yy89; - if (yych == 0xC2) goto yy94; - goto yy56; - } - } - } - } -yy67: - YYDEBUG(67, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy197; - if (yych <= '0') goto yy201; - if (yych <= '1') goto yy202; - if (yych <= '9') goto yy203; - goto yy197; -yy68: - YYDEBUG(68, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '1') { - if (yych <= '/') goto yy197; - if (yych <= '0') goto yy208; - goto yy210; - } else { - if (yych <= '5') goto yy211; - if (yych <= '9') goto yy212; - goto yy197; - } -yy69: - YYDEBUG(69, *YYCURSOR); - yych = *++YYCURSOR; - switch (yych) { - case '0': - case '1': - case '2': goto yy213; - case '3': goto yy215; - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy216; - case 'A': - case 'a': goto yy217; - case 'D': - case 'd': goto yy218; - case 'F': - case 'f': goto yy219; - case 'J': - case 'j': goto yy220; - case 'M': - case 'm': goto yy221; - case 'N': - case 'n': goto yy222; - case 'O': - case 'o': goto yy223; - case 'S': - case 's': goto yy224; - default: goto yy56; - } -yy70: - YYDEBUG(70, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= '-') { - if (yych == '\t') goto yy64; - if (yych <= ',') goto yy66; - goto yy225; - } else { - if (yych <= '.') goto yy68; - if (yych <= '/') goto yy69; - if (yych <= '5') goto yy226; - goto yy227; - } - } else { - if (yych <= 'q') { - if (yych <= ':') goto yy72; - if (yych == 'n') goto yy90; - goto yy66; - } else { - if (yych <= 'r') goto yy91; - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy66; - } - } -yy71: - YYDEBUG(71, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= '-') { - if (yych == '\t') goto yy95; - if (yych <= ',') goto yy97; - goto yy225; - } else { - if (yych <= '.') goto yy98; - if (yych <= '/') goto yy69; - if (yych <= '5') goto yy226; - goto yy227; - } - } else { - if (yych <= 'q') { - if (yych <= ':') goto yy100; - if (yych == 'n') goto yy90; - goto yy97; - } else { - if (yych <= 'r') goto yy91; - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy97; - } - } -yy72: - YYDEBUG(72, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy228; - if (yych <= '9') goto yy229; - goto yy56; -yy73: - YYDEBUG(73, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'P') goto yy230; - if (yych <= 'T') goto yy56; - goto yy231; - } else { - if (yych <= 'p') { - if (yych <= 'o') goto yy56; - goto yy230; - } else { - if (yych == 'u') goto yy231; - goto yy56; - } - } -yy74: - YYDEBUG(74, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych == 'A') goto yy232; - if (yych <= 'D') goto yy56; - goto yy233; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy56; - goto yy232; - } else { - if (yych == 'e') goto yy233; - goto yy56; - } - } -yy75: - YYDEBUG(75, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= 'N') { - if (yych == 'E') goto yy234; - goto yy56; - } else { - if (yych <= 'O') goto yy235; - if (yych <= 'Q') goto yy56; - goto yy236; - } - } else { - if (yych <= 'n') { - if (yych == 'e') goto yy234; - goto yy56; - } else { - if (yych <= 'o') goto yy235; - if (yych == 'r') goto yy236; - goto yy56; - } - } -yy76: - YYDEBUG(76, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy237; - if (yych == 'o') goto yy237; - goto yy56; -yy77: - YYDEBUG(77, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - if (yych <= '.') goto yy238; - } - } else { - if (yych <= 'U') { - if (yych <= '9') goto yy240; - if (yych == 'I') goto yy242; - } else { - if (yych == 'W') goto yy78; - if (yych <= 'X') goto yy243; - } - } -yy78: - YYDEBUG(78, *YYCURSOR); -#line 1469 "parse_date.re" - { - DEBUG_OUTPUT("datenoyearrev"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->d = timelib_get_nr((char **) &ptr, 2); - timelib_skip_day_suffix((char **) &ptr); - s->time->m = timelib_get_month((char **) &ptr); - TIMELIB_DEINIT; - return TIMELIB_DATE_TEXT; - } -#line 3423 "<stdout>" -yy79: - YYDEBUG(79, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'A') goto yy244; - if (yych <= 'T') goto yy56; - goto yy245; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy56; - goto yy244; - } else { - if (yych == 'u') goto yy245; - goto yy56; - } - } -yy80: - YYDEBUG(80, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= 'I') { - if (yych == 'A') goto yy246; - if (yych <= 'H') goto yy56; - goto yy247; - } else { - if (yych == 'O') goto yy248; - if (yych <= 'R') goto yy56; - goto yy249; - } - } else { - if (yych <= 'i') { - if (yych == 'a') goto yy246; - if (yych <= 'h') goto yy56; - goto yy247; - } else { - if (yych <= 'o') { - if (yych <= 'n') goto yy56; - goto yy248; - } else { - if (yych == 's') goto yy249; - goto yy56; - } - } - } -yy81: - YYDEBUG(81, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy251; - if (yych == 'o') goto yy251; - goto yy56; -yy82: - YYDEBUG(82, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy252; - if (yych == 'c') goto yy252; - goto yy56; -yy83: - YYDEBUG(83, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'D') { - if (yych == 'A') goto yy253; - goto yy56; - } else { - if (yych <= 'E') goto yy254; - if (yych <= 'T') goto yy56; - goto yy255; - } - } else { - if (yych <= 'd') { - if (yych == 'a') goto yy253; - goto yy56; - } else { - if (yych <= 'e') goto yy254; - if (yych == 'u') goto yy255; - goto yy56; - } - } -yy84: - YYDEBUG(84, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'H') goto yy256; - if (yych <= 'T') goto yy56; - goto yy257; - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy256; - } else { - if (yych == 'u') goto yy257; - goto yy56; - } - } -yy85: - YYDEBUG(85, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy258; - if (yych == 's') goto yy258; - goto yy56; -yy86: - YYDEBUG(86, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy78; - goto yy238; - } else { - if (yych == ' ') goto yy238; - goto yy78; - } - } else { - if (yych <= '9') { - if (yych <= '.') goto yy238; - if (yych <= '/') goto yy78; - goto yy240; - } else { - if (yych == 'I') goto yy88; - goto yy78; - } - } -yy87: - YYDEBUG(87, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy259; - if (yych == 'e') goto yy259; - goto yy56; -yy88: - YYDEBUG(88, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy78; - goto yy238; - } else { - if (yych == ' ') goto yy238; - goto yy78; - } - } else { - if (yych <= '9') { - if (yych <= '.') goto yy238; - if (yych <= '/') goto yy78; - goto yy240; - } else { - if (yych == 'I') goto yy242; - goto yy78; - } - } -yy89: - YYDEBUG(89, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy260; - if (yych == 'e') goto yy260; - goto yy56; -yy90: - YYDEBUG(90, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'c') { - if (yych == 'O') goto yy251; - goto yy56; - } else { - if (yych <= 'd') goto yy261; - if (yych == 'o') goto yy251; - goto yy56; - } -yy91: - YYDEBUG(91, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'd') goto yy261; - goto yy56; -yy92: - YYDEBUG(92, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '`') { - if (yych <= 'D') { - if (yych == 'A') goto yy253; - goto yy56; - } else { - if (yych <= 'E') goto yy254; - if (yych == 'U') goto yy255; - goto yy56; - } - } else { - if (yych <= 'e') { - if (yych <= 'a') goto yy253; - if (yych <= 'd') goto yy56; - goto yy254; - } else { - if (yych <= 's') goto yy56; - if (yych <= 't') goto yy261; - if (yych <= 'u') goto yy255; - goto yy56; - } - } -yy93: - YYDEBUG(93, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'H') goto yy256; - if (yych <= 'T') goto yy56; - goto yy257; - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy262; - } else { - if (yych == 'u') goto yy257; - goto yy56; - } - } -yy94: - YYDEBUG(94, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 0xB5) goto yy263; - goto yy56; -yy95: - YYDEBUG(95, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy97; - if (yych <= '0') goto yy198; - if (yych <= '1') goto yy199; - if (yych <= '9') goto yy200; - goto yy97; -yy96: - YYDEBUG(96, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 13) YYFILL(13); - yych = *YYCURSOR; -yy97: - YYDEBUG(97, *YYCURSOR); - if (yych <= 'W') { - if (yych <= 'G') { - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy96; - goto yy56; - } else { - if (yych <= ' ') goto yy96; - if (yych <= ',') goto yy56; - goto yy196; - } - } else { - if (yych <= 'C') { - if (yych == 'A') goto yy101; - goto yy56; - } else { - if (yych <= 'D') goto yy74; - if (yych == 'F') goto yy75; - goto yy56; - } - } - } else { - if (yych <= 'O') { - if (yych <= 'J') { - if (yych <= 'H') goto yy76; - if (yych <= 'I') goto yy77; - goto yy79; - } else { - if (yych <= 'L') goto yy56; - if (yych <= 'M') goto yy80; - if (yych <= 'N') goto yy81; - goto yy82; - } - } else { - if (yych <= 'S') { - if (yych <= 'P') goto yy102; - if (yych <= 'R') goto yy56; - goto yy83; - } else { - if (yych <= 'T') goto yy84; - if (yych <= 'U') goto yy85; - if (yych <= 'V') goto yy86; - goto yy87; - } - } - } - } else { - if (yych <= 'm') { - if (yych <= 'e') { - if (yych <= '`') { - if (yych <= 'X') goto yy88; - if (yych <= 'Y') goto yy89; - goto yy56; - } else { - if (yych <= 'a') goto yy101; - if (yych == 'd') goto yy74; - goto yy56; - } - } else { - if (yych <= 'h') { - if (yych <= 'f') goto yy75; - if (yych <= 'g') goto yy56; - goto yy76; - } else { - if (yych == 'j') goto yy79; - if (yych <= 'l') goto yy56; - goto yy80; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'p') { - if (yych <= 'n') goto yy81; - if (yych <= 'o') goto yy82; - goto yy102; - } else { - if (yych <= 'r') goto yy56; - if (yych <= 's') goto yy83; - if (yych <= 't') goto yy84; - goto yy85; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy87; - goto yy56; - } else { - if (yych <= 'y') goto yy89; - if (yych == 0xC2) goto yy94; - goto yy56; - } - } - } - } -yy98: - YYDEBUG(98, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '1') { - if (yych <= '/') goto yy197; - if (yych <= '0') goto yy264; - goto yy265; - } else { - if (yych <= '5') goto yy266; - if (yych <= '9') goto yy267; - goto yy197; - } -yy99: - YYDEBUG(99, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= '-') { - if (yych == '\t') goto yy64; - if (yych <= ',') goto yy66; - goto yy225; - } else { - if (yych <= '.') goto yy68; - if (yych <= '/') goto yy268; - if (yych <= '5') goto yy226; - goto yy227; - } - } else { - if (yych <= 'q') { - if (yych <= ':') goto yy72; - if (yych == 'n') goto yy90; - goto yy66; - } else { - if (yych <= 'r') goto yy91; - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy66; - } - } -yy100: - YYDEBUG(100, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy269; - if (yych <= '9') goto yy270; - goto yy56; -yy101: - YYDEBUG(101, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= 'L') { - if (yych == '.') goto yy271; - goto yy56; - } else { - if (yych <= 'M') goto yy272; - if (yych == 'P') goto yy230; - goto yy56; - } - } else { - if (yych <= 'o') { - if (yych <= 'U') goto yy231; - if (yych == 'm') goto yy272; - goto yy56; - } else { - if (yych <= 'p') goto yy230; - if (yych == 'u') goto yy231; - goto yy56; - } - } -yy102: - YYDEBUG(102, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych == '.') goto yy271; - goto yy56; - } else { - if (yych <= 'M') goto yy272; - if (yych == 'm') goto yy272; - goto yy56; - } -yy103: - YYDEBUG(103, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= ',') { - if (yych == '\t') goto yy64; - goto yy66; - } else { - if (yych <= '-') goto yy225; - if (yych <= '.') goto yy273; - if (yych <= '/') goto yy268; - goto yy227; - } - } else { - if (yych <= 'q') { - if (yych == 'n') goto yy90; - goto yy66; - } else { - if (yych <= 'r') goto yy91; - if (yych <= 's') goto yy92; - if (yych <= 't') goto yy93; - goto yy66; - } - } -yy104: - YYDEBUG(104, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy274; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy227; - goto yy187; -yy105: - YYDEBUG(105, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych >= ':') goto yy56; -yy106: - YYDEBUG(106, *YYCURSOR); - yyaccept = 4; - YYMARKER = ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 7) YYFILL(7); - yych = *YYCURSOR; - YYDEBUG(107, *YYCURSOR); - if (yych == '.') goto yy275; - if (yych <= '/') goto yy108; - if (yych <= '9') goto yy106; -yy108: - YYDEBUG(108, *YYCURSOR); -#line 1071 "parse_date.re" - { - timelib_ull i; - - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - TIMELIB_UNHAVE_DATE(); - TIMELIB_UNHAVE_TIME(); - TIMELIB_HAVE_TZ(); - - i = timelib_get_unsigned_nr((char **) &ptr, 24); - s->time->y = 1970; - s->time->m = 1; - s->time->d = 1; - s->time->h = s->time->i = s->time->s = 0; - s->time->us = 0; - s->time->relative.s += i; - s->time->is_localtime = 1; - s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; - s->time->z = 0; - s->time->dst = 0; - - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 3901 "<stdout>" -yy109: - YYDEBUG(109, *YYCURSOR); - ++YYCURSOR; - goto yy18; -yy110: - YYDEBUG(110, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy276; - goto yy18; - } -yy111: - YYDEBUG(111, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'N') goto yy276; - goto yy277; - } - } else { - if (yych <= 'n') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'o') goto yy277; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy112: - YYDEBUG(112, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy276; - goto yy279; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'r') goto yy279; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy113: - YYDEBUG(113, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'G') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'F') goto yy276; - goto yy281; - } - } else { - if (yych <= 'f') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'g') goto yy281; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy114: - YYDEBUG(114, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy18; - if (yych <= 'Z') goto yy276; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy283; - goto yy18; - } - } -yy115: - YYDEBUG(115, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'O') goto yy277; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'n') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'o') goto yy284; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy116: - YYDEBUG(116, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy279; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'r') goto yy285; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy117: - YYDEBUG(117, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'F') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'G') goto yy281; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'f') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'g') goto yy286; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy118: - YYDEBUG(118, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'C') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'B') goto yy276; - goto yy287; - } - } else { - if (yych <= 'b') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'c') goto yy287; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy119: - YYDEBUG(119, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'B') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'C') goto yy287; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'b') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'c') goto yy288; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy120: - YYDEBUG(120, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'C') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'B') goto yy276; - goto yy289; - } - } else { - if (yych <= 'b') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'c') goto yy289; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy121: - YYDEBUG(121, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'B') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'C') goto yy289; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'b') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'c') goto yy290; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy122: - YYDEBUG(122, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'G') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'F') goto yy276; - goto yy291; - } - } else { - if (yych <= 'f') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'g') goto yy291; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy123: - YYDEBUG(123, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy276; - goto yy292; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'e') goto yy292; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy124: - YYDEBUG(124, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'F') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'G') goto yy291; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'f') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'g') goto yy293; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy125: - YYDEBUG(125, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy292; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'e') goto yy294; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy126: - YYDEBUG(126, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'B') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'A') goto yy276; - goto yy295; - } - } else { - if (yych <= 'a') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'b') goto yy295; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy127: - YYDEBUG(127, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'F') goto yy296; - if (yych <= 'Q') goto yy276; - goto yy297; - } - } else { - if (yych <= 'f') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'e') goto yy276; - goto yy296; - } else { - if (yych == 'r') goto yy297; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy128: - YYDEBUG(128, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'T') goto yy276; - goto yy298; - } - } else { - if (yych <= 't') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'u') goto yy298; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy129: - YYDEBUG(129, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'I') goto yy299; - if (yych <= 'N') goto yy276; - goto yy301; - } - } else { - if (yych <= 'i') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'h') goto yy276; - goto yy299; - } else { - if (yych == 'o') goto yy301; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy130: - YYDEBUG(130, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'A') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'B') goto yy295; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'b') goto yy302; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy131: - YYDEBUG(131, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych <= '/') goto yy282; - goto yy18; - } else { - if (yych == 'F') goto yy296; - goto yy276; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'R') goto yy297; - goto yy276; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 'q') { - if (yych == 'f') goto yy303; - goto yy283; - } else { - if (yych <= 'r') goto yy304; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy132: - YYDEBUG(132, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'U') goto yy298; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 't') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'u') goto yy305; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy133: - YYDEBUG(133, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych <= '/') goto yy282; - goto yy18; - } else { - if (yych == 'I') goto yy299; - goto yy276; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'O') goto yy301; - goto yy276; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 'n') { - if (yych == 'i') goto yy306; - goto yy283; - } else { - if (yych <= 'o') goto yy307; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy134: - YYDEBUG(134, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy276; - } else { - if (yych <= 'Z') { - if (yych <= 'T') goto yy308; - goto yy276; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy135: - YYDEBUG(135, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 23) YYFILL(23); - yych = *YYCURSOR; -yy136: - YYDEBUG(136, *YYCURSOR); - if (yybm[0+yych] & 16) { - goto yy135; - } - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy137; - if (yych <= '3') goto yy138; - if (yych <= '9') goto yy139; - goto yy56; -yy137: - YYDEBUG(137, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= ' ') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy309; - goto yy56; - } else { - if (yych <= '\t') goto yy311; - if (yych <= 0x1F) goto yy56; - goto yy311; - } - } else { - if (yych <= '-') { - if (yych == ',') goto yy311; - goto yy56; - } else { - if (yych <= '.') goto yy311; - if (yych <= '/') goto yy56; - goto yy313; - } - } - } else { - if (yych <= 'm') { - if (yych <= 'd') { - if (yych <= 'c') goto yy56; - goto yy311; - } else { - if (yych == 'h') goto yy311; - goto yy56; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy314; - if (yych <= 'q') goto yy56; - goto yy314; - } else { - if (yych <= 's') goto yy315; - if (yych <= 't') goto yy316; - goto yy56; - } - } - } -yy138: - YYDEBUG(138, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '1') { - if (yych <= ' ') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy309; - goto yy56; - } else { - if (yych <= '\t') goto yy311; - if (yych <= 0x1F) goto yy56; - goto yy311; - } - } else { - if (yych <= '-') { - if (yych == ',') goto yy311; - goto yy56; - } else { - if (yych <= '.') goto yy311; - if (yych <= '/') goto yy56; - goto yy313; - } - } - } else { - if (yych <= 'm') { - if (yych <= 'd') { - if (yych <= '9') goto yy317; - if (yych <= 'c') goto yy56; - goto yy311; - } else { - if (yych == 'h') goto yy311; - goto yy56; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy314; - if (yych <= 'q') goto yy56; - goto yy314; - } else { - if (yych <= 's') goto yy315; - if (yych <= 't') goto yy316; - goto yy56; - } - } - } -yy139: - YYDEBUG(139, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= ' ') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy309; - goto yy56; - } else { - if (yych <= '\t') goto yy311; - if (yych <= 0x1F) goto yy56; - goto yy311; - } - } else { - if (yych <= '-') { - if (yych == ',') goto yy311; - goto yy56; - } else { - if (yych <= '.') goto yy311; - if (yych <= '/') goto yy56; - goto yy317; - } - } - } else { - if (yych <= 'm') { - if (yych <= 'd') { - if (yych <= 'c') goto yy56; - goto yy311; - } else { - if (yych == 'h') goto yy311; - goto yy56; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy314; - if (yych <= 'q') goto yy56; - goto yy314; - } else { - if (yych <= 's') goto yy315; - if (yych <= 't') goto yy316; - goto yy56; - } - } - } -yy140: - YYDEBUG(140, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy18; - goto yy136; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy136; - } - } else { - if (yych <= 'H') { - if (yych <= '/') goto yy18; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy18; - goto yy276; - } else { - if (yych <= 'Z') { - if (yych <= 'I') goto yy318; - goto yy276; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy276; - goto yy18; - } - } - } -yy141: - YYDEBUG(141, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy136; - goto yy18; - } else { - if (yych <= ' ') goto yy136; - if (yych == ')') goto yy109; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych == '/') goto yy18; - if (yych <= '9') goto yy136; - goto yy18; - } else { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy142: - YYDEBUG(142, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy276; - goto yy319; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'n') goto yy319; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy143: - YYDEBUG(143, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'L') goto yy320; - if (yych <= 'M') goto yy276; - goto yy321; - } - } else { - if (yych <= 'l') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'k') goto yy276; - goto yy320; - } else { - if (yych == 'n') goto yy321; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy144: - YYDEBUG(144, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy319; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'n') goto yy322; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy145: - YYDEBUG(145, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych <= '/') goto yy282; - goto yy18; - } else { - if (yych == 'L') goto yy320; - goto yy276; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'N') goto yy321; - goto yy276; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 'm') { - if (yych == 'l') goto yy323; - goto yy283; - } else { - if (yych <= 'n') goto yy324; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy146: - YYDEBUG(146, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'R') goto yy276; - goto yy325; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 's') goto yy325; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy147: - YYDEBUG(147, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'S') goto yy325; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'r') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 's') goto yy326; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy148: - YYDEBUG(148, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'R') goto yy327; - if (yych <= 'X') goto yy276; - goto yy328; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'q') goto yy276; - goto yy327; - } else { - if (yych == 'y') goto yy328; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy149: - YYDEBUG(149, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'C') goto yy276; - goto yy329; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'd') goto yy329; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy150: - YYDEBUG(150, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy276; - goto yy299; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'n') goto yy299; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy151: - YYDEBUG(151, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'X') { - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych <= '/') goto yy282; - goto yy18; - } else { - if (yych == 'R') goto yy327; - goto yy276; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'Y') goto yy328; - goto yy276; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 'x') { - if (yych == 'r') goto yy330; - goto yy283; - } else { - if (yych <= 'y') goto yy331; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy152: - YYDEBUG(152, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'D') goto yy329; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'c') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'd') goto yy332; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy153: - YYDEBUG(153, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy299; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'n') goto yy306; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy154: - YYDEBUG(154, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'X') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'W') goto yy276; - goto yy333; - } - } else { - if (yych <= 'w') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'x') goto yy333; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy155: - YYDEBUG(155, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy276; - goto yy296; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'n') goto yy296; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy156: - YYDEBUG(156, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'W') { - if (yych <= 'N') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy276; - } else { - if (yych <= 'O') goto yy334; - if (yych <= 'U') goto yy276; - if (yych <= 'V') goto yy289; - goto yy335; - } - } else { - if (yych <= 'o') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'n') goto yy276; - goto yy334; - } else { - if (yych <= 'v') { - if (yych <= 'u') goto yy276; - goto yy289; - } else { - if (yych <= 'w') goto yy335; - if (yych <= 'z') goto yy276; - goto yy18; - } - } - } -yy157: - YYDEBUG(157, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'X') goto yy333; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'w') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'x') goto yy337; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy158: - YYDEBUG(158, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy296; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'n') goto yy303; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy159: - YYDEBUG(159, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'V') { - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= 'N') { - if (yych <= '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } else { - if (yych <= 'O') goto yy334; - if (yych <= 'U') goto yy276; - goto yy289; - } - } - } else { - if (yych <= 'n') { - if (yych <= '^') { - if (yych <= 'W') goto yy335; - if (yych <= 'Z') goto yy276; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - goto yy283; - } - } else { - if (yych <= 'v') { - if (yych <= 'o') goto yy338; - if (yych <= 'u') goto yy283; - goto yy290; - } else { - if (yych <= 'w') goto yy339; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy160: - YYDEBUG(160, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy276; - goto yy340; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 't') goto yy340; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy161: - YYDEBUG(161, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy340; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 't') goto yy341; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy162: - YYDEBUG(162, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy276; - goto yy342; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'e') goto yy342; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy163: - YYDEBUG(163, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy342; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'e') goto yy343; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy164: - YYDEBUG(164, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy276; - goto yy344; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 't') goto yy344; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy165: - YYDEBUG(165, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'V') { - if (yych <= 'B') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy276; - } else { - if (yych <= 'O') { - if (yych <= 'C') goto yy345; - goto yy276; - } else { - if (yych <= 'P') goto yy346; - if (yych <= 'U') goto yy276; - goto yy347; - } - } - } else { - if (yych <= 'o') { - if (yych <= '`') { - if (yych <= 'Z') goto yy276; - goto yy18; - } else { - if (yych == 'c') goto yy345; - goto yy276; - } - } else { - if (yych <= 'u') { - if (yych <= 'p') goto yy346; - goto yy276; - } else { - if (yych <= 'v') goto yy347; - if (yych <= 'z') goto yy276; - goto yy18; - } - } - } -yy166: - YYDEBUG(166, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'X') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'W') goto yy276; - goto yy296; - } - } else { - if (yych <= 'w') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'x') goto yy296; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy167: - YYDEBUG(167, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy344; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 't') goto yy348; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy168: - YYDEBUG(168, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'U') { - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - goto yy282; - } - } else { - if (yych <= 'C') { - if (yych <= '@') goto yy18; - if (yych <= 'B') goto yy276; - goto yy345; - } else { - if (yych == 'P') goto yy346; - goto yy276; - } - } - } else { - if (yych <= 'b') { - if (yych <= '^') { - if (yych <= 'V') goto yy347; - if (yych <= 'Z') goto yy276; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - goto yy283; - } - } else { - if (yych <= 'p') { - if (yych <= 'c') goto yy349; - if (yych <= 'o') goto yy283; - goto yy350; - } else { - if (yych == 'v') goto yy351; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy169: - YYDEBUG(169, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'X') goto yy296; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'w') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'x') goto yy303; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy170: - YYDEBUG(170, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy72; - goto yy56; - } else { - if (yych <= '9') goto yy352; - if (yych <= ':') goto yy72; - goto yy56; - } -yy171: - YYDEBUG(171, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy72; - goto yy56; - } else { - if (yych <= '4') goto yy352; - if (yych == ':') goto yy72; - goto yy56; - } -yy172: - YYDEBUG(172, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '.') goto yy72; - if (yych == ':') goto yy72; - goto yy56; -yy173: - YYDEBUG(173, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'I') goto yy353; - if (yych <= 'T') goto yy276; - goto yy354; - } - } else { - if (yych <= 'i') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'h') goto yy276; - goto yy353; - } else { - if (yych == 'u') goto yy354; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy174: - YYDEBUG(174, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'M') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == 'D') goto yy355; - if (yych <= 'L') goto yy276; - goto yy356; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - if (yych <= 'c') goto yy276; - goto yy355; - } else { - if (yych == 'm') goto yy356; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy175: - YYDEBUG(175, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy276; - goto yy357; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'e') goto yy357; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy176: - YYDEBUG(176, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy276; - goto yy358; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'e') goto yy358; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy177: - YYDEBUG(177, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych <= '/') goto yy282; - goto yy18; - } else { - if (yych == 'I') goto yy353; - goto yy276; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'U') goto yy354; - goto yy276; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 't') { - if (yych == 'i') goto yy359; - goto yy283; - } else { - if (yych <= 'u') goto yy360; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy178: - YYDEBUG(178, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'L') { - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych <= '/') goto yy282; - goto yy18; - } else { - if (yych == 'D') goto yy355; - goto yy276; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'M') goto yy356; - goto yy276; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 'l') { - if (yych == 'd') goto yy361; - goto yy283; - } else { - if (yych <= 'm') goto yy362; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy179: - YYDEBUG(179, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy357; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'e') goto yy363; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy180: - YYDEBUG(180, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy358; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 'e') goto yy364; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy181: - YYDEBUG(181, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy18; - goto yy136; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy136; - } - } else { - if (yych <= 'H') { - if (yych <= '/') goto yy18; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy18; - goto yy276; - } else { - if (yych <= 'Z') { - if (yych <= 'I') goto yy365; - goto yy276; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy276; - goto yy18; - } - } - } -yy182: - YYDEBUG(182, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'C') goto yy276; - if (yych <= 'D') goto yy366; - goto yy367; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 'd') goto yy366; - if (yych <= 'e') goto yy367; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy183: - YYDEBUG(183, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych <= '/') { - if (yych <= '.') goto yy18; - goto yy282; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'C') goto yy276; - goto yy366; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'E') goto yy367; - goto yy276; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 'd') { - if (yych <= 'c') goto yy283; - goto yy368; - } else { - if (yych <= 'e') goto yy369; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy184: - YYDEBUG(184, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'R') goto yy276; - goto yy370; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy276; - if (yych <= '`') goto yy18; - goto yy276; - } else { - if (yych <= 's') goto yy370; - if (yych <= 'z') goto yy276; - goto yy18; - } - } -yy185: - YYDEBUG(185, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy276; - } - } else { - if (yych <= '_') { - if (yych <= 'S') goto yy370; - if (yych <= 'Z') goto yy276; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'r') { - if (yych <= '`') goto yy18; - goto yy283; - } else { - if (yych <= 's') goto yy371; - if (yych <= 'z') goto yy283; - goto yy18; - } - } - } -yy186: - YYDEBUG(186, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); - yych = *YYCURSOR; -yy187: - YYDEBUG(187, *YYCURSOR); - if (yych <= 'X') { - if (yych <= 'G') { - if (yych <= ' ') { - if (yych == '\t') goto yy186; - if (yych <= 0x1F) goto yy56; - goto yy186; - } else { - if (yych <= 'D') { - if (yych <= 'C') goto yy56; - } else { - if (yych == 'F') goto yy189; - goto yy56; - } - } - } else { - if (yych <= 'S') { - if (yych <= 'L') { - if (yych <= 'H') goto yy76; - goto yy56; - } else { - if (yych <= 'M') goto yy190; - if (yych <= 'R') goto yy56; - goto yy191; - } - } else { - if (yych <= 'U') { - if (yych <= 'T') goto yy84; - goto yy85; - } else { - if (yych == 'W') goto yy87; - goto yy56; - } - } - } - } else { - if (yych <= 'r') { - if (yych <= 'f') { - if (yych <= 'c') { - if (yych <= 'Y') goto yy89; - goto yy56; - } else { - if (yych <= 'd') goto yy188; - if (yych <= 'e') goto yy56; - goto yy189; - } - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy76; - } else { - if (yych == 'm') goto yy190; - goto yy56; - } - } - } else { - if (yych <= 'w') { - if (yych <= 't') { - if (yych <= 's') goto yy191; - goto yy84; - } else { - if (yych <= 'u') goto yy85; - if (yych <= 'v') goto yy56; - goto yy87; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy56; - goto yy89; - } else { - if (yych == 0xC2) goto yy94; - goto yy56; - } - } - } - } -yy188: - YYDEBUG(188, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy232; - if (yych == 'a') goto yy232; - goto yy56; -yy189: - YYDEBUG(189, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych == 'O') goto yy235; - if (yych <= 'Q') goto yy56; - goto yy236; - } else { - if (yych <= 'o') { - if (yych <= 'n') goto yy56; - goto yy235; - } else { - if (yych == 'r') goto yy236; - goto yy56; - } - } -yy190: - YYDEBUG(190, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= 'N') { - if (yych == 'I') goto yy247; - goto yy56; - } else { - if (yych <= 'O') goto yy248; - if (yych <= 'R') goto yy56; - goto yy249; - } - } else { - if (yych <= 'n') { - if (yych == 'i') goto yy247; - goto yy56; - } else { - if (yych <= 'o') goto yy248; - if (yych == 's') goto yy249; - goto yy56; - } - } -yy191: - YYDEBUG(191, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'D') { - if (yych == 'A') goto yy253; - goto yy56; - } else { - if (yych <= 'E') goto yy372; - if (yych <= 'T') goto yy56; - goto yy255; - } - } else { - if (yych <= 'd') { - if (yych == 'a') goto yy253; - goto yy56; - } else { - if (yych <= 'e') goto yy372; - if (yych == 'u') goto yy255; - goto yy56; - } - } -yy192: - YYDEBUG(192, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'V') { - if (yych <= 'C') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '5') { - if (yych <= '/') goto yy18; - goto yy373; - } else { - if (yych <= '9') goto yy374; - if (yych >= ';') goto yy18; - } - } - } else { - if (yych <= 'H') { - if (yych <= 'E') { - if (yych <= 'D') goto yy187; - goto yy18; - } else { - if (yych == 'G') goto yy18; - goto yy187; - } - } else { - if (yych <= 'M') { - if (yych <= 'L') goto yy18; - goto yy187; - } else { - if (yych <= 'R') goto yy18; - if (yych <= 'U') goto yy187; - goto yy18; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych <= 'X') { - if (yych <= 'W') goto yy187; - goto yy18; - } else { - if (yych <= 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy193: - YYDEBUG(193, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy18; - if (yych <= '5') goto yy375; - if (yych <= '9') goto yy109; - goto yy18; -yy194: - YYDEBUG(194, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'E') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '9') { - if (yych <= '/') goto yy18; - goto yy374; - } else { - if (yych == 'D') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'L') { - if (yych == 'G') goto yy18; - if (yych <= 'H') goto yy187; - goto yy18; - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy18; - } else { - if (yych == 'V') goto yy18; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy195: - YYDEBUG(195, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'E') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '9') { - if (yych <= '/') goto yy18; - goto yy376; - } else { - if (yych == 'D') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'L') { - if (yych == 'G') goto yy18; - if (yych <= 'H') goto yy187; - goto yy18; - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy18; - } else { - if (yych == 'V') goto yy18; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy196: - YYDEBUG(196, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 13) YYFILL(13); - yych = *YYCURSOR; -yy197: - YYDEBUG(197, *YYCURSOR); - switch (yych) { - case '\t': - case ' ': - case '-': - case '.': goto yy196; - case 'A': - case 'a': goto yy73; - case 'D': - case 'd': goto yy204; - case 'F': - case 'f': goto yy205; - case 'I': goto yy77; - case 'J': - case 'j': goto yy79; - case 'M': - case 'm': goto yy206; - case 'N': - case 'n': goto yy81; - case 'O': - case 'o': goto yy82; - case 'S': - case 's': goto yy207; - case 'V': goto yy86; - case 'X': goto yy88; - default: goto yy56; - } -yy198: - YYDEBUG(198, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') { - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy377; - goto yy378; - } else { - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy200; - goto yy56; - } -yy199: - YYDEBUG(199, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') { - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy377; - goto yy378; - } else { - if (yych <= '/') goto yy56; - if (yych >= '3') goto yy56; - } -yy200: - YYDEBUG(200, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy377; - if (yych <= '.') goto yy378; - goto yy56; -yy201: - YYDEBUG(201, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') { - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy379; - goto yy377; - } else { - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy203; - goto yy56; - } -yy202: - YYDEBUG(202, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') { - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy379; - goto yy377; - } else { - if (yych <= '/') goto yy56; - if (yych >= '3') goto yy56; - } -yy203: - YYDEBUG(203, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy379; - if (yych <= '.') goto yy377; - goto yy56; -yy204: - YYDEBUG(204, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy233; - if (yych == 'e') goto yy233; - goto yy56; -yy205: - YYDEBUG(205, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy234; - if (yych == 'e') goto yy234; - goto yy56; -yy206: - YYDEBUG(206, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy246; - if (yych == 'a') goto yy246; - goto yy56; -yy207: - YYDEBUG(207, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy380; - if (yych == 'e') goto yy380; - goto yy56; -yy208: - YYDEBUG(208, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - goto yy381; - } else { - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy212; - if (yych <= ':') goto yy382; - } -yy209: - YYDEBUG(209, *YYCURSOR); -#line 1224 "parse_date.re" - { - int tz_not_found; - DEBUG_OUTPUT("timeshort24 | timelong24 | iso8601long"); - TIMELIB_INIT; - TIMELIB_HAVE_TIME(); - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - if (*ptr == ':' || *ptr == '.') { - s->time->s = timelib_get_nr((char **) &ptr, 2); - - if (*ptr == '.') { - s->time->us = timelib_get_frac_nr((char **) &ptr, 8); - } - } - - if (*ptr != '\0') { - s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); - if (tz_not_found) { - add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); - } - } - TIMELIB_DEINIT; - return TIMELIB_TIME24_WITH_ZONE; - } -#line 6560 "<stdout>" -yy210: - YYDEBUG(210, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - if (yych <= '.') goto yy381; - goto yy209; - } else { - if (yych <= '2') goto yy212; - if (yych <= '9') goto yy229; - if (yych <= ':') goto yy382; - goto yy209; - } -yy211: - YYDEBUG(211, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - goto yy381; - } else { - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy229; - if (yych <= ':') goto yy382; - goto yy209; - } -yy212: - YYDEBUG(212, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - goto yy381; - } else { - if (yych == ':') goto yy382; - goto yy209; - } -yy213: - YYDEBUG(213, *YYCURSOR); - yyaccept = 6; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') { - if (yych >= '/') goto yy383; - } else { - if (yych <= '9') goto yy216; - if (yych >= 'n') goto yy384; - } - } else { - if (yych <= 'r') { - if (yych >= 'r') goto yy384; - } else { - if (yych <= 's') goto yy385; - if (yych <= 't') goto yy386; - } - } -yy214: - YYDEBUG(214, *YYCURSOR); -#line 1316 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("americanshort | american"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->d = timelib_get_nr((char **) &ptr, 2); - if (*ptr == '/') { - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - TIMELIB_PROCESS_YEAR(s->time->y, length); - } - TIMELIB_DEINIT; - return TIMELIB_AMERICAN; - } -#line 6638 "<stdout>" -yy215: - YYDEBUG(215, *YYCURSOR); - yyaccept = 6; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') { - if (yych <= '.') goto yy214; - goto yy383; - } else { - if (yych <= '1') goto yy216; - if (yych <= 'm') goto yy214; - goto yy384; - } - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy214; - goto yy384; - } else { - if (yych <= 's') goto yy385; - if (yych <= 't') goto yy386; - goto yy214; - } - } -yy216: - YYDEBUG(216, *YYCURSOR); - yyaccept = 6; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych == '/') goto yy383; - if (yych <= 'm') goto yy214; - goto yy384; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy214; - goto yy384; - } else { - if (yych <= 's') goto yy385; - if (yych <= 't') goto yy386; - goto yy214; - } - } -yy217: - YYDEBUG(217, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'P') goto yy387; - if (yych <= 'T') goto yy56; - goto yy388; - } else { - if (yych <= 'p') { - if (yych <= 'o') goto yy56; - goto yy387; - } else { - if (yych == 'u') goto yy388; - goto yy56; - } - } -yy218: - YYDEBUG(218, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy389; - if (yych == 'e') goto yy389; - goto yy56; -yy219: - YYDEBUG(219, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy390; - if (yych == 'e') goto yy390; - goto yy56; -yy220: - YYDEBUG(220, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'A') goto yy391; - if (yych <= 'T') goto yy56; - goto yy392; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy56; - goto yy391; - } else { - if (yych == 'u') goto yy392; - goto yy56; - } - } -yy221: - YYDEBUG(221, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy393; - if (yych == 'a') goto yy393; - goto yy56; -yy222: - YYDEBUG(222, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy394; - if (yych == 'o') goto yy394; - goto yy56; -yy223: - YYDEBUG(223, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy395; - if (yych == 'c') goto yy395; - goto yy56; -yy224: - YYDEBUG(224, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy396; - if (yych == 'e') goto yy396; - goto yy56; -yy225: - YYDEBUG(225, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy197; - if (yych <= '0') goto yy397; - if (yych <= '1') goto yy398; - if (yych <= '9') goto yy203; - goto yy197; -yy226: - YYDEBUG(226, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy399; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy400; - goto yy187; -yy227: - YYDEBUG(227, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy399; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy402; - goto yy187; -yy228: - YYDEBUG(228, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy382; - goto yy209; - } else { - if (yych <= '9') goto yy229; - if (yych <= ':') goto yy382; - goto yy209; - } -yy229: - YYDEBUG(229, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy382; - if (yych == ':') goto yy382; - goto yy209; -yy230: - YYDEBUG(230, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy404; - if (yych == 'r') goto yy404; - goto yy56; -yy231: - YYDEBUG(231, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'G') goto yy405; - if (yych == 'g') goto yy405; - goto yy56; -yy232: - YYDEBUG(232, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy406; - if (yych == 'y') goto yy406; - goto yy56; -yy233: - YYDEBUG(233, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy407; - if (yych == 'c') goto yy407; - goto yy56; -yy234: - YYDEBUG(234, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'B') goto yy408; - if (yych == 'b') goto yy408; - goto yy56; -yy235: - YYDEBUG(235, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy409; - if (yych == 'r') goto yy409; - goto yy56; -yy236: - YYDEBUG(236, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy410; - if (yych == 'i') goto yy410; - goto yy56; -yy237: - YYDEBUG(237, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'U') goto yy411; - if (yych == 'u') goto yy411; - goto yy56; -yy238: - YYDEBUG(238, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 4) YYFILL(4); - yych = *YYCURSOR; - YYDEBUG(239, *YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy238; - if (yych <= 0x1F) goto yy56; - goto yy238; - } else { - if (yych <= '.') { - if (yych <= ',') goto yy56; - goto yy238; - } else { - if (yych <= '/') goto yy56; - if (yych >= ':') goto yy56; - } - } -yy240: - YYDEBUG(240, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy241; - if (yych <= '9') goto yy412; -yy241: - YYDEBUG(241, *YYCURSOR); -#line 1386 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("datefull"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->d = timelib_get_nr((char **) &ptr, 2); - timelib_skip_day_suffix((char **) &ptr); - s->time->m = timelib_get_month((char **) &ptr); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_DATE_FULL; - } -#line 6877 "<stdout>" -yy242: - YYDEBUG(242, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy78; - goto yy238; - } else { - if (yych == ' ') goto yy238; - goto yy78; - } - } else { - if (yych <= '9') { - if (yych <= '.') goto yy238; - if (yych <= '/') goto yy78; - goto yy240; - } else { - if (yych != 'I') goto yy78; - } - } -yy243: - YYDEBUG(243, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy238; - if (yych <= 0x1F) goto yy78; - goto yy238; - } else { - if (yych <= '.') { - if (yych <= ',') goto yy78; - goto yy238; - } else { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } - } -yy244: - YYDEBUG(244, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy413; - if (yych == 'n') goto yy413; - goto yy56; -yy245: - YYDEBUG(245, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych == 'L') goto yy414; - if (yych <= 'M') goto yy56; - goto yy415; - } else { - if (yych <= 'l') { - if (yych <= 'k') goto yy56; - goto yy414; - } else { - if (yych == 'n') goto yy415; - goto yy56; - } - } -yy246: - YYDEBUG(246, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych == 'R') goto yy416; - if (yych <= 'X') goto yy56; - goto yy243; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy56; - goto yy416; - } else { - if (yych == 'y') goto yy243; - goto yy56; - } - } -yy247: - YYDEBUG(247, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= 'K') { - if (yych == 'C') goto yy417; - goto yy56; - } else { - if (yych <= 'L') goto yy418; - if (yych <= 'M') goto yy56; - goto yy419; - } - } else { - if (yych <= 'k') { - if (yych == 'c') goto yy417; - goto yy56; - } else { - if (yych <= 'l') goto yy418; - if (yych == 'n') goto yy419; - goto yy56; - } - } -yy248: - YYDEBUG(248, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy420; - if (yych == 'n') goto yy420; - goto yy56; -yy249: - YYDEBUG(249, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy421; - if (yych == 'e') goto yy421; -yy250: - YYDEBUG(250, *YYCURSOR); -#line 1787 "parse_date.re" - { - timelib_ull i; - DEBUG_OUTPUT("relative"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - - while(*ptr) { - i = timelib_get_unsigned_nr((char **) &ptr, 24); - timelib_eat_spaces((char **) &ptr); - timelib_set_relative((char **) &ptr, i, 1, s); - } - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 7006 "<stdout>" -yy251: - YYDEBUG(251, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'V') goto yy407; - if (yych == 'v') goto yy407; - goto yy56; -yy252: - YYDEBUG(252, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy422; - if (yych == 't') goto yy422; - goto yy56; -yy253: - YYDEBUG(253, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy423; - if (yych == 't') goto yy423; - goto yy56; -yy254: - YYDEBUG(254, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'P') { - if (yych == 'C') goto yy424; - if (yych <= 'O') goto yy56; - goto yy425; - } else { - if (yych <= 'c') { - if (yych <= 'b') goto yy56; - goto yy424; - } else { - if (yych == 'p') goto yy425; - goto yy56; - } - } -yy255: - YYDEBUG(255, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy410; - if (yych == 'n') goto yy410; - goto yy56; -yy256: - YYDEBUG(256, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'U') goto yy426; - if (yych == 'u') goto yy426; - goto yy56; -yy257: - YYDEBUG(257, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy427; - if (yych == 'e') goto yy427; - goto yy56; -yy258: - YYDEBUG(258, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy421; - if (yych == 'e') goto yy421; - goto yy56; -yy259: - YYDEBUG(259, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= 'C') goto yy56; - if (yych <= 'D') goto yy428; - goto yy429; - } else { - if (yych <= 'c') goto yy56; - if (yych <= 'd') goto yy428; - if (yych <= 'e') goto yy429; - goto yy56; - } -yy260: - YYDEBUG(260, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy411; - if (yych == 'a') goto yy411; - goto yy56; -yy261: - YYDEBUG(261, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= ',') { - if (yych == '\t') goto yy273; - goto yy197; - } else { - if (yych <= '-') goto yy430; - if (yych <= '.') goto yy273; - if (yych <= '/') goto yy268; - goto yy197; - } -yy262: - YYDEBUG(262, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy197; - goto yy273; - } else { - if (yych <= ',') goto yy197; - if (yych <= '-') goto yy430; - goto yy273; - } - } else { - if (yych <= 'U') { - if (yych <= '/') goto yy268; - if (yych <= 'T') goto yy197; - goto yy426; - } else { - if (yych == 'u') goto yy426; - goto yy197; - } - } -yy263: - YYDEBUG(263, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy249; - if (yych == 's') goto yy249; - goto yy56; -yy264: - YYDEBUG(264, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - goto yy431; - } else { - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy432; - if (yych <= ':') goto yy433; - goto yy209; - } -yy265: - YYDEBUG(265, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - if (yych <= '.') goto yy431; - goto yy209; - } else { - if (yych <= '2') goto yy432; - if (yych <= '9') goto yy434; - if (yych <= ':') goto yy433; - goto yy209; - } -yy266: - YYDEBUG(266, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - goto yy431; - } else { - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy434; - if (yych <= ':') goto yy433; - goto yy209; - } -yy267: - YYDEBUG(267, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ',') goto yy209; - if (yych <= '-') goto yy377; - goto yy431; - } else { - if (yych == ':') goto yy433; - goto yy209; - } -yy268: - YYDEBUG(268, *YYCURSOR); - yych = *++YYCURSOR; - switch (yych) { - case 'A': - case 'a': goto yy217; - case 'D': - case 'd': goto yy218; - case 'F': - case 'f': goto yy219; - case 'J': - case 'j': goto yy220; - case 'M': - case 'm': goto yy221; - case 'N': - case 'n': goto yy222; - case 'O': - case 'o': goto yy223; - case 'S': - case 's': goto yy224; - default: goto yy56; - } -yy269: - YYDEBUG(269, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy433; - goto yy209; - } else { - if (yych <= '9') goto yy435; - if (yych <= ':') goto yy433; - goto yy209; - } -yy270: - YYDEBUG(270, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy433; - if (yych == ':') goto yy433; - goto yy209; -yy271: - YYDEBUG(271, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy272; - if (yych != 'm') goto yy56; -yy272: - YYDEBUG(272, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 0x1F) { - if (yych <= 0x00) goto yy436; - if (yych == '\t') goto yy436; - goto yy56; - } else { - if (yych <= ' ') goto yy436; - if (yych == '.') goto yy438; - goto yy56; - } -yy273: - YYDEBUG(273, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy197; - if (yych <= '0') goto yy198; - if (yych <= '1') goto yy199; - if (yych <= '9') goto yy200; - goto yy197; -yy274: - YYDEBUG(274, *YYCURSOR); - yych = *++YYCURSOR; - switch (yych) { - case '0': goto yy439; - case '1': goto yy440; - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy441; - case 'A': - case 'a': goto yy442; - case 'D': - case 'd': goto yy443; - case 'F': - case 'f': goto yy444; - case 'J': - case 'j': goto yy445; - case 'M': - case 'm': goto yy446; - case 'N': - case 'n': goto yy447; - case 'O': - case 'o': goto yy448; - case 'S': - case 's': goto yy449; - default: goto yy56; - } -yy275: - YYDEBUG(275, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy450; - goto yy56; -yy276: - YYDEBUG(276, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy451; - goto yy18; - } -yy277: - YYDEBUG(277, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - } else { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy278; - if (yych <= 'z') goto yy451; - } -yy278: - YYDEBUG(278, *YYCURSOR); -#line 1629 "parse_date.re" - { - DEBUG_OUTPUT("ago"); - TIMELIB_INIT; - s->time->relative.y = 0 - s->time->relative.y; - s->time->relative.m = 0 - s->time->relative.m; - s->time->relative.d = 0 - s->time->relative.d; - s->time->relative.h = 0 - s->time->relative.h; - s->time->relative.i = 0 - s->time->relative.i; - s->time->relative.s = 0 - s->time->relative.s; - s->time->relative.weekday = 0 - s->time->relative.weekday; - if (s->time->relative.weekday == 0) { - s->time->relative.weekday = -7; - } - if (s->time->relative.have_special_relative && s->time->relative.special.type == TIMELIB_SPECIAL_WEEKDAY) { - s->time->relative.special.amount = 0 - s->time->relative.special.amount; - } - TIMELIB_DEINIT; - return TIMELIB_AGO; - } -#line 7327 "<stdout>" -yy279: - YYDEBUG(279, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych >= '\t') goto yy136; - } else { - if (yych == ' ') goto yy136; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - } else { - if (yych == 'I') goto yy453; - goto yy451; - } - } else { - if (yych <= 'h') { - if (yych >= 'a') goto yy451; - } else { - if (yych <= 'i') goto yy453; - if (yych <= 'z') goto yy451; - } - } - } -yy280: - YYDEBUG(280, *YYCURSOR); -#line 1709 "parse_date.re" - { - DEBUG_OUTPUT("monthtext"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->m = timelib_lookup_month((char **) &ptr); - TIMELIB_DEINIT; - return TIMELIB_DATE_TEXT; - } -#line 7375 "<stdout>" -yy281: - YYDEBUG(281, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'U') goto yy454; - goto yy451; - } - } else { - if (yych <= 't') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'u') goto yy454; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy282: - YYDEBUG(282, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if (yybm[0+yych] & 64) { - goto yy455; - } - goto yy56; -yy283: - YYDEBUG(283, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy18; - if (yych <= 'Z') goto yy451; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy457; - goto yy18; - } - } -yy284: - YYDEBUG(284, *YYCURSOR); - yyaccept = 9; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy278; - } else { - if (yych == '.') goto yy278; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy278; - if (yych <= 'Z') goto yy451; - goto yy278; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy278; - if (yych <= 'z') goto yy457; - goto yy278; - } - } -yy285: - YYDEBUG(285, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'H') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'I') goto yy453; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 'h') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'i') goto yy459; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy286: - YYDEBUG(286, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'T') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'U') goto yy454; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 't') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'u') goto yy460; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy287: - YYDEBUG(287, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'K') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'J') goto yy451; - goto yy461; - } - } else { - if (yych <= 'j') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'k') goto yy461; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy288: - YYDEBUG(288, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'J') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'K') goto yy461; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'j') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'k') goto yy462; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy289: - YYDEBUG(289, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'E') goto yy463; - goto yy451; - } - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'e') goto yy463; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy290: - YYDEBUG(290, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'D') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'E') goto yy463; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 'd') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'e') goto yy464; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy291: - YYDEBUG(291, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'H') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'G') goto yy451; - goto yy465; - } - } else { - if (yych <= 'g') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'h') goto yy465; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy292: - YYDEBUG(292, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'V') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'U') goto yy451; - goto yy466; - } - } else { - if (yych <= 'u') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'v') goto yy466; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy293: - YYDEBUG(293, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'H') goto yy465; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'g') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'h') goto yy467; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy294: - YYDEBUG(294, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'U') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'V') goto yy466; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'u') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'v') goto yy468; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy295: - YYDEBUG(295, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'R') goto yy469; - goto yy451; - } - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'r') goto yy469; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy296: - YYDEBUG(296, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy451; - goto yy470; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 't') goto yy470; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy297: - YYDEBUG(297, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'R') goto yy451; - goto yy471; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 's') goto yy471; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy298: - YYDEBUG(298, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy451; - goto yy472; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'r') goto yy472; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy299: - YYDEBUG(299, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'D') { - if (yych <= ')') { - if (yych >= ')') goto yy109; - } else { - if (yych <= '@') goto yy300; - if (yych <= 'C') goto yy451; - goto yy473; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy451; - if (yych >= 'a') goto yy451; - } else { - if (yych <= 'd') goto yy473; - if (yych <= 'z') goto yy451; - } - } -yy300: - YYDEBUG(300, *YYCURSOR); -#line 1650 "parse_date.re" - { - const timelib_relunit* relunit; - DEBUG_OUTPUT("daytext"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - TIMELIB_HAVE_WEEKDAY_RELATIVE(); - TIMELIB_UNHAVE_TIME(); - relunit = timelib_lookup_relunit((char**) &ptr); - s->time->relative.weekday = relunit->multiplier; - if (s->time->relative.weekday_behavior != 2) { - s->time->relative.weekday_behavior = 1; - } - - TIMELIB_DEINIT; - return TIMELIB_WEEKDAY; - } -#line 7967 "<stdout>" -yy301: - YYDEBUG(301, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy451; - goto yy474; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'n') goto yy474; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy302: - YYDEBUG(302, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'Q') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'R') goto yy469; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 'q') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'r') goto yy475; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy303: - YYDEBUG(303, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy470; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 't') goto yy476; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy304: - YYDEBUG(304, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'S') goto yy471; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'r') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 's') goto yy477; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy305: - YYDEBUG(305, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy472; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'r') goto yy478; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy306: - YYDEBUG(306, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy300; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy300; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'D') goto yy473; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy300; - goto yy282; - } else { - if (yych <= 'c') { - if (yych <= '`') goto yy300; - goto yy457; - } else { - if (yych <= 'd') goto yy479; - if (yych <= 'z') goto yy457; - goto yy300; - } - } - } -yy307: - YYDEBUG(307, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy474; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'n') goto yy480; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy308: - YYDEBUG(308, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych == '+') goto yy481; - goto yy18; - } - } else { - if (yych <= 'Z') { - if (yych <= '-') goto yy481; - if (yych <= '@') goto yy18; - goto yy451; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy309: - YYDEBUG(309, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '0') { - if (yych >= '0') goto yy482; - } else { - if (yych <= '1') goto yy483; - if (yych <= '2') goto yy484; - goto yy485; - } - } else { - if (yych <= 'T') { - if (yych >= 'T') goto yy486; - } else { - if (yych == 't') goto yy486; - } - } -yy310: - YYDEBUG(310, *YYCURSOR); -#line 1455 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("datetextual | datenoyear"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->m = timelib_get_month((char **) &ptr); - s->time->d = timelib_get_nr((char **) &ptr, 2); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_DATE_TEXT; - } -#line 8248 "<stdout>" -yy311: - YYDEBUG(311, *YYCURSOR); - yyaccept = 11; - YYMARKER = ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 18) YYFILL(18); - yych = *YYCURSOR; -yy312: - YYDEBUG(312, *YYCURSOR); - if (yybm[0+yych] & 32) { - goto yy311; - } - if (yych <= '2') { - if (yych <= '/') goto yy310; - if (yych <= '0') goto yy487; - if (yych <= '1') goto yy488; - goto yy489; - } else { - if (yych <= '9') goto yy490; - if (yych == 'T') goto yy486; - goto yy310; - } -yy313: - YYDEBUG(313, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= ' ') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy309; - goto yy56; - } else { - if (yych <= '\t') goto yy311; - if (yych <= 0x1F) goto yy56; - goto yy311; - } - } else { - if (yych <= '-') { - if (yych == ',') goto yy311; - goto yy56; - } else { - if (yych <= '.') goto yy311; - if (yych <= '/') goto yy56; - goto yy491; - } - } - } else { - if (yych <= 'm') { - if (yych <= 'd') { - if (yych <= 'c') goto yy56; - goto yy311; - } else { - if (yych == 'h') goto yy311; - goto yy56; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy314; - if (yych <= 'q') goto yy56; - } else { - if (yych <= 's') goto yy315; - if (yych <= 't') goto yy316; - goto yy56; - } - } - } -yy314: - YYDEBUG(314, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'd') goto yy492; - goto yy312; -yy315: - YYDEBUG(315, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 't') goto yy492; - goto yy312; -yy316: - YYDEBUG(316, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'h') goto yy492; - goto yy312; -yy317: - YYDEBUG(317, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy491; - goto yy56; -yy318: - YYDEBUG(318, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy136; - goto yy18; - } else { - if (yych <= ' ') goto yy136; - if (yych == ')') goto yy109; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych == '/') goto yy18; - if (yych <= '9') goto yy136; - goto yy18; - } else { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy319: - YYDEBUG(319, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'U') goto yy493; - goto yy451; - } - } else { - if (yych <= 't') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'u') goto yy493; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy320: - YYDEBUG(320, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'Y') goto yy494; - goto yy451; - } - } else { - if (yych <= 'x') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'y') goto yy494; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy321: - YYDEBUG(321, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'E') goto yy494; - goto yy451; - } - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'e') goto yy494; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy322: - YYDEBUG(322, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'T') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'U') goto yy493; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 't') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'u') goto yy495; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy323: - YYDEBUG(323, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'X') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'Y') goto yy494; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 'x') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'y') goto yy496; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy324: - YYDEBUG(324, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'D') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'E') goto yy494; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 'd') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'e') goto yy496; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy325: - YYDEBUG(325, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy451; - goto yy497; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 't') goto yy497; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy326: - YYDEBUG(326, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy497; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 't') goto yy498; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy327: - YYDEBUG(327, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'C') goto yy499; - goto yy451; - } - } else { - if (yych <= 'b') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'c') goto yy499; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy328: - YYDEBUG(328, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '-') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy280; - goto yy136; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy452; - } - } else { - if (yych <= '@') { - if (yych == '/') goto yy280; - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy280; - if (yych <= 'z') goto yy451; - goto yy280; - } - } -yy329: - YYDEBUG(329, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy451; - goto yy500; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'n') goto yy500; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy330: - YYDEBUG(330, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'B') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'C') goto yy499; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 'b') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'c') goto yy501; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy331: - YYDEBUG(331, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy280; - goto yy136; - } else { - if (yych <= ')') { - if (yych <= '(') goto yy280; - goto yy109; - } else { - if (yych <= ',') goto yy280; - if (yych <= '-') goto yy458; - goto yy136; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '/') goto yy282; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy280; - goto yy282; - } else { - if (yych <= '`') goto yy280; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy332: - YYDEBUG(332, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy500; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'n') goto yy502; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy333: - YYDEBUG(333, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy451; - goto yy503; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 't') goto yy503; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy334: - YYDEBUG(334, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy451; - goto yy504; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'n') goto yy504; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy335: - YYDEBUG(335, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - } else { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy336; - if (yych <= 'z') goto yy451; - } -yy336: - YYDEBUG(336, *YYCURSOR); -#line 1028 "parse_date.re" - { - DEBUG_OUTPUT("now"); - TIMELIB_INIT; - - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 8950 "<stdout>" -yy337: - YYDEBUG(337, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy503; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 't') goto yy506; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy338: - YYDEBUG(338, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy504; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'n') goto yy507; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy339: - YYDEBUG(339, *YYCURSOR); - yyaccept = 12; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy336; - } else { - if (yych == '.') goto yy336; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy336; - if (yych <= 'Z') goto yy451; - goto yy336; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy336; - if (yych <= 'z') goto yy457; - goto yy336; - } - } -yy340: - YYDEBUG(340, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'O') goto yy508; - goto yy451; - } - } else { - if (yych <= 'n') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 'o') goto yy508; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy341: - YYDEBUG(341, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'N') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'O') goto yy508; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 'n') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 'o') goto yy509; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy342: - YYDEBUG(342, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'V') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'U') goto yy451; - goto yy510; - } - } else { - if (yych <= 'u') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'v') goto yy510; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy343: - YYDEBUG(343, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'U') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'V') goto yy510; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'u') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'v') goto yy511; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy344: - YYDEBUG(344, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= ')') { - if (yych <= '(') goto yy300; - goto yy109; - } else { - if (yych <= '@') goto yy300; - if (yych <= 'T') goto yy451; - goto yy512; - } - } else { - if (yych <= 't') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy300; - goto yy451; - } else { - if (yych <= 'u') goto yy512; - if (yych <= 'z') goto yy451; - goto yy300; - } - } -yy345: - YYDEBUG(345, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'N') goto yy451; - goto yy513; - } - } else { - if (yych <= 'n') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'o') goto yy513; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy346: - YYDEBUG(346, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'T') goto yy514; - goto yy451; - } - } else { - if (yych <= 's') { - if (yych <= '`') goto yy280; - goto yy451; - } else { - if (yych <= 't') goto yy514; - if (yych <= 'z') goto yy451; - goto yy280; - } - } - } -yy347: - YYDEBUG(347, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy451; - goto yy515; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'e') goto yy515; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy348: - YYDEBUG(348, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy300; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy300; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'U') goto yy512; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy300; - goto yy282; - } else { - if (yych <= 't') { - if (yych <= '`') goto yy300; - goto yy457; - } else { - if (yych <= 'u') goto yy516; - if (yych <= 'z') goto yy457; - goto yy300; - } - } - } -yy349: - YYDEBUG(349, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'O') goto yy513; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'n') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'o') goto yy517; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy350: - YYDEBUG(350, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'S') { - if (yych <= '@') goto yy280; - goto yy451; - } else { - if (yych <= 'T') goto yy514; - if (yych <= 'Z') goto yy451; - goto yy280; - } - } else { - if (yych <= 's') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy457; - } else { - if (yych <= 't') goto yy518; - if (yych <= 'z') goto yy457; - goto yy280; - } - } - } -yy351: - YYDEBUG(351, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy515; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'e') goto yy519; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy352: - YYDEBUG(352, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy72; - goto yy56; - } else { - if (yych <= '5') goto yy520; - if (yych == ':') goto yy72; - goto yy56; - } -yy353: - YYDEBUG(353, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Q') goto yy451; - if (yych <= 'R') goto yy521; - goto yy503; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'r') goto yy521; - if (yych <= 's') goto yy503; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy354: - YYDEBUG(354, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy300; - goto yy109; - } else { - if (yych <= '@') goto yy300; - if (yych <= 'Q') goto yy451; - goto yy522; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy300; - goto yy451; - } else { - if (yych <= 'r') goto yy522; - if (yych <= 'z') goto yy451; - goto yy300; - } - } -yy355: - YYDEBUG(355, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy523; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy451; - goto yy18; - } else { - if (yych <= 'a') goto yy523; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy356: - YYDEBUG(356, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'N') goto yy451; - goto yy524; - } - } else { - if (yych <= 'n') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'o') goto yy524; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy357: - YYDEBUG(357, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= ')') { - if (yych <= '(') goto yy300; - goto yy109; - } else { - if (yych <= '@') goto yy300; - if (yych <= 'R') goto yy451; - goto yy525; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy300; - goto yy451; - } else { - if (yych <= 's') goto yy525; - if (yych <= 'z') goto yy451; - goto yy300; - } - } -yy358: - YYDEBUG(358, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'K') goto yy451; - goto yy526; - } - } else { - if (yych <= 'k') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'l') goto yy526; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy359: - YYDEBUG(359, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych <= '/') { - if (yych <= '.') goto yy18; - goto yy282; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy451; - goto yy521; - } - } - } else { - if (yych <= '`') { - if (yych <= 'Z') { - if (yych <= 'S') goto yy503; - goto yy451; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy457; - goto yy527; - } else { - if (yych <= 's') goto yy506; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy360: - YYDEBUG(360, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy300; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy300; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy522; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy300; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy300; - goto yy457; - } else { - if (yych <= 'r') goto yy528; - if (yych <= 'z') goto yy457; - goto yy300; - } - } - } -yy361: - YYDEBUG(361, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '_') { - if (yych <= 'A') goto yy523; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy529; - if (yych <= 'z') goto yy457; - goto yy18; - } - } -yy362: - YYDEBUG(362, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'O') goto yy524; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'n') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'o') goto yy530; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy363: - YYDEBUG(363, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy300; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy300; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'S') goto yy525; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy300; - goto yy282; - } else { - if (yych <= 'r') { - if (yych <= '`') goto yy300; - goto yy457; - } else { - if (yych <= 's') goto yy531; - if (yych <= 'z') goto yy457; - goto yy300; - } - } - } -yy364: - YYDEBUG(364, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'K') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'L') goto yy526; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'k') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'l') goto yy532; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy365: - YYDEBUG(365, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy18; - goto yy136; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy136; - } - } else { - if (yych <= 'H') { - if (yych <= '/') goto yy18; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy18; - goto yy451; - } else { - if (yych <= 'Z') { - if (yych <= 'I') goto yy533; - goto yy451; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy451; - goto yy18; - } - } - } -yy366: - YYDEBUG(366, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy300; - goto yy109; - } else { - if (yych <= '@') goto yy300; - if (yych <= 'M') goto yy451; - goto yy534; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy300; - goto yy451; - } else { - if (yych <= 'n') goto yy534; - if (yych <= 'z') goto yy451; - goto yy300; - } - } -yy367: - YYDEBUG(367, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'K') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'J') goto yy451; - goto yy535; - } - } else { - if (yych <= 'j') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 'k') goto yy535; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy368: - YYDEBUG(368, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy300; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy300; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy534; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy300; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy300; - goto yy457; - } else { - if (yych <= 'n') goto yy536; - if (yych <= 'z') goto yy457; - goto yy300; - } - } - } -yy369: - YYDEBUG(369, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'J') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'K') goto yy535; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'j') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 'k') goto yy537; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy370: - YYDEBUG(370, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy451; - goto yy538; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy451; - if (yych <= '`') goto yy18; - goto yy451; - } else { - if (yych <= 't') goto yy538; - if (yych <= 'z') goto yy451; - goto yy18; - } - } -yy371: - YYDEBUG(371, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy451; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy538; - if (yych <= 'Z') goto yy451; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy457; - } else { - if (yych <= 't') goto yy539; - if (yych <= 'z') goto yy457; - goto yy18; - } - } - } -yy372: - YYDEBUG(372, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy424; - if (yych == 'c') goto yy424; - goto yy56; -yy373: - YYDEBUG(373, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'E') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '9') { - if (yych <= '/') goto yy18; - goto yy540; - } else { - if (yych == 'D') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'L') { - if (yych == 'G') goto yy18; - if (yych <= 'H') goto yy187; - goto yy18; - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy18; - } else { - if (yych == 'V') goto yy18; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy374: - YYDEBUG(374, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'E') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '9') { - if (yych <= '/') goto yy18; - goto yy541; - } else { - if (yych == 'D') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'L') { - if (yych == 'G') goto yy18; - if (yych <= 'H') goto yy187; - goto yy18; - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy18; - } else { - if (yych == 'V') goto yy18; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy375: - YYDEBUG(375, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy18; - if (yych <= '9') goto yy109; - goto yy18; -yy376: - YYDEBUG(376, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy541; - goto yy187; -yy377: - YYDEBUG(377, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy542; - goto yy56; -yy378: - YYDEBUG(378, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy543; - goto yy56; -yy379: - YYDEBUG(379, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy544; - if (yych <= '3') goto yy546; - if (yych <= '9') goto yy547; - goto yy56; -yy380: - YYDEBUG(380, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'P') goto yy425; - if (yych == 'p') goto yy425; - goto yy56; -yy381: - YYDEBUG(381, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy548; - if (yych <= '6') goto yy549; - if (yych <= '9') goto yy550; - goto yy56; -yy382: - YYDEBUG(382, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy551; - if (yych <= '6') goto yy552; - if (yych <= '9') goto yy553; - goto yy56; -yy383: - YYDEBUG(383, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy554; - goto yy56; -yy384: - YYDEBUG(384, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'd') goto yy555; - goto yy56; -yy385: - YYDEBUG(385, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 't') goto yy555; - goto yy56; -yy386: - YYDEBUG(386, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'h') goto yy555; - goto yy56; -yy387: - YYDEBUG(387, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy556; - if (yych == 'r') goto yy556; - goto yy56; -yy388: - YYDEBUG(388, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'G') goto yy556; - if (yych == 'g') goto yy556; - goto yy56; -yy389: - YYDEBUG(389, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy556; - if (yych == 'c') goto yy556; - goto yy56; -yy390: - YYDEBUG(390, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'B') goto yy556; - if (yych == 'b') goto yy556; - goto yy56; -yy391: - YYDEBUG(391, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy556; - if (yych == 'n') goto yy556; - goto yy56; -yy392: - YYDEBUG(392, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych == 'L') goto yy556; - if (yych <= 'M') goto yy56; - goto yy556; - } else { - if (yych <= 'l') { - if (yych <= 'k') goto yy56; - goto yy556; - } else { - if (yych == 'n') goto yy556; - goto yy56; - } - } -yy393: - YYDEBUG(393, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych == 'R') goto yy556; - if (yych <= 'X') goto yy56; - goto yy556; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy56; - goto yy556; - } else { - if (yych == 'y') goto yy556; - goto yy56; - } - } -yy394: - YYDEBUG(394, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'V') goto yy556; - if (yych == 'v') goto yy556; - goto yy56; -yy395: - YYDEBUG(395, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy556; - if (yych == 't') goto yy556; - goto yy56; -yy396: - YYDEBUG(396, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'P') goto yy557; - if (yych == 'p') goto yy557; - goto yy56; -yy397: - YYDEBUG(397, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') { - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy379; - goto yy377; - } else { - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy558; - goto yy56; - } -yy398: - YYDEBUG(398, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') { - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy379; - goto yy377; - } else { - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy558; - goto yy56; - } -yy399: - YYDEBUG(399, *YYCURSOR); - yych = *++YYCURSOR; - switch (yych) { - case '0': goto yy559; - case '1': goto yy560; - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy441; - case 'A': - case 'a': goto yy442; - case 'D': - case 'd': goto yy443; - case 'F': - case 'f': goto yy444; - case 'J': - case 'j': goto yy445; - case 'M': - case 'm': goto yy446; - case 'N': - case 'n': goto yy447; - case 'O': - case 'o': goto yy448; - case 'S': - case 's': goto yy449; - default: goto yy56; - } -yy400: - YYDEBUG(400, *YYCURSOR); - yyaccept = 13; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'L') { - if (yych <= '3') { - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy562; - } else { - if (yych <= ' ') goto yy562; - if (yych >= '-') goto yy563; - } - } else { - if (yych <= '0') { - if (yych <= '.') goto yy564; - if (yych <= '/') goto yy565; - goto yy566; - } else { - if (yych <= '1') goto yy567; - if (yych <= '2') goto yy568; - goto yy569; - } - } - } else { - if (yych <= 'A') { - if (yych <= '9') { - if (yych <= '5') goto yy570; - if (yych <= '6') goto yy571; - goto yy57; - } else { - if (yych <= ':') goto yy572; - if (yych >= 'A') goto yy562; - } - } else { - if (yych <= 'E') { - if (yych == 'D') goto yy562; - } else { - if (yych == 'G') goto yy401; - if (yych <= 'J') goto yy562; - } - } - } - } else { - if (yych <= 'h') { - if (yych <= '`') { - if (yych <= 'V') { - if (yych <= 'O') goto yy562; - if (yych >= 'S') goto yy562; - } else { - if (yych <= 'W') goto yy584; - if (yych <= 'Y') goto yy562; - } - } else { - if (yych <= 'd') { - if (yych <= 'a') goto yy562; - if (yych >= 'd') goto yy562; - } else { - if (yych == 'f') goto yy562; - if (yych >= 'h') goto yy562; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'l') { - if (yych == 'j') goto yy562; - } else { - if (yych <= 'o') goto yy562; - if (yych >= 's') goto yy562; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy562; - } else { - if (yych <= 'y') goto yy562; - if (yych == 0xC2) goto yy562; - } - } - } - } -yy401: - YYDEBUG(401, *YYCURSOR); -#line 1250 "parse_date.re" - { - DEBUG_OUTPUT("gnunocolon"); - TIMELIB_INIT; - switch (s->time->have_time) { - case 0: - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - s->time->s = 0; - break; - case 1: - s->time->y = timelib_get_nr((char **) &ptr, 4); - break; - default: - TIMELIB_DEINIT; - add_error(s, TIMELIB_ERR_DOUBLE_TIME, "Double time specification"); - return TIMELIB_ERROR; - } - s->time->have_time++; - TIMELIB_DEINIT; - return TIMELIB_GNU_NOCOLON; - } -#line 10414 "<stdout>" -yy402: - YYDEBUG(402, *YYCURSOR); - yyaccept = 14; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'O') { - if (yych <= '3') { - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy562; - } else { - if (yych <= ' ') goto yy562; - if (yych >= '-') goto yy563; - } - } else { - if (yych <= '0') { - if (yych <= '.') goto yy564; - if (yych <= '/') goto yy565; - goto yy586; - } else { - if (yych <= '1') goto yy587; - if (yych <= '2') goto yy588; - goto yy589; - } - } - } else { - if (yych <= 'D') { - if (yych <= '@') { - if (yych <= '9') goto yy57; - if (yych <= ':') goto yy572; - } else { - if (yych <= 'A') goto yy562; - if (yych >= 'D') goto yy562; - } - } else { - if (yych <= 'G') { - if (yych == 'F') goto yy562; - } else { - if (yych <= 'J') goto yy562; - if (yych >= 'M') goto yy562; - } - } - } - } else { - if (yych <= 'h') { - if (yych <= 'a') { - if (yych <= 'W') { - if (yych <= 'R') goto yy403; - if (yych <= 'V') goto yy562; - goto yy584; - } else { - if (yych <= 'Y') goto yy562; - if (yych >= 'a') goto yy562; - } - } else { - if (yych <= 'e') { - if (yych == 'd') goto yy562; - } else { - if (yych != 'g') goto yy562; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'l') { - if (yych == 'j') goto yy562; - } else { - if (yych <= 'o') goto yy562; - if (yych >= 's') goto yy562; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy562; - } else { - if (yych <= 'y') goto yy562; - if (yych == 0xC2) goto yy562; - } - } - } - } -yy403: - YYDEBUG(403, *YYCURSOR); -#line 1620 "parse_date.re" - { - DEBUG_OUTPUT("year4"); - TIMELIB_INIT; - s->time->y = timelib_get_nr((char **) &ptr, 4); - TIMELIB_DEINIT; - return TIMELIB_CLF; - } -#line 10503 "<stdout>" -yy404: - YYDEBUG(404, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'H') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'I') goto yy590; - if (yych == 'i') goto yy590; - goto yy78; - } - } -yy405: - YYDEBUG(405, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'T') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'U') goto yy591; - if (yych == 'u') goto yy591; - goto yy78; - } - } -yy406: - YYDEBUG(406, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy592; - if (yych == 's') goto yy592; - goto yy250; -yy407: - YYDEBUG(407, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'D') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'E') goto yy593; - if (yych == 'e') goto yy593; - goto yy78; - } - } -yy408: - YYDEBUG(408, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'Q') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'R') goto yy594; - if (yych == 'r') goto yy594; - goto yy78; - } - } -yy409: - YYDEBUG(409, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy595; - if (yych == 't') goto yy595; - goto yy56; -yy410: - YYDEBUG(410, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'D') goto yy596; - if (yych == 'd') goto yy596; - goto yy250; -yy411: - YYDEBUG(411, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy406; - if (yych == 'r') goto yy406; - goto yy56; -yy412: - YYDEBUG(412, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy241; - if (yych <= '9') goto yy597; - goto yy241; -yy413: - YYDEBUG(413, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'T') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'U') goto yy598; - if (yych == 'u') goto yy598; - goto yy78; - } - } -yy414: - YYDEBUG(414, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'X') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'Y') goto yy243; - if (yych == 'y') goto yy243; - goto yy78; - } - } -yy415: - YYDEBUG(415, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'D') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'E') goto yy243; - if (yych == 'e') goto yy243; - goto yy78; - } - } -yy416: - YYDEBUG(416, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'B') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'C') goto yy599; - if (yych == 'c') goto yy599; - goto yy78; - } - } -yy417: - YYDEBUG(417, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy600; - if (yych == 'r') goto yy600; - goto yy56; -yy418: - YYDEBUG(418, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'L') goto yy601; - if (yych == 'l') goto yy601; - goto yy56; -yy419: - YYDEBUG(419, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'U') { - if (yych == 'S') goto yy592; - if (yych <= 'T') goto yy250; - goto yy602; - } else { - if (yych <= 's') { - if (yych <= 'r') goto yy250; - goto yy592; - } else { - if (yych == 'u') goto yy602; - goto yy250; - } - } -yy420: - YYDEBUG(420, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych == 'D') goto yy596; - if (yych <= 'S') goto yy250; - goto yy603; - } else { - if (yych <= 'd') { - if (yych <= 'c') goto yy250; - goto yy596; - } else { - if (yych == 't') goto yy603; - goto yy250; - } - } -yy421: - YYDEBUG(421, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy406; - if (yych == 'c') goto yy406; - goto yy56; -yy422: - YYDEBUG(422, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'N') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'O') goto yy604; - if (yych == 'o') goto yy604; - goto yy78; - } - } -yy423: - YYDEBUG(423, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'U') goto yy605; - if (yych == 'u') goto yy605; - goto yy250; -yy424: - YYDEBUG(424, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych == 'O') goto yy606; - if (yych <= 'R') goto yy250; - goto yy592; - } else { - if (yych <= 'o') { - if (yych <= 'n') goto yy250; - goto yy606; - } else { - if (yych == 's') goto yy592; - goto yy250; - } - } -yy425: - YYDEBUG(425, *YYCURSOR); - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy238; - goto yy78; - } else { - if (yych <= ' ') goto yy238; - if (yych <= ',') goto yy78; - goto yy238; - } - } else { - if (yych <= 'S') { - if (yych <= '/') goto yy78; - if (yych <= '9') goto yy240; - goto yy78; - } else { - if (yych <= 'T') goto yy407; - if (yych == 't') goto yy407; - goto yy78; - } - } -yy426: - YYDEBUG(426, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'R') goto yy607; - if (yych == 'r') goto yy607; - goto yy250; -yy427: - YYDEBUG(427, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'S') goto yy608; - if (yych == 's') goto yy608; - goto yy250; -yy428: - YYDEBUG(428, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'N') goto yy609; - if (yych == 'n') goto yy609; - goto yy250; -yy429: - YYDEBUG(429, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'K') goto yy610; - if (yych == 'k') goto yy610; - goto yy56; -yy430: - YYDEBUG(430, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy197; - if (yych <= '0') goto yy611; - if (yych <= '1') goto yy612; - if (yych <= '9') goto yy613; - goto yy197; -yy431: - YYDEBUG(431, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy614; - if (yych <= '6') goto yy615; - if (yych <= '9') goto yy550; - goto yy56; -yy432: - YYDEBUG(432, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ':') { - if (yych <= ' ') { - if (yych == '\t') goto yy616; - if (yych <= 0x1F) goto yy209; - goto yy616; - } else { - if (yych <= '-') { - if (yych <= ',') goto yy209; - goto yy377; - } else { - if (yych <= '.') goto yy431; - if (yych <= '9') goto yy209; - } - } - } else { - if (yych <= 'P') { - if (yych == 'A') goto yy102; - if (yych <= 'O') goto yy209; - goto yy102; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy209; - goto yy102; - } else { - if (yych == 'p') goto yy102; - goto yy209; - } - } - } -yy433: - YYDEBUG(433, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy618; - if (yych <= '6') goto yy619; - if (yych <= '9') goto yy553; - goto yy56; -yy434: - YYDEBUG(434, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ':') { - if (yych <= ' ') { - if (yych == '\t') goto yy616; - if (yych <= 0x1F) goto yy209; - goto yy616; - } else { - if (yych == '.') goto yy433; - if (yych <= '9') goto yy209; - goto yy433; - } - } else { - if (yych <= 'P') { - if (yych == 'A') goto yy102; - if (yych <= 'O') goto yy209; - goto yy102; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy209; - goto yy102; - } else { - if (yych == 'p') goto yy102; - goto yy209; - } - } - } -yy435: - YYDEBUG(435, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ':') { - if (yych <= ' ') { - if (yych == '\t') goto yy616; - if (yych <= 0x1F) goto yy209; - goto yy616; - } else { - if (yych == '.') goto yy433; - if (yych <= '9') goto yy209; - goto yy620; - } - } else { - if (yych <= 'P') { - if (yych == 'A') goto yy102; - if (yych <= 'O') goto yy209; - goto yy102; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy209; - goto yy102; - } else { - if (yych == 'p') goto yy102; - goto yy209; - } - } - } -yy436: - YYDEBUG(436, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(437, *YYCURSOR); -#line 1187 "parse_date.re" - { - DEBUG_OUTPUT("timetiny12 | timeshort12 | timelong12"); - TIMELIB_INIT; - TIMELIB_HAVE_TIME(); - s->time->h = timelib_get_nr((char **) &ptr, 2); - if (*ptr == ':' || *ptr == '.') { - s->time->i = timelib_get_nr((char **) &ptr, 2); - if (*ptr == ':' || *ptr == '.') { - s->time->s = timelib_get_nr((char **) &ptr, 2); - } - } - s->time->h += timelib_meridian((char **) &ptr, s->time->h); - TIMELIB_DEINIT; - return TIMELIB_TIME12; - } -#line 11013 "<stdout>" -yy438: - YYDEBUG(438, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '\t') { - if (yych <= 0x00) goto yy436; - if (yych <= 0x08) goto yy56; - goto yy436; - } else { - if (yych == ' ') goto yy436; - goto yy56; - } -yy439: - YYDEBUG(439, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy621; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy622; - goto yy56; -yy440: - YYDEBUG(440, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy621; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy622; - goto yy56; -yy441: - YYDEBUG(441, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy621; - goto yy56; -yy442: - YYDEBUG(442, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'P') goto yy623; - if (yych <= 'T') goto yy56; - goto yy624; - } else { - if (yych <= 'p') { - if (yych <= 'o') goto yy56; - goto yy623; - } else { - if (yych == 'u') goto yy624; - goto yy56; - } - } -yy443: - YYDEBUG(443, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy625; - if (yych == 'e') goto yy625; - goto yy56; -yy444: - YYDEBUG(444, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy626; - if (yych == 'e') goto yy626; - goto yy56; -yy445: - YYDEBUG(445, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'A') goto yy627; - if (yych <= 'T') goto yy56; - goto yy628; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy56; - goto yy627; - } else { - if (yych == 'u') goto yy628; - goto yy56; - } - } -yy446: - YYDEBUG(446, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy629; - if (yych == 'a') goto yy629; - goto yy56; -yy447: - YYDEBUG(447, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy630; - if (yych == 'o') goto yy630; - goto yy56; -yy448: - YYDEBUG(448, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy631; - if (yych == 'c') goto yy631; - goto yy56; -yy449: - YYDEBUG(449, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy632; - if (yych == 'e') goto yy632; - goto yy56; -yy450: - YYDEBUG(450, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy633; - goto yy56; -yy451: - YYDEBUG(451, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy634; - goto yy18; - } -yy452: - YYDEBUG(452, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy136; - if (yych <= '2') goto yy635; - if (yych <= '3') goto yy636; - goto yy136; -yy453: - YYDEBUG(453, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'K') goto yy634; - goto yy637; - } - } else { - if (yych <= 'k') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'l') goto yy637; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy454: - YYDEBUG(454, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'R') goto yy634; - goto yy638; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 's') goto yy638; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy455: - YYDEBUG(455, *YYCURSOR); - yyaccept = 2; - YYMARKER = ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(456, *YYCURSOR); - if (yybm[0+yych] & 64) { - goto yy455; - } - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy18; - } else { - if (yych <= '/') goto yy282; - if (yych == '_') goto yy282; - goto yy18; - } -yy457: - YYDEBUG(457, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy18; - if (yych <= 'Z') goto yy634; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy639; - goto yy18; - } - } -yy458: - YYDEBUG(458, *YYCURSOR); - yych = *++YYCURSOR; - if (yybm[0+yych] & 64) { - goto yy455; - } - if (yych <= '/') goto yy136; - if (yych <= '2') goto yy635; - if (yych <= '3') goto yy636; - goto yy136; -yy459: - YYDEBUG(459, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'K') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'L') goto yy637; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'k') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'l') goto yy640; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy460: - YYDEBUG(460, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'S') goto yy638; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'r') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 's') goto yy641; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy461: - YYDEBUG(461, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ')') { - if (yych == ' ') goto yy642; - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= 'Z') { - if (yych <= '@') goto yy18; - goto yy634; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy462: - YYDEBUG(462, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= '(') { - if (yych == ' ') goto yy642; - goto yy18; - } else { - if (yych <= ')') goto yy109; - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '^') { - if (yych <= '/') goto yy282; - if (yych <= '@') goto yy18; - if (yych <= 'Z') goto yy634; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy639; - goto yy18; - } - } -yy463: - YYDEBUG(463, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'M') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'L') goto yy634; - goto yy643; - } - } else { - if (yych <= 'l') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'm') goto yy643; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy464: - YYDEBUG(464, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'L') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'M') goto yy643; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'l') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'm') goto yy644; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy465: - YYDEBUG(465, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy634; - goto yy645; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 't') goto yy645; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy466: - YYDEBUG(466, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy634; - goto yy646; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'e') goto yy646; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy467: - YYDEBUG(467, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy645; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 't') goto yy647; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy468: - YYDEBUG(468, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy646; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'e') goto yy648; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy469: - YYDEBUG(469, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'T') goto yy634; - goto yy649; - } - } else { - if (yych <= 't') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'u') goto yy649; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy470: - YYDEBUG(470, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'H') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'G') goto yy634; - goto yy650; - } - } else { - if (yych <= 'g') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'h') goto yy650; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy471: - YYDEBUG(471, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy634; - goto yy651; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 't') goto yy651; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy472: - YYDEBUG(472, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy634; - goto yy652; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 't') goto yy652; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy473: - YYDEBUG(473, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy653; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy634; - goto yy18; - } else { - if (yych <= 'a') goto yy653; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy474: - YYDEBUG(474, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy634; - goto yy654; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 't') goto yy654; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy475: - YYDEBUG(475, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'U') goto yy649; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 't') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'u') goto yy655; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy476: - YYDEBUG(476, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'H') goto yy650; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'g') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'h') goto yy656; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy477: - YYDEBUG(477, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy651; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 't') goto yy657; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy478: - YYDEBUG(478, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy652; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 't') goto yy658; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy479: - YYDEBUG(479, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '_') { - if (yych <= 'A') goto yy653; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy659; - if (yych <= 'z') goto yy639; - goto yy18; - } - } -yy480: - YYDEBUG(480, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy654; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 't') goto yy660; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy481: - YYDEBUG(481, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy661; - if (yych <= '2') goto yy662; - if (yych <= '9') goto yy663; - goto yy56; -yy482: - YYDEBUG(482, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy664; - goto yy56; - } else { - if (yych <= '0') goto yy665; - if (yych <= '9') goto yy485; - if (yych <= ':') goto yy664; - goto yy56; - } -yy483: - YYDEBUG(483, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy666; - goto yy56; - } else { - if (yych <= '2') goto yy485; - if (yych <= '9') goto yy665; - if (yych <= ':') goto yy666; - goto yy56; - } -yy484: - YYDEBUG(484, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy666; - goto yy56; - } else { - if (yych <= '4') goto yy665; - if (yych == ':') goto yy666; - goto yy56; - } -yy485: - YYDEBUG(485, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '.') goto yy666; - if (yych == ':') goto yy666; - goto yy56; -yy486: - YYDEBUG(486, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy667; - if (yych <= '2') goto yy668; - if (yych <= '9') goto yy665; - goto yy56; -yy487: - YYDEBUG(487, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy664; - goto yy310; - } else { - if (yych <= '0') goto yy669; - if (yych <= '9') goto yy670; - if (yych <= ':') goto yy664; - goto yy310; - } -yy488: - YYDEBUG(488, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy666; - goto yy310; - } else { - if (yych <= '2') goto yy670; - if (yych <= '9') goto yy669; - if (yych <= ':') goto yy666; - goto yy310; - } -yy489: - YYDEBUG(489, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy666; - goto yy310; - } else { - if (yych <= '4') goto yy669; - if (yych <= '9') goto yy671; - if (yych <= ':') goto yy666; - goto yy310; - } -yy490: - YYDEBUG(490, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy666; - goto yy310; - } else { - if (yych <= '9') goto yy671; - if (yych <= ':') goto yy666; - goto yy310; - } -yy491: - YYDEBUG(491, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy672; - goto yy56; -yy492: - YYDEBUG(492, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 0x00) goto yy309; - goto yy312; -yy493: - YYDEBUG(493, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy674; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy634; - goto yy18; - } else { - if (yych <= 'a') goto yy674; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy494: - YYDEBUG(494, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy136; - goto yy280; - } else { - if (yych <= ' ') goto yy136; - if (yych == ')') goto yy109; - goto yy280; - } - } else { - if (yych <= '@') { - if (yych == '/') goto yy280; - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy280; - if (yych <= 'z') goto yy634; - goto yy280; - } - } -yy495: - YYDEBUG(495, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '_') { - if (yych <= 'A') goto yy674; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy675; - if (yych <= 'z') goto yy639; - goto yy18; - } - } -yy496: - YYDEBUG(496, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy280; - goto yy136; - } else { - if (yych <= ')') { - if (yych <= '(') goto yy280; - goto yy109; - } else { - if (yych <= ',') goto yy280; - if (yych <= '-') goto yy676; - goto yy136; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '/') goto yy282; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy280; - goto yy634; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy280; - goto yy282; - } else { - if (yych <= '`') goto yy280; - if (yych <= 'z') goto yy639; - goto yy280; - } - } - } -yy497: - YYDEBUG(497, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy18; - goto yy677; - } else { - if (yych == ' ') goto yy679; - goto yy18; - } - } else { - if (yych <= 'Z') { - if (yych <= ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy634; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy498: - YYDEBUG(498, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '-') { - if (yych <= ' ') { - if (yych == '\t') goto yy677; - if (yych <= 0x1F) goto yy18; - goto yy679; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } - } else { - if (yych <= 'Z') { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy499: - YYDEBUG(499, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'H') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'G') goto yy634; - goto yy637; - } - } else { - if (yych <= 'g') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'h') goto yy637; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy500: - YYDEBUG(500, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'I') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'H') goto yy634; - goto yy680; - } - } else { - if (yych <= 'h') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'i') goto yy680; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy501: - YYDEBUG(501, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'H') goto yy637; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'g') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'h') goto yy640; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy502: - YYDEBUG(502, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'H') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'I') goto yy680; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'h') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'i') goto yy681; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy503: - YYDEBUG(503, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy18; - goto yy677; - } else { - if (yych == ' ') goto yy677; - goto yy18; - } - } else { - if (yych <= 'Z') { - if (yych <= ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy634; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy504: - YYDEBUG(504, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - } else { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy505; - if (yych <= 'z') goto yy634; - } -yy505: - YYDEBUG(505, *YYCURSOR); -#line 1037 "parse_date.re" - { - DEBUG_OUTPUT("noon"); - TIMELIB_INIT; - TIMELIB_UNHAVE_TIME(); - TIMELIB_HAVE_TIME(); - s->time->h = 12; - - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 12247 "<stdout>" -yy506: - YYDEBUG(506, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '-') { - if (yych <= ' ') { - if (yych == '\t') goto yy677; - if (yych <= 0x1F) goto yy18; - goto yy677; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } - } else { - if (yych <= 'Z') { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy507: - YYDEBUG(507, *YYCURSOR); - yyaccept = 15; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy505; - } else { - if (yych == '.') goto yy505; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy505; - if (yych <= 'Z') goto yy634; - goto yy505; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy505; - if (yych <= 'z') goto yy639; - goto yy505; - } - } -yy508: - YYDEBUG(508, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'B') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'A') goto yy634; - goto yy682; - } - } else { - if (yych <= 'a') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'b') goto yy682; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy509: - YYDEBUG(509, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'A') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'B') goto yy682; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'b') goto yy683; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy510: - YYDEBUG(510, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'I') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'H') goto yy634; - goto yy684; - } - } else { - if (yych <= 'h') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'i') goto yy684; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy511: - YYDEBUG(511, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'H') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'I') goto yy684; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'h') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'i') goto yy685; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy512: - YYDEBUG(512, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy634; - goto yy686; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'r') goto yy686; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy513: - YYDEBUG(513, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy634; - goto yy687; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'n') goto yy687; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy514: - YYDEBUG(514, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy280; - } else { - if (yych <= '-') goto yy452; - if (yych <= '.') goto yy136; - goto yy280; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '@') { - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych == 'E') goto yy688; - goto yy634; - } - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy280; - goto yy634; - } else { - if (yych <= 'e') goto yy688; - if (yych <= 'z') goto yy634; - goto yy280; - } - } - } -yy515: - YYDEBUG(515, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy634; - goto yy689; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'n') goto yy689; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy516: - YYDEBUG(516, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy686; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'r') goto yy690; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy517: - YYDEBUG(517, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy687; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'n') goto yy691; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy518: - YYDEBUG(518, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '-') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy458; - } else { - if (yych == '/') goto yy282; - goto yy136; - } - } - } else { - if (yych <= '^') { - if (yych <= 'D') { - if (yych <= '@') goto yy280; - goto yy634; - } else { - if (yych <= 'E') goto yy688; - if (yych <= 'Z') goto yy634; - goto yy280; - } - } else { - if (yych <= 'd') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy280; - goto yy639; - } else { - if (yych <= 'e') goto yy692; - if (yych <= 'z') goto yy639; - goto yy280; - } - } - } -yy519: - YYDEBUG(519, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy689; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'n') goto yy693; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy520: - YYDEBUG(520, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy694; - goto yy56; -yy521: - YYDEBUG(521, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'C') goto yy634; - goto yy650; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'd') goto yy650; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy522: - YYDEBUG(522, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'R') goto yy634; - goto yy686; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 's') goto yy686; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy523: - YYDEBUG(523, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'X') goto yy634; - goto yy695; - } - } else { - if (yych <= 'x') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'y') goto yy695; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy524: - YYDEBUG(524, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy634; - goto yy697; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'r') goto yy697; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy525: - YYDEBUG(525, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'C') goto yy634; - goto yy698; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'd') goto yy698; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy526: - YYDEBUG(526, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'F') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'E') goto yy634; - goto yy689; - } - } else { - if (yych <= 'e') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'f') goto yy689; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy527: - YYDEBUG(527, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'D') goto yy650; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'c') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'd') goto yy656; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy528: - YYDEBUG(528, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'S') goto yy686; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'r') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 's') goto yy690; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy529: - YYDEBUG(529, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'X') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'Y') goto yy695; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'x') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'y') goto yy699; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy530: - YYDEBUG(530, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy697; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'r') goto yy700; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy531: - YYDEBUG(531, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'D') goto yy698; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'c') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'd') goto yy701; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy532: - YYDEBUG(532, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'E') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'F') goto yy689; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'e') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'f') goto yy693; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy533: - YYDEBUG(533, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy136; - goto yy18; - } else { - if (yych <= ' ') goto yy136; - if (yych == ')') goto yy109; - goto yy18; - } - } else { - if (yych <= '@') { - if (yych == '/') goto yy18; - if (yych <= '9') goto yy136; - goto yy18; - } else { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy534: - YYDEBUG(534, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy634; - goto yy702; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'e') goto yy702; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy535: - YYDEBUG(535, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'C') goto yy634; - goto yy703; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'd') goto yy703; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy536: - YYDEBUG(536, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy702; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'e') goto yy704; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy537: - YYDEBUG(537, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'D') goto yy703; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'c') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'd') goto yy705; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy538: - YYDEBUG(538, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy634; - goto yy706; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy634; - if (yych <= '`') goto yy18; - goto yy634; - } else { - if (yych <= 'e') goto yy706; - if (yych <= 'z') goto yy634; - goto yy18; - } - } -yy539: - YYDEBUG(539, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy634; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy706; - if (yych <= 'Z') goto yy634; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy639; - } else { - if (yych <= 'e') goto yy707; - if (yych <= 'z') goto yy639; - goto yy18; - } - } - } -yy540: - YYDEBUG(540, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy57; - } - if (yych <= 'W') { - if (yych <= 'E') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy18; - goto yy187; - } else { - if (yych <= '-') { - if (yych <= ',') goto yy18; - goto yy708; - } else { - if (yych == 'D') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'L') { - if (yych == 'G') goto yy18; - if (yych <= 'H') goto yy187; - goto yy18; - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy18; - } else { - if (yych == 'V') goto yy18; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy18; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy18; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy18; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy18; - } else { - if (yych == 'v') goto yy18; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy18; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy18; - } - } - } - } -yy541: - YYDEBUG(541, *YYCURSOR); - yych = *++YYCURSOR; - if (yybm[0+yych] & 4) { - goto yy57; - } - if (yych == '-') goto yy708; - goto yy187; -yy542: - YYDEBUG(542, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy709; - goto yy56; -yy543: - YYDEBUG(543, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy710; - goto yy56; -yy544: - YYDEBUG(544, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '9') goto yy712; - if (yych >= 'n') goto yy713; - } else { - if (yych <= 'r') { - if (yych >= 'r') goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - } - } -yy545: - YYDEBUG(545, *YYCURSOR); -#line 1372 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("gnudateshort"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->d = timelib_get_nr((char **) &ptr, 2); - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_ISO_DATE; - } -#line 13300 "<stdout>" -yy546: - YYDEBUG(546, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '1') { - if (yych <= '/') goto yy545; - goto yy712; - } else { - if (yych <= '9') goto yy709; - if (yych <= 'm') goto yy545; - goto yy713; - } - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy547: - YYDEBUG(547, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '9') goto yy709; - if (yych <= 'm') goto yy545; - goto yy713; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy548: - YYDEBUG(548, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy717; - goto yy209; -yy549: - YYDEBUG(549, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy716; - goto yy209; - } else { - if (yych <= '0') goto yy717; - if (yych <= '9') goto yy710; - goto yy209; - } -yy550: - YYDEBUG(550, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy710; - goto yy209; -yy551: - YYDEBUG(551, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy553; - goto yy209; -yy552: - YYDEBUG(552, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych != '0') goto yy209; -yy553: - YYDEBUG(553, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - goto yy209; -yy554: - YYDEBUG(554, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy214; - if (yych <= '9') goto yy718; - goto yy214; -yy555: - YYDEBUG(555, *YYCURSOR); - yyaccept = 6; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '/') goto yy383; - goto yy214; -yy556: - YYDEBUG(556, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy719; - goto yy56; -yy557: - YYDEBUG(557, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych == '/') goto yy719; - goto yy56; - } else { - if (yych <= 'T') goto yy556; - if (yych == 't') goto yy556; - goto yy56; - } -yy558: - YYDEBUG(558, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= ',') goto yy56; - if (yych <= '-') goto yy720; - if (yych <= '.') goto yy377; - goto yy56; -yy559: - YYDEBUG(559, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy621; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy441; - goto yy56; -yy560: - YYDEBUG(560, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy621; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy441; - goto yy56; -yy561: - YYDEBUG(561, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); - yych = *YYCURSOR; -yy562: - YYDEBUG(562, *YYCURSOR); - if (yych <= 'W') { - if (yych <= 'G') { - if (yych <= '.') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy561; - goto yy56; - } else { - if (yych <= ' ') goto yy561; - if (yych <= ',') goto yy56; - goto yy721; - } - } else { - if (yych <= 'C') { - if (yych == 'A') goto yy573; - goto yy56; - } else { - if (yych <= 'D') goto yy574; - if (yych == 'F') goto yy575; - goto yy56; - } - } - } else { - if (yych <= 'N') { - if (yych <= 'J') { - if (yych <= 'H') goto yy76; - if (yych <= 'I') goto yy576; - goto yy578; - } else { - if (yych <= 'L') goto yy56; - if (yych <= 'M') goto yy579; - goto yy580; - } - } else { - if (yych <= 'S') { - if (yych <= 'O') goto yy581; - if (yych <= 'R') goto yy56; - goto yy582; - } else { - if (yych <= 'T') goto yy84; - if (yych <= 'U') goto yy85; - if (yych <= 'V') goto yy583; - goto yy87; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych <= '`') { - if (yych <= 'X') goto yy585; - if (yych <= 'Y') goto yy89; - goto yy56; - } else { - if (yych <= 'a') goto yy573; - if (yych <= 'c') goto yy56; - goto yy574; - } - } else { - if (yych <= 'g') { - if (yych == 'f') goto yy575; - goto yy56; - } else { - if (yych <= 'h') goto yy76; - if (yych == 'j') goto yy578; - goto yy56; - } - } - } else { - if (yych <= 'u') { - if (yych <= 'o') { - if (yych <= 'm') goto yy579; - if (yych <= 'n') goto yy580; - goto yy581; - } else { - if (yych <= 'r') goto yy56; - if (yych <= 's') goto yy582; - if (yych <= 't') goto yy84; - goto yy85; - } - } else { - if (yych <= 'x') { - if (yych == 'w') goto yy87; - goto yy56; - } else { - if (yych <= 'y') goto yy89; - if (yych == 0xC2) goto yy94; - goto yy56; - } - } - } - } -yy563: - YYDEBUG(563, *YYCURSOR); - yych = *++YYCURSOR; - switch (yych) { - case '0': goto yy723; - case '1': goto yy725; - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': goto yy726; - case 'A': - case 'a': goto yy727; - case 'D': - case 'd': goto yy728; - case 'F': - case 'f': goto yy729; - case 'J': - case 'j': goto yy730; - case 'M': - case 'm': goto yy731; - case 'N': - case 'n': goto yy732; - case 'O': - case 'o': goto yy733; - case 'S': - case 's': goto yy734; - case 'W': goto yy735; - default: goto yy722; - } -yy564: - YYDEBUG(564, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy722; - if (yych <= '0') goto yy736; - if (yych <= '2') goto yy737; - if (yych <= '3') goto yy738; - goto yy722; -yy565: - YYDEBUG(565, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '0') goto yy743; - if (yych <= '1') goto yy744; - if (yych <= '9') goto yy745; - goto yy56; -yy566: - YYDEBUG(566, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '0') goto yy746; - if (yych <= '9') goto yy748; - goto yy187; -yy567: - YYDEBUG(567, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '2') goto yy748; - if (yych <= '9') goto yy749; - goto yy187; -yy568: - YYDEBUG(568, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy749; - goto yy187; -yy569: - YYDEBUG(569, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '5') goto yy749; - if (yych <= '6') goto yy750; - if (yych <= '9') goto yy751; - goto yy187; -yy570: - YYDEBUG(570, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy751; - goto yy187; -yy571: - YYDEBUG(571, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '0') goto yy751; - if (yych <= '9') goto yy57; - goto yy187; -yy572: - YYDEBUG(572, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '0') goto yy752; - if (yych <= '1') goto yy753; - goto yy56; -yy573: - YYDEBUG(573, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'P') goto yy754; - if (yych <= 'T') goto yy56; - goto yy755; - } else { - if (yych <= 'p') { - if (yych <= 'o') goto yy56; - goto yy754; - } else { - if (yych == 'u') goto yy755; - goto yy56; - } - } -yy574: - YYDEBUG(574, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych == 'A') goto yy232; - if (yych <= 'D') goto yy56; - goto yy756; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy56; - goto yy232; - } else { - if (yych == 'e') goto yy756; - goto yy56; - } - } -yy575: - YYDEBUG(575, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= 'N') { - if (yych == 'E') goto yy757; - goto yy56; - } else { - if (yych <= 'O') goto yy235; - if (yych <= 'Q') goto yy56; - goto yy236; - } - } else { - if (yych <= 'n') { - if (yych == 'e') goto yy757; - goto yy56; - } else { - if (yych <= 'o') goto yy235; - if (yych == 'r') goto yy236; - goto yy56; - } - } -yy576: - YYDEBUG(576, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'I') goto yy758; - } else { - if (yych == 'W') goto yy577; - if (yych <= 'X') goto yy759; - } -yy577: - YYDEBUG(577, *YYCURSOR); -#line 1441 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("datenodayrev"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - s->time->m = timelib_get_month((char **) &ptr); - s->time->d = 1; - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_DATE_NO_DAY; - } -#line 13713 "<stdout>" -yy578: - YYDEBUG(578, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'A') goto yy760; - if (yych <= 'T') goto yy56; - goto yy761; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy56; - goto yy760; - } else { - if (yych == 'u') goto yy761; - goto yy56; - } - } -yy579: - YYDEBUG(579, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= 'I') { - if (yych == 'A') goto yy762; - if (yych <= 'H') goto yy56; - goto yy247; - } else { - if (yych == 'O') goto yy248; - if (yych <= 'R') goto yy56; - goto yy249; - } - } else { - if (yych <= 'i') { - if (yych == 'a') goto yy762; - if (yych <= 'h') goto yy56; - goto yy247; - } else { - if (yych <= 'o') { - if (yych <= 'n') goto yy56; - goto yy248; - } else { - if (yych == 's') goto yy249; - goto yy56; - } - } - } -yy580: - YYDEBUG(580, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy763; - if (yych == 'o') goto yy763; - goto yy56; -yy581: - YYDEBUG(581, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy764; - if (yych == 'c') goto yy764; - goto yy56; -yy582: - YYDEBUG(582, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'D') { - if (yych == 'A') goto yy253; - goto yy56; - } else { - if (yych <= 'E') goto yy765; - if (yych <= 'T') goto yy56; - goto yy255; - } - } else { - if (yych <= 'd') { - if (yych == 'a') goto yy253; - goto yy56; - } else { - if (yych <= 'e') goto yy765; - if (yych == 'u') goto yy255; - goto yy56; - } - } -yy583: - YYDEBUG(583, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy585; - goto yy577; -yy584: - YYDEBUG(584, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '5') { - if (yych <= '/') goto yy56; - if (yych <= '0') goto yy766; - if (yych <= '4') goto yy767; - goto yy768; - } else { - if (yych <= 'E') { - if (yych <= 'D') goto yy56; - goto yy259; - } else { - if (yych == 'e') goto yy259; - goto yy56; - } - } -yy585: - YYDEBUG(585, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy758; - goto yy577; -yy586: - YYDEBUG(586, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '0') goto yy769; - if (yych <= '9') goto yy770; - goto yy187; -yy587: - YYDEBUG(587, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '2') goto yy770; - if (yych <= '9') goto yy771; - goto yy187; -yy588: - YYDEBUG(588, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy771; - goto yy187; -yy589: - YYDEBUG(589, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '5') goto yy771; - if (yych <= '6') goto yy772; - if (yych <= '9') goto yy57; - goto yy187; -yy590: - YYDEBUG(590, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'L') goto yy243; - if (yych == 'l') goto yy243; - goto yy56; -yy591: - YYDEBUG(591, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy773; - if (yych == 's') goto yy773; - goto yy56; -yy592: - YYDEBUG(592, *YYCURSOR); - ++YYCURSOR; - goto yy250; -yy593: - YYDEBUG(593, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy604; - if (yych == 'm') goto yy604; - goto yy56; -yy594: - YYDEBUG(594, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'U') goto yy598; - if (yych == 'u') goto yy598; - goto yy56; -yy595: - YYDEBUG(595, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych == 'H') goto yy774; - if (yych <= 'M') goto yy56; - goto yy775; - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy774; - } else { - if (yych == 'n') goto yy775; - goto yy56; - } - } -yy596: - YYDEBUG(596, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy776; - if (yych == 'a') goto yy776; - goto yy56; -yy597: - YYDEBUG(597, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy241; - if (yych <= '9') goto yy777; - goto yy241; -yy598: - YYDEBUG(598, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy778; - if (yych == 'a') goto yy778; - goto yy56; -yy599: - YYDEBUG(599, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy243; - if (yych == 'h') goto yy243; - goto yy56; -yy600: - YYDEBUG(600, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy779; - if (yych == 'o') goto yy779; - goto yy56; -yy601: - YYDEBUG(601, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy779; - if (yych == 'i') goto yy779; - goto yy56; -yy602: - YYDEBUG(602, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy780; - if (yych == 't') goto yy780; - goto yy56; -yy603: - YYDEBUG(603, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy406; - if (yych == 'h') goto yy406; - goto yy56; -yy604: - YYDEBUG(604, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'B') goto yy781; - if (yych == 'b') goto yy781; - goto yy56; -yy605: - YYDEBUG(605, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy608; - if (yych == 'r') goto yy608; - goto yy56; -yy606: - YYDEBUG(606, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy782; - if (yych == 'n') goto yy782; - goto yy56; -yy607: - YYDEBUG(607, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy608; - if (yych != 's') goto yy56; -yy608: - YYDEBUG(608, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'D') goto yy596; - if (yych == 'd') goto yy596; - goto yy56; -yy609: - YYDEBUG(609, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy607; - if (yych == 'e') goto yy607; - goto yy56; -yy610: - YYDEBUG(610, *YYCURSOR); - yyaccept = 7; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych == 'D') goto yy188; - if (yych <= 'R') goto yy250; - goto yy592; - } else { - if (yych <= 'd') { - if (yych <= 'c') goto yy250; - goto yy188; - } else { - if (yych == 's') goto yy592; - goto yy250; - } - } -yy611: - YYDEBUG(611, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= ',') goto yy56; - if (yych <= '.') goto yy377; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy613; - goto yy56; -yy612: - YYDEBUG(612, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= ',') goto yy56; - if (yych <= '.') goto yy377; - if (yych <= '/') goto yy56; - if (yych >= '3') goto yy56; -yy613: - YYDEBUG(613, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= ',') goto yy56; - if (yych <= '.') goto yy377; - goto yy56; -yy614: - YYDEBUG(614, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy783; - goto yy209; -yy615: - YYDEBUG(615, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy716; - goto yy209; - } else { - if (yych <= '0') goto yy783; - if (yych <= '9') goto yy710; - goto yy209; - } -yy616: - YYDEBUG(616, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); - yych = *YYCURSOR; - YYDEBUG(617, *YYCURSOR); - if (yych <= 'A') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy616; - goto yy56; - } else { - if (yych <= ' ') goto yy616; - if (yych <= '@') goto yy56; - goto yy102; - } - } else { - if (yych <= '`') { - if (yych == 'P') goto yy102; - goto yy56; - } else { - if (yych <= 'a') goto yy102; - if (yych == 'p') goto yy102; - goto yy56; - } - } -yy618: - YYDEBUG(618, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy784; - goto yy209; -yy619: - YYDEBUG(619, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych == '0') goto yy784; - goto yy209; -yy620: - YYDEBUG(620, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy785; - if (yych <= '6') goto yy786; - if (yych <= '9') goto yy553; - goto yy56; -yy621: - YYDEBUG(621, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy787; - if (yych <= '3') goto yy788; - if (yych <= '9') goto yy789; - goto yy56; -yy622: - YYDEBUG(622, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy790; - goto yy56; -yy623: - YYDEBUG(623, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy791; - if (yych == 'r') goto yy791; - goto yy56; -yy624: - YYDEBUG(624, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'G') goto yy791; - if (yych == 'g') goto yy791; - goto yy56; -yy625: - YYDEBUG(625, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy791; - if (yych == 'c') goto yy791; - goto yy56; -yy626: - YYDEBUG(626, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'B') goto yy791; - if (yych == 'b') goto yy791; - goto yy56; -yy627: - YYDEBUG(627, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy791; - if (yych == 'n') goto yy791; - goto yy56; -yy628: - YYDEBUG(628, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych == 'L') goto yy791; - if (yych <= 'M') goto yy56; - goto yy791; - } else { - if (yych <= 'l') { - if (yych <= 'k') goto yy56; - goto yy791; - } else { - if (yych == 'n') goto yy791; - goto yy56; - } - } -yy629: - YYDEBUG(629, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych == 'R') goto yy791; - if (yych <= 'X') goto yy56; - goto yy791; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy56; - goto yy791; - } else { - if (yych == 'y') goto yy791; - goto yy56; - } - } -yy630: - YYDEBUG(630, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'V') goto yy791; - if (yych == 'v') goto yy791; - goto yy56; -yy631: - YYDEBUG(631, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy791; - if (yych == 't') goto yy791; - goto yy56; -yy632: - YYDEBUG(632, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'P') goto yy792; - if (yych == 'p') goto yy792; - goto yy56; -yy633: - YYDEBUG(633, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy793; - goto yy56; -yy634: - YYDEBUG(634, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy794; - goto yy18; - } -yy635: - YYDEBUG(635, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= ' ') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy309; - goto yy56; - } else { - if (yych <= '\t') goto yy311; - if (yych <= 0x1F) goto yy56; - goto yy311; - } - } else { - if (yych <= '-') { - if (yych == ',') goto yy311; - goto yy56; - } else { - if (yych <= '.') goto yy311; - if (yych <= '/') goto yy56; - goto yy795; - } - } - } else { - if (yych <= 'm') { - if (yych <= 'd') { - if (yych <= 'c') goto yy56; - goto yy311; - } else { - if (yych == 'h') goto yy311; - goto yy56; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy314; - if (yych <= 'q') goto yy56; - goto yy314; - } else { - if (yych <= 's') goto yy315; - if (yych <= 't') goto yy316; - goto yy56; - } - } - } -yy636: - YYDEBUG(636, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '1') { - if (yych <= ' ') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy309; - goto yy56; - } else { - if (yych <= '\t') goto yy311; - if (yych <= 0x1F) goto yy56; - goto yy311; - } - } else { - if (yych <= '-') { - if (yych == ',') goto yy311; - goto yy56; - } else { - if (yych <= '.') goto yy311; - if (yych <= '/') goto yy56; - goto yy795; - } - } - } else { - if (yych <= 'm') { - if (yych <= 'd') { - if (yych <= '9') goto yy317; - if (yych <= 'c') goto yy56; - goto yy311; - } else { - if (yych == 'h') goto yy311; - goto yy56; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy314; - if (yych <= 'q') goto yy56; - goto yy314; - } else { - if (yych <= 's') goto yy315; - if (yych <= 't') goto yy316; - goto yy56; - } - } - } -yy637: - YYDEBUG(637, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy136; - goto yy280; - } else { - if (yych <= ' ') goto yy136; - if (yych == ')') goto yy109; - goto yy280; - } - } else { - if (yych <= '@') { - if (yych == '/') goto yy280; - if (yych <= '9') goto yy136; - goto yy280; - } else { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy280; - if (yych <= 'z') goto yy794; - goto yy280; - } - } -yy638: - YYDEBUG(638, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy794; - goto yy796; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 't') goto yy796; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy639: - YYDEBUG(639, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy18; - if (yych <= 'Z') goto yy794; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy797; - goto yy18; - } - } -yy640: - YYDEBUG(640, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy280; - goto yy136; - } else { - if (yych <= ')') { - if (yych <= '(') goto yy280; - goto yy109; - } else { - if (yych <= ',') goto yy280; - if (yych <= '-') goto yy676; - goto yy136; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '/') goto yy282; - if (yych <= '9') goto yy136; - if (yych <= '@') goto yy280; - goto yy794; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy280; - goto yy282; - } else { - if (yych <= '`') goto yy280; - if (yych <= 'z') goto yy797; - goto yy280; - } - } - } -yy641: - YYDEBUG(641, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy796; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 't') goto yy798; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy642: - YYDEBUG(642, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy799; - if (yych == 'o') goto yy799; - goto yy56; -yy643: - YYDEBUG(643, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'B') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'A') goto yy794; - goto yy800; - } - } else { - if (yych <= 'a') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'b') goto yy800; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy644: - YYDEBUG(644, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'A') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'B') goto yy800; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'b') goto yy801; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy645: - YYDEBUG(645, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy802; - goto yy18; - } else { - if (yych <= ' ') goto yy802; - if (yych == ')') goto yy109; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych == 'H') goto yy804; - if (yych <= 'Z') goto yy794; - goto yy18; - } else { - if (yych == 'h') goto yy804; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy646: - YYDEBUG(646, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'M') goto yy794; - goto yy805; - } - } else { - if (yych <= 'm') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'n') goto yy805; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy647: - YYDEBUG(647, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy18; - goto yy802; - } else { - if (yych == ' ') goto yy802; - goto yy18; - } - } else { - if (yych <= ',') { - if (yych <= ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - goto yy282; - } - } - } else { - if (yych <= '^') { - if (yych <= 'G') { - if (yych <= '@') goto yy18; - goto yy794; - } else { - if (yych <= 'H') goto yy804; - if (yych <= 'Z') goto yy794; - goto yy18; - } - } else { - if (yych <= 'g') { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'h') goto yy806; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy648: - YYDEBUG(648, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'M') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'N') goto yy805; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'm') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'n') goto yy807; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy649: - YYDEBUG(649, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy808; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy794; - goto yy18; - } else { - if (yych <= 'a') goto yy808; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy650: - YYDEBUG(650, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy18; - goto yy802; - } else { - if (yych == ' ') goto yy802; - goto yy18; - } - } else { - if (yych <= 'Z') { - if (yych <= ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy794; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy651: - YYDEBUG(651, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy18; - goto yy802; - } else { - if (yych == ' ') goto yy809; - goto yy18; - } - } else { - if (yych <= 'Z') { - if (yych <= ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy794; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy652: - YYDEBUG(652, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'H') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'G') goto yy794; - goto yy804; - } - } else { - if (yych <= 'g') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'h') goto yy804; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy653: - YYDEBUG(653, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'X') goto yy794; - goto yy810; - } - } else { - if (yych <= 'x') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'y') goto yy810; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy654: - YYDEBUG(654, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ')') { - if (yych == ' ') goto yy642; - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= 'Z') { - if (yych <= '@') goto yy18; - goto yy794; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy655: - YYDEBUG(655, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '_') { - if (yych <= 'A') goto yy808; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy811; - if (yych <= 'z') goto yy797; - goto yy18; - } - } -yy656: - YYDEBUG(656, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '-') { - if (yych <= ' ') { - if (yych == '\t') goto yy802; - if (yych <= 0x1F) goto yy18; - goto yy802; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } - } else { - if (yych <= 'Z') { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy657: - YYDEBUG(657, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '-') { - if (yych <= ' ') { - if (yych == '\t') goto yy802; - if (yych <= 0x1F) goto yy18; - goto yy809; - } else { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } - } else { - if (yych <= 'Z') { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy658: - YYDEBUG(658, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'H') goto yy804; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'g') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'h') goto yy806; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy659: - YYDEBUG(659, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'X') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'Y') goto yy810; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'x') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'y') goto yy812; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy660: - YYDEBUG(660, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= '(') { - if (yych == ' ') goto yy642; - goto yy18; - } else { - if (yych <= ')') goto yy109; - if (yych == '-') goto yy282; - goto yy18; - } - } else { - if (yych <= '^') { - if (yych <= '/') goto yy282; - if (yych <= '@') goto yy18; - if (yych <= 'Z') goto yy794; - goto yy18; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy18; - if (yych <= 'z') goto yy797; - goto yy18; - } - } -yy661: - YYDEBUG(661, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy18; - if (yych <= '9') goto yy663; - if (yych <= ':') goto yy193; - goto yy18; -yy662: - YYDEBUG(662, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '5') { - if (yych <= '/') goto yy18; - if (yych >= '5') goto yy375; - } else { - if (yych <= '9') goto yy109; - if (yych <= ':') goto yy193; - goto yy18; - } -yy663: - YYDEBUG(663, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy18; - if (yych <= '5') goto yy375; - if (yych <= '9') goto yy109; - if (yych <= ':') goto yy193; - goto yy18; -yy664: - YYDEBUG(664, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy813; - if (yych <= '9') goto yy815; - goto yy56; -yy665: - YYDEBUG(665, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '.') goto yy664; - if (yych == ':') goto yy664; - goto yy56; -yy666: - YYDEBUG(666, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy816; - if (yych <= '9') goto yy817; - goto yy56; -yy667: - YYDEBUG(667, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy664; - goto yy56; - } else { - if (yych <= '9') goto yy665; - if (yych <= ':') goto yy664; - goto yy56; - } -yy668: - YYDEBUG(668, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') { - if (yych == '.') goto yy664; - goto yy56; - } else { - if (yych <= '4') goto yy665; - if (yych == ':') goto yy664; - goto yy56; - } -yy669: - YYDEBUG(669, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy664; - goto yy310; - } else { - if (yych <= '9') goto yy818; - if (yych <= ':') goto yy664; - goto yy310; - } -yy670: - YYDEBUG(670, *YYCURSOR); - yyaccept = 11; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy666; - goto yy310; - } else { - if (yych <= '9') goto yy818; - if (yych <= ':') goto yy666; - goto yy310; - } -yy671: - YYDEBUG(671, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy310; - if (yych <= '9') goto yy818; - goto yy310; -yy672: - YYDEBUG(672, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(673, *YYCURSOR); -#line 1427 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("datenoday"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->m = timelib_get_month((char **) &ptr); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - s->time->d = 1; - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_DATE_NO_DAY; - } -#line 15017 "<stdout>" -yy674: - YYDEBUG(674, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy794; - goto yy819; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'r') goto yy819; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy675: - YYDEBUG(675, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy819; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'r') goto yy820; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy676: - YYDEBUG(676, *YYCURSOR); - yych = *++YYCURSOR; - if (yybm[0+yych] & 64) { - goto yy455; - } - goto yy136; -yy677: - YYDEBUG(677, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); - yych = *YYCURSOR; -yy678: - YYDEBUG(678, *YYCURSOR); - if (yych <= 'X') { - if (yych <= 'G') { - if (yych <= ' ') { - if (yych == '\t') goto yy677; - if (yych <= 0x1F) goto yy56; - goto yy677; - } else { - if (yych <= 'D') { - if (yych <= 'C') goto yy56; - goto yy821; - } else { - if (yych == 'F') goto yy822; - goto yy56; - } - } - } else { - if (yych <= 'S') { - if (yych <= 'L') { - if (yych <= 'H') goto yy823; - goto yy56; - } else { - if (yych <= 'M') goto yy824; - if (yych <= 'R') goto yy56; - goto yy825; - } - } else { - if (yych <= 'U') { - if (yych <= 'T') goto yy826; - goto yy827; - } else { - if (yych == 'W') goto yy828; - goto yy56; - } - } - } - } else { - if (yych <= 'r') { - if (yych <= 'f') { - if (yych <= 'c') { - if (yych <= 'Y') goto yy829; - goto yy56; - } else { - if (yych <= 'd') goto yy821; - if (yych <= 'e') goto yy56; - goto yy822; - } - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy823; - } else { - if (yych == 'm') goto yy824; - goto yy56; - } - } - } else { - if (yych <= 'w') { - if (yych <= 't') { - if (yych <= 's') goto yy825; - goto yy826; - } else { - if (yych <= 'u') goto yy827; - if (yych <= 'v') goto yy56; - goto yy828; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy56; - goto yy829; - } else { - if (yych == 0xC2) goto yy830; - goto yy56; - } - } - } - } -yy679: - YYDEBUG(679, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'D') goto yy831; - if (yych == 'd') goto yy831; - goto yy678; -yy680: - YYDEBUG(680, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'G') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'F') goto yy794; - goto yy832; - } - } else { - if (yych <= 'f') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'g') goto yy832; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy681: - YYDEBUG(681, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'F') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'G') goto yy832; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'f') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'g') goto yy833; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy682: - YYDEBUG(682, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'D') goto yy794; - goto yy834; - } - } else { - if (yych <= 'd') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'e') goto yy834; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy683: - YYDEBUG(683, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'E') goto yy834; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'd') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'e') goto yy835; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy684: - YYDEBUG(684, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'O') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'N') goto yy794; - goto yy836; - } - } else { - if (yych <= 'n') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'o') goto yy836; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy685: - YYDEBUG(685, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'O') goto yy836; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'n') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'o') goto yy837; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy686: - YYDEBUG(686, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'C') goto yy794; - goto yy838; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'd') goto yy838; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy687: - YYDEBUG(687, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'D') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'C') goto yy794; - goto yy804; - } - } else { - if (yych <= 'c') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'd') goto yy804; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy688: - YYDEBUG(688, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'M') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'L') goto yy794; - goto yy839; - } - } else { - if (yych <= 'l') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'm') goto yy839; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy689: - YYDEBUG(689, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'T') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'S') goto yy794; - goto yy840; - } - } else { - if (yych <= 's') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 't') goto yy840; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy690: - YYDEBUG(690, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'D') goto yy838; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'c') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'd') goto yy841; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy691: - YYDEBUG(691, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'D') goto yy804; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'c') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'd') goto yy806; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy692: - YYDEBUG(692, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'L') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'M') goto yy839; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'l') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'm') goto yy842; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy693: - YYDEBUG(693, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'T') goto yy840; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 's') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 't') goto yy843; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy694: - YYDEBUG(694, *YYCURSOR); - yyaccept = 13; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy401; - if (yych <= '5') goto yy844; - if (yych <= '6') goto yy845; - goto yy401; -yy695: - YYDEBUG(695, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy109; - } else { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy696; - if (yych <= 'z') goto yy794; - } -yy696: - YYDEBUG(696, *YYCURSOR); -#line 1049 "parse_date.re" - { - DEBUG_OUTPUT("midnight | today"); - TIMELIB_INIT; - TIMELIB_UNHAVE_TIME(); - - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 15575 "<stdout>" -yy697: - YYDEBUG(697, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy794; - goto yy846; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'r') goto yy846; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy698: - YYDEBUG(698, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy847; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy794; - goto yy18; - } else { - if (yych <= 'a') goto yy847; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy699: - YYDEBUG(699, *YYCURSOR); - yyaccept = 17; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy696; - } else { - if (yych == '.') goto yy696; - goto yy282; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy696; - if (yych <= 'Z') goto yy794; - goto yy696; - } else { - if (yych <= '_') goto yy282; - if (yych <= '`') goto yy696; - if (yych <= 'z') goto yy797; - goto yy696; - } - } -yy700: - YYDEBUG(700, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy846; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'r') goto yy848; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy701: - YYDEBUG(701, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '_') { - if (yych <= 'A') goto yy847; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy849; - if (yych <= 'z') goto yy797; - goto yy18; - } - } -yy702: - YYDEBUG(702, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'R') goto yy794; - goto yy850; - } - } else { - if (yych <= 'r') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 's') goto yy850; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy703: - YYDEBUG(703, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'A') { - if (yych == ')') goto yy109; - if (yych <= '@') goto yy18; - goto yy851; - } else { - if (yych <= '`') { - if (yych <= 'Z') goto yy794; - goto yy18; - } else { - if (yych <= 'a') goto yy851; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy704: - YYDEBUG(704, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'S') goto yy850; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'r') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 's') goto yy852; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy705: - YYDEBUG(705, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '_') { - if (yych <= 'A') goto yy851; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy853; - if (yych <= 'z') goto yy797; - goto yy18; - } - } -yy706: - YYDEBUG(706, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych <= ')') { - if (yych <= '(') goto yy18; - goto yy109; - } else { - if (yych <= '@') goto yy18; - if (yych <= 'Q') goto yy794; - goto yy854; - } - } else { - if (yych <= 'q') { - if (yych <= 'Z') goto yy794; - if (yych <= '`') goto yy18; - goto yy794; - } else { - if (yych <= 'r') goto yy854; - if (yych <= 'z') goto yy794; - goto yy18; - } - } -yy707: - YYDEBUG(707, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych == '/') goto yy282; - if (yych <= '@') goto yy18; - goto yy794; - } - } else { - if (yych <= '_') { - if (yych <= 'R') goto yy854; - if (yych <= 'Z') goto yy794; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= 'q') { - if (yych <= '`') goto yy18; - goto yy797; - } else { - if (yych <= 'r') goto yy855; - if (yych <= 'z') goto yy797; - goto yy18; - } - } - } -yy708: - YYDEBUG(708, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '0') goto yy856; - if (yych <= '1') goto yy857; - goto yy56; -yy709: - YYDEBUG(709, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy858; - goto yy56; -yy710: - YYDEBUG(710, *YYCURSOR); - yyaccept = 18; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') goto yy711; - if (yych <= '9') goto yy858; -yy711: - YYDEBUG(711, *YYCURSOR); -#line 1413 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("pointed date YY"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->d = timelib_get_nr((char **) &ptr, 2); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->y = timelib_get_nr_ex((char **) &ptr, 2, &length); - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_DATE_FULL_POINTED; - } -#line 15882 "<stdout>" -yy712: - YYDEBUG(712, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '9') goto yy858; - if (yych <= 'm') goto yy545; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy713: - YYDEBUG(713, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'd') goto yy859; - goto yy56; -yy714: - YYDEBUG(714, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 't') goto yy859; - goto yy56; -yy715: - YYDEBUG(715, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'h') goto yy859; - goto yy56; -yy716: - YYDEBUG(716, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy860; - goto yy56; -yy717: - YYDEBUG(717, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy858; - goto yy209; -yy718: - YYDEBUG(718, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy214; - if (yych <= '9') goto yy862; - goto yy214; -yy719: - YYDEBUG(719, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy863; - goto yy56; -yy720: - YYDEBUG(720, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy864; - if (yych <= '3') goto yy865; - if (yych <= '9') goto yy547; - goto yy56; -yy721: - YYDEBUG(721, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); - yych = *YYCURSOR; -yy722: - YYDEBUG(722, *YYCURSOR); - switch (yych) { - case '\t': - case ' ': - case '-': - case '.': goto yy721; - case 'A': - case 'a': goto yy573; - case 'D': - case 'd': goto yy739; - case 'F': - case 'f': goto yy740; - case 'I': goto yy576; - case 'J': - case 'j': goto yy578; - case 'M': - case 'm': goto yy741; - case 'N': - case 'n': goto yy580; - case 'O': - case 'o': goto yy581; - case 'S': - case 's': goto yy742; - case 'V': goto yy583; - case 'X': goto yy585; - default: goto yy56; - } -yy723: - YYDEBUG(723, *YYCURSOR); - yyaccept = 19; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '-') goto yy866; - if (yych <= '/') goto yy724; - if (yych <= '9') goto yy867; -yy724: - YYDEBUG(724, *YYCURSOR); -#line 1358 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("gnudateshorter"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->d = 1; - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_ISO_DATE; - } -#line 16004 "<stdout>" -yy725: - YYDEBUG(725, *YYCURSOR); - yyaccept = 19; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '-') goto yy866; - if (yych <= '/') goto yy724; - if (yych <= '2') goto yy867; - goto yy724; -yy726: - YYDEBUG(726, *YYCURSOR); - yyaccept = 19; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '-') goto yy866; - goto yy724; -yy727: - YYDEBUG(727, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'P') goto yy868; - if (yych <= 'T') goto yy56; - goto yy869; - } else { - if (yych <= 'p') { - if (yych <= 'o') goto yy56; - goto yy868; - } else { - if (yych == 'u') goto yy869; - goto yy56; - } - } -yy728: - YYDEBUG(728, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy870; - if (yych == 'e') goto yy870; - goto yy56; -yy729: - YYDEBUG(729, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy871; - if (yych == 'e') goto yy871; - goto yy56; -yy730: - YYDEBUG(730, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'A') goto yy872; - if (yych <= 'T') goto yy56; - goto yy873; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy56; - goto yy872; - } else { - if (yych == 'u') goto yy873; - goto yy56; - } - } -yy731: - YYDEBUG(731, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy874; - if (yych == 'a') goto yy874; - goto yy56; -yy732: - YYDEBUG(732, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy875; - if (yych == 'o') goto yy875; - goto yy56; -yy733: - YYDEBUG(733, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy876; - if (yych == 'c') goto yy876; - goto yy56; -yy734: - YYDEBUG(734, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy877; - if (yych == 'e') goto yy877; - goto yy56; -yy735: - YYDEBUG(735, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '0') goto yy766; - if (yych <= '4') goto yy767; - if (yych <= '5') goto yy768; - goto yy56; -yy736: - YYDEBUG(736, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '0') goto yy878; - if (yych <= '9') goto yy879; - goto yy56; -yy737: - YYDEBUG(737, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy879; - goto yy56; -yy738: - YYDEBUG(738, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy879; - if (yych <= '6') goto yy880; - goto yy56; -yy739: - YYDEBUG(739, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy756; - if (yych == 'e') goto yy756; - goto yy56; -yy740: - YYDEBUG(740, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy757; - if (yych == 'e') goto yy757; - goto yy56; -yy741: - YYDEBUG(741, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy762; - if (yych == 'a') goto yy762; - goto yy56; -yy742: - YYDEBUG(742, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy881; - if (yych == 'e') goto yy881; - goto yy56; -yy743: - YYDEBUG(743, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') goto yy56; - if (yych <= '/') goto yy882; - if (yych <= '9') goto yy883; - goto yy56; -yy744: - YYDEBUG(744, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '.') goto yy56; - if (yych <= '/') goto yy882; - if (yych <= '2') goto yy883; - goto yy56; -yy745: - YYDEBUG(745, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy882; - goto yy56; -yy746: - YYDEBUG(746, *YYCURSOR); - yyaccept = 20; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'V') { - if (yych <= 'C') { - if (yych <= '/') { - if (yych <= '\t') { - if (yych >= '\t') goto yy187; - } else { - if (yych == ' ') goto yy187; - } - } else { - if (yych <= '2') { - if (yych <= '0') goto yy884; - goto yy885; - } else { - if (yych <= '3') goto yy887; - if (yych <= '9') goto yy888; - } - } - } else { - if (yych <= 'H') { - if (yych <= 'E') { - if (yych <= 'D') goto yy187; - } else { - if (yych != 'G') goto yy187; - } - } else { - if (yych <= 'M') { - if (yych >= 'M') goto yy187; - } else { - if (yych <= 'R') goto yy747; - if (yych <= 'U') goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych <= 'X') { - if (yych <= 'W') goto yy187; - } else { - if (yych <= 'Y') goto yy187; - if (yych >= 'd') goto yy187; - } - } else { - if (yych <= 'f') { - if (yych >= 'f') goto yy187; - } else { - if (yych == 'h') goto yy187; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - } else { - if (yych != 'v') goto yy187; - } - } else { - if (yych <= 'y') { - if (yych >= 'y') goto yy187; - } else { - if (yych == 0xC2) goto yy187; - } - } - } - } -yy747: - YYDEBUG(747, *YYCURSOR); -#line 1296 "parse_date.re" - { - int tz_not_found; - DEBUG_OUTPUT("iso8601nocolon"); - TIMELIB_INIT; - TIMELIB_HAVE_TIME(); - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - s->time->s = timelib_get_nr((char **) &ptr, 2); - - if (*ptr != '\0') { - s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); - if (tz_not_found) { - add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); - } - } - TIMELIB_DEINIT; - return TIMELIB_ISO_NOCOLON; - } -#line 16248 "<stdout>" -yy748: - YYDEBUG(748, *YYCURSOR); - yyaccept = 20; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'V') { - if (yych <= 'C') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy747; - goto yy187; - } else { - if (yych <= '2') { - if (yych <= '/') goto yy747; - goto yy885; - } else { - if (yych <= '3') goto yy887; - if (yych <= '9') goto yy888; - goto yy747; - } - } - } else { - if (yych <= 'H') { - if (yych <= 'E') { - if (yych <= 'D') goto yy187; - goto yy747; - } else { - if (yych == 'G') goto yy747; - goto yy187; - } - } else { - if (yych <= 'M') { - if (yych <= 'L') goto yy747; - goto yy187; - } else { - if (yych <= 'R') goto yy747; - if (yych <= 'U') goto yy187; - goto yy747; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych <= 'X') { - if (yych <= 'W') goto yy187; - goto yy747; - } else { - if (yych <= 'Y') goto yy187; - if (yych <= 'c') goto yy747; - goto yy187; - } - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy747; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy747; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy747; - } else { - if (yych == 'v') goto yy747; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy747; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy747; - } - } - } - } -yy749: - YYDEBUG(749, *YYCURSOR); - yyaccept = 20; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'E') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy747; - goto yy187; - } else { - if (yych <= '9') { - if (yych <= '/') goto yy747; - goto yy888; - } else { - if (yych == 'D') goto yy187; - goto yy747; - } - } - } else { - if (yych <= 'L') { - if (yych == 'G') goto yy747; - if (yych <= 'H') goto yy187; - goto yy747; - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy747; - } else { - if (yych == 'V') goto yy747; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy747; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy747; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy747; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy747; - } else { - if (yych == 'v') goto yy747; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy747; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy747; - } - } - } - } -yy750: - YYDEBUG(750, *YYCURSOR); - yyaccept = 20; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'D') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy747; - goto yy187; - } else { - if (yych <= '6') { - if (yych <= '/') goto yy747; - goto yy888; - } else { - if (yych <= '9') goto yy57; - if (yych <= 'C') goto yy747; - goto yy187; - } - } - } else { - if (yych <= 'L') { - if (yych <= 'F') { - if (yych <= 'E') goto yy747; - goto yy187; - } else { - if (yych == 'H') goto yy187; - goto yy747; - } - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy747; - } else { - if (yych == 'V') goto yy747; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy747; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy747; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy747; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy747; - } else { - if (yych == 'v') goto yy747; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy747; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy747; - } - } - } - } -yy751: - YYDEBUG(751, *YYCURSOR); - yyaccept = 20; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy57; - } - if (yych <= 'X') { - if (yych <= 'F') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy747; - goto yy187; - } else { - if (yych == 'D') goto yy187; - if (yych <= 'E') goto yy747; - goto yy187; - } - } else { - if (yych <= 'M') { - if (yych == 'H') goto yy187; - if (yych <= 'L') goto yy747; - goto yy187; - } else { - if (yych <= 'U') { - if (yych <= 'R') goto yy747; - goto yy187; - } else { - if (yych == 'W') goto yy187; - goto yy747; - } - } - } - } else { - if (yych <= 'm') { - if (yych <= 'e') { - if (yych <= 'Y') goto yy187; - if (yych == 'd') goto yy187; - goto yy747; - } else { - if (yych <= 'g') { - if (yych <= 'f') goto yy187; - goto yy747; - } else { - if (yych <= 'h') goto yy187; - if (yych <= 'l') goto yy747; - goto yy187; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') goto yy747; - if (yych == 'v') goto yy747; - goto yy187; - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy747; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy747; - } - } - } - } -yy752: - YYDEBUG(752, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy889; - goto yy56; -yy753: - YYDEBUG(753, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy889; - goto yy56; -yy754: - YYDEBUG(754, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy890; - if (yych == 'r') goto yy890; - goto yy56; -yy755: - YYDEBUG(755, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'G') goto yy891; - if (yych == 'g') goto yy891; - goto yy56; -yy756: - YYDEBUG(756, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy892; - if (yych == 'c') goto yy892; - goto yy56; -yy757: - YYDEBUG(757, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'B') goto yy893; - if (yych == 'b') goto yy893; - goto yy56; -yy758: - YYDEBUG(758, *YYCURSOR); - yych = *++YYCURSOR; - if (yych != 'I') goto yy577; -yy759: - YYDEBUG(759, *YYCURSOR); - ++YYCURSOR; - goto yy577; -yy760: - YYDEBUG(760, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy894; - if (yych == 'n') goto yy894; - goto yy56; -yy761: - YYDEBUG(761, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych == 'L') goto yy895; - if (yych <= 'M') goto yy56; - goto yy896; - } else { - if (yych <= 'l') { - if (yych <= 'k') goto yy56; - goto yy895; - } else { - if (yych == 'n') goto yy896; - goto yy56; - } - } -yy762: - YYDEBUG(762, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych == 'R') goto yy897; - if (yych <= 'X') goto yy56; - goto yy759; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy56; - goto yy897; - } else { - if (yych == 'y') goto yy759; - goto yy56; - } - } -yy763: - YYDEBUG(763, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'V') goto yy892; - if (yych == 'v') goto yy892; - goto yy56; -yy764: - YYDEBUG(764, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy898; - if (yych == 't') goto yy898; - goto yy56; -yy765: - YYDEBUG(765, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'P') { - if (yych == 'C') goto yy424; - if (yych <= 'O') goto yy56; - goto yy899; - } else { - if (yych <= 'c') { - if (yych <= 'b') goto yy56; - goto yy424; - } else { - if (yych == 'p') goto yy899; - goto yy56; - } - } -yy766: - YYDEBUG(766, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '0') goto yy56; - if (yych <= '9') goto yy900; - goto yy56; -yy767: - YYDEBUG(767, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy900; - goto yy56; -yy768: - YYDEBUG(768, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '3') goto yy900; - goto yy56; -yy769: - YYDEBUG(769, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '2') { - if (yych <= '/') goto yy187; - if (yych <= '0') goto yy884; - goto yy885; - } else { - if (yych <= '3') goto yy887; - if (yych <= '9') goto yy888; - goto yy187; - } -yy770: - YYDEBUG(770, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '2') goto yy885; - if (yych <= '3') goto yy887; - if (yych <= '9') goto yy888; - goto yy187; -yy771: - YYDEBUG(771, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy888; - goto yy187; -yy772: - YYDEBUG(772, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '6') goto yy888; - if (yych <= '9') goto yy57; - goto yy187; -yy773: - YYDEBUG(773, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy243; - if (yych == 't') goto yy243; - goto yy56; -yy774: - YYDEBUG(774, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy775; - if (yych != 'n') goto yy56; -yy775: - YYDEBUG(775, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy902; - if (yych == 'i') goto yy902; - goto yy56; -yy776: - YYDEBUG(776, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy592; - if (yych == 'y') goto yy592; - goto yy56; -yy777: - YYDEBUG(777, *YYCURSOR); - ++YYCURSOR; - goto yy241; -yy778: - YYDEBUG(778, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy903; - if (yych == 'r') goto yy903; - goto yy56; -yy779: - YYDEBUG(779, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy904; - if (yych == 's') goto yy904; - goto yy56; -yy780: - YYDEBUG(780, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy406; - if (yych == 'e') goto yy406; - goto yy56; -yy781: - YYDEBUG(781, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy905; - if (yych == 'e') goto yy905; - goto yy56; -yy782: - YYDEBUG(782, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'D') goto yy406; - if (yych == 'd') goto yy406; - goto yy56; -yy783: - YYDEBUG(783, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '9') { - if (yych <= ' ') { - if (yych == '\t') goto yy616; - if (yych <= 0x1F) goto yy209; - goto yy616; - } else { - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - goto yy858; - } - } else { - if (yych <= 'P') { - if (yych == 'A') goto yy102; - if (yych <= 'O') goto yy209; - goto yy102; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy209; - goto yy102; - } else { - if (yych == 'p') goto yy102; - goto yy209; - } - } - } -yy784: - YYDEBUG(784, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy616; - goto yy209; - } else { - if (yych <= ' ') goto yy616; - if (yych == '.') goto yy716; - goto yy209; - } - } else { - if (yych <= '`') { - if (yych <= 'A') goto yy102; - if (yych == 'P') goto yy102; - goto yy209; - } else { - if (yych <= 'a') goto yy102; - if (yych == 'p') goto yy102; - goto yy209; - } - } -yy785: - YYDEBUG(785, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy906; - goto yy209; -yy786: - YYDEBUG(786, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy716; - if (yych == '0') goto yy906; - goto yy209; -yy787: - YYDEBUG(787, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '9') goto yy789; - if (yych <= 'm') goto yy545; - goto yy713; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy788: - YYDEBUG(788, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '1') goto yy789; - if (yych <= 'm') goto yy545; - goto yy713; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy789: - YYDEBUG(789, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'q') { - if (yych == 'n') goto yy713; - goto yy545; - } else { - if (yych <= 'r') goto yy713; - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } -yy790: - YYDEBUG(790, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy907; - if (yych <= '3') goto yy908; - if (yych <= '9') goto yy789; - goto yy56; -yy791: - YYDEBUG(791, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy909; - goto yy56; -yy792: - YYDEBUG(792, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych == '-') goto yy909; - goto yy56; - } else { - if (yych <= 'T') goto yy791; - if (yych == 't') goto yy791; - goto yy56; - } -yy793: - YYDEBUG(793, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy910; - goto yy56; -yy794: - YYDEBUG(794, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ')') goto yy109; - goto yy18; -yy795: - YYDEBUG(795, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '9') { - if (yych <= ' ') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy309; - goto yy56; - } else { - if (yych <= '\t') goto yy311; - if (yych <= 0x1F) goto yy56; - goto yy311; - } - } else { - if (yych <= '-') { - if (yych <= '+') goto yy56; - if (yych <= ',') goto yy311; - goto yy911; - } else { - if (yych <= '.') goto yy311; - if (yych <= '/') goto yy56; - goto yy491; - } - } - } else { - if (yych <= 'm') { - if (yych <= 'd') { - if (yych <= 'c') goto yy56; - goto yy311; - } else { - if (yych == 'h') goto yy311; - goto yy56; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy314; - if (yych <= 'q') goto yy56; - goto yy314; - } else { - if (yych <= 's') goto yy315; - if (yych <= 't') goto yy316; - goto yy56; - } - } - } -yy796: - YYDEBUG(796, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '(') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy280; - goto yy136; - } else { - if (yych == ' ') goto yy136; - goto yy280; - } - } else { - if (yych <= '.') { - if (yych <= ')') goto yy109; - if (yych <= ',') goto yy280; - goto yy136; - } else { - if (yych <= '/') goto yy280; - if (yych <= '9') goto yy136; - goto yy280; - } - } -yy797: - YYDEBUG(797, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy18; - goto yy282; - } else { - if (yych <= '/') { - if (yych <= '.') goto yy18; - goto yy282; - } else { - if (yych == '_') goto yy282; - goto yy18; - } - } -yy798: - YYDEBUG(798, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= ',') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy136; - goto yy280; - } else { - if (yych <= ' ') goto yy136; - if (yych == ')') goto yy109; - goto yy280; - } - } else { - if (yych <= '/') { - if (yych <= '-') goto yy676; - if (yych <= '.') goto yy136; - goto yy282; - } else { - if (yych <= '9') goto yy136; - if (yych == '_') goto yy282; - goto yy280; - } - } -yy799: - YYDEBUG(799, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'F') goto yy914; - if (yych == 'f') goto yy914; - goto yy56; -yy800: - YYDEBUG(800, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'E') goto yy915; - if (yych == 'e') goto yy915; - goto yy18; - } -yy801: - YYDEBUG(801, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'E') goto yy915; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'e') goto yy916; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy802: - YYDEBUG(802, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 12) YYFILL(12); - yych = *YYCURSOR; -yy803: - YYDEBUG(803, *YYCURSOR); - if (yych <= 'X') { - if (yych <= 'G') { - if (yych <= ' ') { - if (yych == '\t') goto yy802; - if (yych <= 0x1F) goto yy56; - goto yy802; - } else { - if (yych <= 'D') { - if (yych <= 'C') goto yy56; - goto yy821; - } else { - if (yych == 'F') goto yy822; - goto yy56; - } - } - } else { - if (yych <= 'S') { - if (yych <= 'L') { - if (yych <= 'H') goto yy823; - goto yy56; - } else { - if (yych <= 'M') goto yy824; - if (yych <= 'R') goto yy56; - goto yy825; - } - } else { - if (yych <= 'U') { - if (yych <= 'T') goto yy826; - goto yy827; - } else { - if (yych == 'W') goto yy917; - goto yy56; - } - } - } - } else { - if (yych <= 'r') { - if (yych <= 'f') { - if (yych <= 'c') { - if (yych <= 'Y') goto yy829; - goto yy56; - } else { - if (yych <= 'd') goto yy821; - if (yych <= 'e') goto yy56; - goto yy822; - } - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy823; - } else { - if (yych == 'm') goto yy824; - goto yy56; - } - } - } else { - if (yych <= 'w') { - if (yych <= 't') { - if (yych <= 's') goto yy825; - goto yy826; - } else { - if (yych <= 'u') goto yy827; - if (yych <= 'v') goto yy56; - goto yy917; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy56; - goto yy829; - } else { - if (yych == 0xC2) goto yy830; - goto yy56; - } - } - } - } -yy804: - YYDEBUG(804, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 0x1F) { - if (yych == '\t') goto yy802; - goto yy18; - } else { - if (yych <= ' ') goto yy802; - if (yych == ')') goto yy109; - goto yy18; - } -yy805: - YYDEBUG(805, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'T') goto yy918; - if (yych == 't') goto yy918; - goto yy18; - } -yy806: - YYDEBUG(806, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= ')') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy802; - goto yy18; - } else { - if (yych <= ' ') goto yy802; - if (yych <= '(') goto yy18; - goto yy109; - } - } else { - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy18; - } else { - if (yych <= '/') goto yy282; - if (yych == '_') goto yy282; - goto yy18; - } - } -yy807: - YYDEBUG(807, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'T') goto yy918; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 't') goto yy919; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy808: - YYDEBUG(808, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'R') goto yy920; - if (yych == 'r') goto yy920; - goto yy18; - } -yy809: - YYDEBUG(809, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'D') goto yy831; - if (yych == 'd') goto yy831; - goto yy803; -yy810: - YYDEBUG(810, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ')') goto yy109; - goto yy300; -yy811: - YYDEBUG(811, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'R') goto yy920; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'r') goto yy921; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy812: - YYDEBUG(812, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '-') { - if (yych == ')') goto yy109; - if (yych <= ',') goto yy300; - goto yy282; - } else { - if (yych <= '/') { - if (yych <= '.') goto yy300; - goto yy282; - } else { - if (yych == '_') goto yy282; - goto yy300; - } - } -yy813: - YYDEBUG(813, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy922; - } else { - if (yych <= '9') goto yy815; - if (yych <= ':') goto yy922; - } -yy814: - YYDEBUG(814, *YYCURSOR); -#line 1757 "parse_date.re" - { - int tz_not_found; - DEBUG_OUTPUT("dateshortwithtimeshort | dateshortwithtimelong | dateshortwithtimelongtz"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->m = timelib_get_month((char **) &ptr); - s->time->d = timelib_get_nr((char **) &ptr, 2); - - TIMELIB_HAVE_TIME(); - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - if (*ptr == ':') { - s->time->s = timelib_get_nr((char **) &ptr, 2); - - if (*ptr == '.') { - s->time->us = timelib_get_frac_nr((char **) &ptr, 8); - } - } - - if (*ptr != '\0') { - s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); - if (tz_not_found) { - add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); - } - } - TIMELIB_DEINIT; - return TIMELIB_SHORTDATE_WITH_TIME; - } -#line 17331 "<stdout>" -yy815: - YYDEBUG(815, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy922; - if (yych == ':') goto yy922; - goto yy814; -yy816: - YYDEBUG(816, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych == '.') goto yy923; - goto yy814; - } else { - if (yych <= '9') goto yy924; - if (yych <= ':') goto yy923; - goto yy814; - } -yy817: - YYDEBUG(817, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy923; - if (yych == ':') goto yy923; - goto yy814; -yy818: - YYDEBUG(818, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy310; - if (yych <= '9') goto yy925; - goto yy310; -yy819: - YYDEBUG(819, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'X') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Y') goto yy926; - if (yych == 'y') goto yy926; - goto yy18; - } -yy820: - YYDEBUG(820, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'X') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'Y') goto yy926; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'y') goto yy927; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy821: - YYDEBUG(821, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy928; - if (yych == 'a') goto yy928; - goto yy56; -yy822: - YYDEBUG(822, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'R') { - if (yych == 'O') goto yy929; - if (yych <= 'Q') goto yy56; - goto yy930; - } else { - if (yych <= 'o') { - if (yych <= 'n') goto yy56; - goto yy929; - } else { - if (yych == 'r') goto yy930; - goto yy56; - } - } -yy823: - YYDEBUG(823, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy931; - if (yych == 'o') goto yy931; - goto yy56; -yy824: - YYDEBUG(824, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych <= 'N') { - if (yych == 'I') goto yy932; - goto yy56; - } else { - if (yych <= 'O') goto yy933; - if (yych <= 'R') goto yy56; - goto yy934; - } - } else { - if (yych <= 'n') { - if (yych == 'i') goto yy932; - goto yy56; - } else { - if (yych <= 'o') goto yy933; - if (yych == 's') goto yy934; - goto yy56; - } - } -yy825: - YYDEBUG(825, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych <= 'D') { - if (yych == 'A') goto yy936; - goto yy56; - } else { - if (yych <= 'E') goto yy937; - if (yych <= 'T') goto yy56; - goto yy938; - } - } else { - if (yych <= 'd') { - if (yych == 'a') goto yy936; - goto yy56; - } else { - if (yych <= 'e') goto yy937; - if (yych == 'u') goto yy938; - goto yy56; - } - } -yy826: - YYDEBUG(826, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'U') { - if (yych == 'H') goto yy939; - if (yych <= 'T') goto yy56; - goto yy940; - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy939; - } else { - if (yych == 'u') goto yy940; - goto yy56; - } - } -yy827: - YYDEBUG(827, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy941; - if (yych == 's') goto yy941; - goto yy56; -yy828: - YYDEBUG(828, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy942; - if (yych == 'e') goto yy942; - goto yy56; -yy829: - YYDEBUG(829, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy943; - if (yych == 'e') goto yy943; - goto yy56; -yy830: - YYDEBUG(830, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 0xB5) goto yy944; - goto yy56; -yy831: - YYDEBUG(831, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy945; - if (yych == 'a') goto yy945; - goto yy56; -yy832: - YYDEBUG(832, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'H') goto yy946; - if (yych == 'h') goto yy946; - goto yy18; - } -yy833: - YYDEBUG(833, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'H') goto yy946; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'h') goto yy947; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy834: - YYDEBUG(834, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Q') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'R') goto yy926; - if (yych == 'r') goto yy926; - goto yy18; - } -yy835: - YYDEBUG(835, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'R') goto yy926; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'r') goto yy927; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy836: - YYDEBUG(836, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'U') goto yy948; - if (yych == 'u') goto yy948; - goto yy18; - } -yy837: - YYDEBUG(837, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'U') goto yy948; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'u') goto yy949; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy838: - YYDEBUG(838, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'A') goto yy950; - if (yych == 'a') goto yy950; - goto yy18; - } -yy839: - YYDEBUG(839, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'A') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'B') goto yy951; - if (yych == 'b') goto yy951; - goto yy18; - } -yy840: - YYDEBUG(840, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'H') goto yy952; - if (yych == 'h') goto yy952; - goto yy18; - } -yy841: - YYDEBUG(841, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '_') { - if (yych <= 'A') goto yy950; - if (yych <= '^') goto yy18; - goto yy282; - } else { - if (yych <= '`') goto yy18; - if (yych <= 'a') goto yy953; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy842: - YYDEBUG(842, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'A') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'B') goto yy951; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'b') goto yy954; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy843: - YYDEBUG(843, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'G') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'H') goto yy952; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'h') goto yy955; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy844: - YYDEBUG(844, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy956; - goto yy56; -yy845: - YYDEBUG(845, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '0') goto yy956; - goto yy56; -yy846: - YYDEBUG(846, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'O') goto yy957; - if (yych == 'o') goto yy957; - goto yy18; - } -yy847: - YYDEBUG(847, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'X') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Y') goto yy958; - if (yych == 'y') goto yy958; - goto yy18; - } -yy848: - YYDEBUG(848, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'O') goto yy957; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'o') goto yy959; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy849: - YYDEBUG(849, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'X') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'Y') goto yy958; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'y') goto yy960; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy850: - YYDEBUG(850, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'D') goto yy961; - if (yych == 'd') goto yy961; - goto yy18; - } -yy851: - YYDEBUG(851, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'X') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'Y') goto yy962; - if (yych == 'y') goto yy962; - goto yy18; - } -yy852: - YYDEBUG(852, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'D') goto yy961; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'd') goto yy963; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy853: - YYDEBUG(853, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'X') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'Y') goto yy962; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'y') goto yy964; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy854: - YYDEBUG(854, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych <= 'D') goto yy965; - if (yych == 'd') goto yy965; - goto yy18; - } -yy855: - YYDEBUG(855, *YYCURSOR); - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'C') { - if (yych <= ',') { - if (yych == ')') goto yy109; - goto yy18; - } else { - if (yych == '.') goto yy18; - if (yych <= '/') goto yy282; - goto yy18; - } - } else { - if (yych <= '`') { - if (yych <= 'D') goto yy965; - if (yych == '_') goto yy282; - goto yy18; - } else { - if (yych == 'd') goto yy966; - if (yych <= 'z') goto yy912; - goto yy18; - } - } -yy856: - YYDEBUG(856, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy967; - goto yy56; -yy857: - YYDEBUG(857, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy967; - goto yy56; -yy858: - YYDEBUG(858, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy968; - goto yy56; -yy859: - YYDEBUG(859, *YYCURSOR); - ++YYCURSOR; - goto yy545; -yy860: - YYDEBUG(860, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(861, *YYCURSOR); - if (yych <= '/') goto yy209; - if (yych <= '9') goto yy860; - goto yy209; -yy862: - YYDEBUG(862, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy214; - if (yych <= '9') goto yy970; - goto yy214; -yy863: - YYDEBUG(863, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy971; - goto yy56; -yy864: - YYDEBUG(864, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '9') goto yy972; - if (yych <= 'm') goto yy545; - goto yy713; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy865: - YYDEBUG(865, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '1') { - if (yych <= '/') goto yy545; - goto yy972; - } else { - if (yych <= '9') goto yy709; - if (yych <= 'm') goto yy545; - goto yy713; - } - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy866: - YYDEBUG(866, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy974; - if (yych <= '3') goto yy975; - if (yych <= '9') goto yy976; - goto yy56; -yy867: - YYDEBUG(867, *YYCURSOR); - yyaccept = 19; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '-') goto yy977; - goto yy724; -yy868: - YYDEBUG(868, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy978; - if (yych == 'r') goto yy978; - goto yy56; -yy869: - YYDEBUG(869, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'G') goto yy979; - if (yych == 'g') goto yy979; - goto yy56; -yy870: - YYDEBUG(870, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy980; - if (yych == 'c') goto yy980; - goto yy56; -yy871: - YYDEBUG(871, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'B') goto yy981; - if (yych == 'b') goto yy981; - goto yy56; -yy872: - YYDEBUG(872, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy982; - if (yych == 'n') goto yy982; - goto yy56; -yy873: - YYDEBUG(873, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych == 'L') goto yy983; - if (yych <= 'M') goto yy56; - goto yy984; - } else { - if (yych <= 'l') { - if (yych <= 'k') goto yy56; - goto yy983; - } else { - if (yych == 'n') goto yy984; - goto yy56; - } - } -yy874: - YYDEBUG(874, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'Y') { - if (yych == 'R') goto yy985; - if (yych <= 'X') goto yy56; - goto yy986; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy56; - goto yy985; - } else { - if (yych == 'y') goto yy986; - goto yy56; - } - } -yy875: - YYDEBUG(875, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'V') goto yy980; - if (yych == 'v') goto yy980; - goto yy56; -yy876: - YYDEBUG(876, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy987; - if (yych == 't') goto yy987; - goto yy56; -yy877: - YYDEBUG(877, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'P') goto yy988; - if (yych == 'p') goto yy988; - goto yy56; -yy878: - YYDEBUG(878, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '0') goto yy56; - if (yych <= '9') goto yy989; - goto yy56; -yy879: - YYDEBUG(879, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy989; - goto yy56; -yy880: - YYDEBUG(880, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '6') goto yy989; - goto yy56; -yy881: - YYDEBUG(881, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'P') goto yy899; - if (yych == 'p') goto yy899; - goto yy56; -yy882: - YYDEBUG(882, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy990; - if (yych <= '3') goto yy992; - if (yych <= '9') goto yy993; - goto yy56; -yy883: - YYDEBUG(883, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy994; - goto yy56; -yy884: - YYDEBUG(884, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy187; - if (yych <= '9') goto yy995; - goto yy187; -yy885: - YYDEBUG(885, *YYCURSOR); - yyaccept = 22; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'E') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych >= ' ') goto yy187; - } else { - if (yych <= '9') { - if (yych >= '0') goto yy995; - } else { - if (yych == 'D') goto yy187; - } - } - } else { - if (yych <= 'L') { - if (yych == 'G') goto yy886; - if (yych <= 'H') goto yy187; - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - } else { - if (yych != 'V') goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych >= 'd') goto yy187; - } else { - if (yych <= 'f') { - if (yych >= 'f') goto yy187; - } else { - if (yych == 'h') goto yy187; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - } else { - if (yych != 'v') goto yy187; - } - } else { - if (yych <= 'y') { - if (yych >= 'y') goto yy187; - } else { - if (yych == 0xC2) goto yy187; - } - } - } - } -yy886: - YYDEBUG(886, *YYCURSOR); -#line 1519 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("pgydotd"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - s->time->d = timelib_get_nr((char **) &ptr, 3); - s->time->m = 1; - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_PG_YEARDAY; - } -#line 18214 "<stdout>" -yy887: - YYDEBUG(887, *YYCURSOR); - yyaccept = 22; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'W') { - if (yych <= 'D') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy886; - goto yy187; - } else { - if (yych <= '1') { - if (yych <= '/') goto yy886; - goto yy995; - } else { - if (yych <= '9') goto yy57; - if (yych <= 'C') goto yy886; - goto yy187; - } - } - } else { - if (yych <= 'L') { - if (yych <= 'F') { - if (yych <= 'E') goto yy886; - goto yy187; - } else { - if (yych == 'H') goto yy187; - goto yy886; - } - } else { - if (yych <= 'R') { - if (yych <= 'M') goto yy187; - goto yy886; - } else { - if (yych == 'V') goto yy886; - goto yy187; - } - } - } - } else { - if (yych <= 'l') { - if (yych <= 'd') { - if (yych == 'Y') goto yy187; - if (yych <= 'c') goto yy886; - goto yy187; - } else { - if (yych <= 'f') { - if (yych <= 'e') goto yy886; - goto yy187; - } else { - if (yych == 'h') goto yy187; - goto yy886; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') { - if (yych <= 'm') goto yy187; - goto yy886; - } else { - if (yych == 'v') goto yy886; - goto yy187; - } - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy886; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy886; - } - } - } - } -yy888: - YYDEBUG(888, *YYCURSOR); - yyaccept = 22; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy57; - } - if (yych <= 'X') { - if (yych <= 'F') { - if (yych <= ' ') { - if (yych == '\t') goto yy187; - if (yych <= 0x1F) goto yy886; - goto yy187; - } else { - if (yych == 'D') goto yy187; - if (yych <= 'E') goto yy886; - goto yy187; - } - } else { - if (yych <= 'M') { - if (yych == 'H') goto yy187; - if (yych <= 'L') goto yy886; - goto yy187; - } else { - if (yych <= 'U') { - if (yych <= 'R') goto yy886; - goto yy187; - } else { - if (yych == 'W') goto yy187; - goto yy886; - } - } - } - } else { - if (yych <= 'm') { - if (yych <= 'e') { - if (yych <= 'Y') goto yy187; - if (yych == 'd') goto yy187; - goto yy886; - } else { - if (yych <= 'g') { - if (yych <= 'f') goto yy187; - goto yy886; - } else { - if (yych <= 'h') goto yy187; - if (yych <= 'l') goto yy886; - goto yy187; - } - } - } else { - if (yych <= 'w') { - if (yych <= 'r') goto yy886; - if (yych == 'v') goto yy886; - goto yy187; - } else { - if (yych <= 'y') { - if (yych <= 'x') goto yy886; - goto yy187; - } else { - if (yych == 0xC2) goto yy187; - goto yy886; - } - } - } - } -yy889: - YYDEBUG(889, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy997; - goto yy56; -yy890: - YYDEBUG(890, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'I') goto yy998; - if (yych == 'i') goto yy998; - goto yy577; -yy891: - YYDEBUG(891, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'U') goto yy999; - if (yych == 'u') goto yy999; - goto yy577; -yy892: - YYDEBUG(892, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy1000; - if (yych == 'e') goto yy1000; - goto yy577; -yy893: - YYDEBUG(893, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'R') goto yy1001; - if (yych == 'r') goto yy1001; - goto yy577; -yy894: - YYDEBUG(894, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'U') goto yy1002; - if (yych == 'u') goto yy1002; - goto yy577; -yy895: - YYDEBUG(895, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy759; - if (yych == 'y') goto yy759; - goto yy577; -yy896: - YYDEBUG(896, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy759; - if (yych == 'e') goto yy759; - goto yy577; -yy897: - YYDEBUG(897, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'C') goto yy1003; - if (yych == 'c') goto yy1003; - goto yy577; -yy898: - YYDEBUG(898, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'O') goto yy1004; - if (yych == 'o') goto yy1004; - goto yy577; -yy899: - YYDEBUG(899, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy892; - if (yych == 't') goto yy892; - goto yy577; -yy900: - YYDEBUG(900, *YYCURSOR); - yyaccept = 24; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '-') goto yy1005; - if (yych <= '/') goto yy901; - if (yych <= '7') goto yy1006; -yy901: - YYDEBUG(901, *YYCURSOR); -#line 1552 "parse_date.re" - { - timelib_sll w, d; - DEBUG_OUTPUT("isoweek"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - TIMELIB_HAVE_RELATIVE(); - - s->time->y = timelib_get_nr((char **) &ptr, 4); - w = timelib_get_nr((char **) &ptr, 2); - d = 1; - s->time->m = 1; - s->time->d = 1; - s->time->relative.d = timelib_daynr_from_weeknr(s->time->y, w, d); - - TIMELIB_DEINIT; - return TIMELIB_ISO_WEEK; - } -#line 18453 "<stdout>" -yy902: - YYDEBUG(902, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'G') goto yy1008; - if (yych == 'g') goto yy1008; - goto yy56; -yy903: - YYDEBUG(903, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy243; - if (yych == 'y') goto yy243; - goto yy56; -yy904: - YYDEBUG(904, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1009; - if (yych == 'e') goto yy1009; - goto yy56; -yy905: - YYDEBUG(905, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy243; - if (yych == 'r') goto yy243; - goto yy56; -yy906: - YYDEBUG(906, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ':') { - if (yych <= ' ') { - if (yych == '\t') goto yy616; - if (yych <= 0x1F) goto yy209; - goto yy616; - } else { - if (yych == '.') goto yy1010; - if (yych <= '9') goto yy209; - goto yy1011; - } - } else { - if (yych <= 'P') { - if (yych == 'A') goto yy102; - if (yych <= 'O') goto yy209; - goto yy102; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy209; - goto yy102; - } else { - if (yych == 'p') goto yy102; - goto yy209; - } - } - } -yy907: - YYDEBUG(907, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '9') goto yy1012; - if (yych <= 'm') goto yy545; - goto yy713; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy908: - YYDEBUG(908, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy545; - if (yych <= '1') goto yy1012; - if (yych <= 'm') goto yy545; - goto yy713; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy545; - } - } -yy909: - YYDEBUG(909, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy1013; - if (yych <= '3') goto yy1014; - goto yy56; -yy910: - YYDEBUG(910, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1015; - goto yy56; -yy911: - YYDEBUG(911, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1016; - goto yy56; -yy912: - YYDEBUG(912, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; -yy913: - YYDEBUG(913, *YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy56; - } else { - if (yych <= '/') goto yy282; - if (yych == '_') goto yy282; - goto yy56; - } -yy914: - YYDEBUG(914, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ' ') goto yy1018; - goto yy56; -yy915: - YYDEBUG(915, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy926; - if (yych == 'r') goto yy926; - goto yy56; -yy916: - YYDEBUG(916, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy926; - if (yych == 'r') goto yy927; - goto yy913; -yy917: - YYDEBUG(917, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1019; - if (yych == 'e') goto yy1019; - goto yy56; -yy918: - YYDEBUG(918, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy952; - if (yych == 'h') goto yy952; - goto yy56; -yy919: - YYDEBUG(919, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy952; - if (yych == 'h') goto yy955; - goto yy913; -yy920: - YYDEBUG(920, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy926; - if (yych == 'y') goto yy926; - goto yy56; -yy921: - YYDEBUG(921, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy926; - if (yych == 'y') goto yy927; - goto yy913; -yy922: - YYDEBUG(922, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1020; - if (yych <= '6') goto yy1021; - if (yych <= '9') goto yy1022; - goto yy56; -yy923: - YYDEBUG(923, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1023; - if (yych <= '6') goto yy1024; - if (yych <= '9') goto yy1022; - goto yy56; -yy924: - YYDEBUG(924, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ':') { - if (yych <= ' ') { - if (yych == '\t') goto yy1025; - if (yych <= 0x1F) goto yy814; - goto yy1025; - } else { - if (yych == '.') goto yy923; - if (yych <= '9') goto yy814; - goto yy923; - } - } else { - if (yych <= 'P') { - if (yych == 'A') goto yy1027; - if (yych <= 'O') goto yy814; - goto yy1027; - } else { - if (yych <= 'a') { - if (yych <= '`') goto yy814; - goto yy1027; - } else { - if (yych == 'p') goto yy1027; - goto yy814; - } - } - } -yy925: - YYDEBUG(925, *YYCURSOR); - ++YYCURSOR; - goto yy310; -yy926: - YYDEBUG(926, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy136; - if (yych <= 0x1F) goto yy280; - goto yy136; - } else { - if (yych <= '.') { - if (yych <= ',') goto yy280; - goto yy136; - } else { - if (yych <= '/') goto yy280; - if (yych <= '9') goto yy136; - goto yy280; - } - } -yy927: - YYDEBUG(927, *YYCURSOR); - yyaccept = 8; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy136; - goto yy280; - } else { - if (yych <= ' ') goto yy136; - if (yych <= ',') goto yy280; - goto yy676; - } - } else { - if (yych <= '9') { - if (yych == '/') goto yy282; - goto yy136; - } else { - if (yych == '_') goto yy282; - goto yy280; - } - } -yy928: - YYDEBUG(928, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy1028; - if (yych == 'y') goto yy1028; - goto yy56; -yy929: - YYDEBUG(929, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy1029; - if (yych == 'r') goto yy1029; - goto yy56; -yy930: - YYDEBUG(930, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy1030; - if (yych == 'i') goto yy1030; - goto yy56; -yy931: - YYDEBUG(931, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'U') goto yy1031; - if (yych == 'u') goto yy1031; - goto yy56; -yy932: - YYDEBUG(932, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych <= 'K') { - if (yych == 'C') goto yy1032; - goto yy56; - } else { - if (yych <= 'L') goto yy1033; - if (yych <= 'M') goto yy56; - goto yy1034; - } - } else { - if (yych <= 'k') { - if (yych == 'c') goto yy1032; - goto yy56; - } else { - if (yych <= 'l') goto yy1033; - if (yych == 'n') goto yy1034; - goto yy56; - } - } -yy933: - YYDEBUG(933, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy1035; - if (yych == 'n') goto yy1035; - goto yy56; -yy934: - YYDEBUG(934, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy1036; - if (yych == 'e') goto yy1036; -yy935: - YYDEBUG(935, *YYCURSOR); -#line 1692 "parse_date.re" - { - timelib_sll i; - int behavior = 0; - DEBUG_OUTPUT("relativetext"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - - while(*ptr) { - i = timelib_get_relative_text((char **) &ptr, &behavior); - timelib_eat_spaces((char **) &ptr); - timelib_set_relative((char **) &ptr, i, behavior, s); - } - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 18797 "<stdout>" -yy936: - YYDEBUG(936, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1037; - if (yych == 't') goto yy1037; - goto yy56; -yy937: - YYDEBUG(937, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy1038; - if (yych == 'c') goto yy1038; - goto yy56; -yy938: - YYDEBUG(938, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy1030; - if (yych == 'n') goto yy1030; - goto yy56; -yy939: - YYDEBUG(939, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'U') goto yy1039; - if (yych == 'u') goto yy1039; - goto yy56; -yy940: - YYDEBUG(940, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1040; - if (yych == 'e') goto yy1040; - goto yy56; -yy941: - YYDEBUG(941, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1036; - if (yych == 'e') goto yy1036; - goto yy56; -yy942: - YYDEBUG(942, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= 'C') goto yy56; - if (yych <= 'D') goto yy1041; - goto yy1042; - } else { - if (yych <= 'c') goto yy56; - if (yych <= 'd') goto yy1041; - if (yych <= 'e') goto yy1042; - goto yy56; - } -yy943: - YYDEBUG(943, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy1031; - if (yych == 'a') goto yy1031; - goto yy56; -yy944: - YYDEBUG(944, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy934; - if (yych == 's') goto yy934; - goto yy56; -yy945: - YYDEBUG(945, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy1043; - if (yych == 'y') goto yy1043; - goto yy56; -yy946: - YYDEBUG(946, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1044; - if (yych == 't') goto yy1044; - goto yy56; -yy947: - YYDEBUG(947, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1044; - if (yych == 't') goto yy1045; - goto yy913; -yy948: - YYDEBUG(948, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy1046; - if (yych == 's') goto yy1046; - goto yy56; -yy949: - YYDEBUG(949, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy1046; - if (yych == 's') goto yy1047; - goto yy913; -yy950: - YYDEBUG(950, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy958; - if (yych == 'y') goto yy958; - goto yy56; -yy951: - YYDEBUG(951, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy915; - if (yych == 'e') goto yy915; - goto yy56; -yy952: - YYDEBUG(952, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '\t') goto yy802; - if (yych == ' ') goto yy802; - goto yy56; -yy953: - YYDEBUG(953, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy958; - if (yych == 'y') goto yy960; - goto yy913; -yy954: - YYDEBUG(954, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy915; - if (yych == 'e') goto yy916; - goto yy913; -yy955: - YYDEBUG(955, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '\t') goto yy802; - if (yych == ' ') goto yy802; - goto yy913; -yy956: - YYDEBUG(956, *YYCURSOR); - ++YYCURSOR; - goto yy747; -yy957: - YYDEBUG(957, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'W') goto yy1048; - if (yych == 'w') goto yy1048; - goto yy56; -yy958: - YYDEBUG(958, *YYCURSOR); - ++YYCURSOR; - goto yy300; -yy959: - YYDEBUG(959, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'W') goto yy1048; - if (yych == 'w') goto yy1050; - goto yy913; -yy960: - YYDEBUG(960, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy300; - } else { - if (yych <= '/') goto yy282; - if (yych == '_') goto yy282; - goto yy300; - } -yy961: - YYDEBUG(961, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy950; - if (yych == 'a') goto yy950; - goto yy56; -yy962: - YYDEBUG(962, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy958; - if (yych == 's') goto yy958; - goto yy300; -yy963: - YYDEBUG(963, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy950; - if (yych == 'a') goto yy953; - goto yy913; -yy964: - YYDEBUG(964, *YYCURSOR); - yyaccept = 10; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy300; - } else { - if (yych <= '/') goto yy282; - if (yych <= 'R') goto yy300; - goto yy958; - } - } else { - if (yych <= '`') { - if (yych == '_') goto yy282; - goto yy300; - } else { - if (yych == 's') goto yy960; - if (yych <= 'z') goto yy912; - goto yy300; - } - } -yy965: - YYDEBUG(965, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy1051; - if (yych == 'a') goto yy1051; - goto yy56; -yy966: - YYDEBUG(966, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy1051; - if (yych == 'a') goto yy1052; - goto yy913; -yy967: - YYDEBUG(967, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '-') goto yy1053; - goto yy56; -yy968: - YYDEBUG(968, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(969, *YYCURSOR); -#line 1401 "parse_date.re" - { - DEBUG_OUTPUT("pointed date YYYY"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->d = timelib_get_nr((char **) &ptr, 2); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->y = timelib_get_nr((char **) &ptr, 4); - TIMELIB_DEINIT; - return TIMELIB_DATE_FULL_POINTED; - } -#line 19033 "<stdout>" -yy970: - YYDEBUG(970, *YYCURSOR); - ++YYCURSOR; - goto yy214; -yy971: - YYDEBUG(971, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1054; - goto yy56; -yy972: - YYDEBUG(972, *YYCURSOR); - yyaccept = 26; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy973; - if (yych <= '9') goto yy858; - if (yych >= 'n') goto yy713; - } else { - if (yych <= 'r') { - if (yych >= 'r') goto yy713; - } else { - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - } - } -yy973: - YYDEBUG(973, *YYCURSOR); -#line 1344 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("iso8601date2"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->d = timelib_get_nr((char **) &ptr, 2); - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_ISO_DATE; - } -#line 19075 "<stdout>" -yy974: - YYDEBUG(974, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'm') { - if (yych <= '9') { - if (yych <= '/') goto yy545; - goto yy976; - } else { - if (yych == 'T') goto yy1055; - goto yy545; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy1056; - if (yych <= 'q') goto yy545; - goto yy1056; - } else { - if (yych <= 's') goto yy1057; - if (yych <= 't') goto yy1058; - goto yy545; - } - } -yy975: - YYDEBUG(975, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'm') { - if (yych <= '1') { - if (yych <= '/') goto yy545; - } else { - if (yych == 'T') goto yy1055; - goto yy545; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy1056; - if (yych <= 'q') goto yy545; - goto yy1056; - } else { - if (yych <= 's') goto yy1057; - if (yych <= 't') goto yy1058; - goto yy545; - } - } -yy976: - YYDEBUG(976, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych == 'T') goto yy1055; - if (yych <= 'm') goto yy545; - goto yy1056; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy545; - goto yy1056; - } else { - if (yych <= 's') goto yy1057; - if (yych <= 't') goto yy1058; - goto yy545; - } - } -yy977: - YYDEBUG(977, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy1059; - if (yych <= '3') goto yy1060; - if (yych <= '9') goto yy976; - goto yy56; -yy978: - YYDEBUG(978, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'H') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'I') goto yy998; - if (yych == 'i') goto yy998; - goto yy577; - } -yy979: - YYDEBUG(979, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'U') goto yy999; - if (yych == 'u') goto yy999; - goto yy577; - } -yy980: - YYDEBUG(980, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'E') goto yy1000; - if (yych == 'e') goto yy1000; - goto yy577; - } -yy981: - YYDEBUG(981, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'Q') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'R') goto yy1001; - if (yych == 'r') goto yy1001; - goto yy577; - } -yy982: - YYDEBUG(982, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'T') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'U') goto yy1002; - if (yych == 'u') goto yy1002; - goto yy577; - } -yy983: - YYDEBUG(983, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'X') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'Y') goto yy759; - if (yych == 'y') goto yy759; - goto yy577; - } -yy984: - YYDEBUG(984, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'E') goto yy759; - if (yych == 'e') goto yy759; - goto yy577; - } -yy985: - YYDEBUG(985, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'B') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'C') goto yy1003; - if (yych == 'c') goto yy1003; - goto yy577; - } -yy986: - YYDEBUG(986, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '-') goto yy909; - goto yy577; -yy987: - YYDEBUG(987, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'N') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'O') goto yy1004; - if (yych == 'o') goto yy1004; - goto yy577; - } -yy988: - YYDEBUG(988, *YYCURSOR); - yyaccept = 23; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych == '-') goto yy909; - goto yy577; - } else { - if (yych <= 'T') goto yy980; - if (yych == 't') goto yy980; - goto yy577; - } -yy989: - YYDEBUG(989, *YYCURSOR); - ++YYCURSOR; - goto yy886; -yy990: - YYDEBUG(990, *YYCURSOR); - yyaccept = 27; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy991; - if (yych <= '9') goto yy993; - if (yych >= 'n') goto yy1061; - } else { - if (yych <= 'r') { - if (yych >= 'r') goto yy1061; - } else { - if (yych <= 's') goto yy1062; - if (yych <= 't') goto yy1063; - } - } -yy991: - YYDEBUG(991, *YYCURSOR); -#line 1332 "parse_date.re" - { - DEBUG_OUTPUT("iso8601date4 | iso8601date2 | iso8601dateslash | dateslash"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_unsigned_nr((char **) &ptr, 4); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->d = timelib_get_nr((char **) &ptr, 2); - TIMELIB_DEINIT; - return TIMELIB_ISO_DATE; - } -#line 19306 "<stdout>" -yy992: - YYDEBUG(992, *YYCURSOR); - yyaccept = 27; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy991; - if (yych <= '1') goto yy993; - if (yych <= 'm') goto yy991; - goto yy1061; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy991; - goto yy1061; - } else { - if (yych <= 's') goto yy1062; - if (yych <= 't') goto yy1063; - goto yy991; - } - } -yy993: - YYDEBUG(993, *YYCURSOR); - yyaccept = 27; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'q') { - if (yych == 'n') goto yy1061; - goto yy991; - } else { - if (yych <= 'r') goto yy1061; - if (yych <= 's') goto yy1062; - if (yych <= 't') goto yy1063; - goto yy991; - } -yy994: - YYDEBUG(994, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy1064; - if (yych <= '3') goto yy1065; - if (yych <= '9') goto yy993; - goto yy56; -yy995: - YYDEBUG(995, *YYCURSOR); - yyaccept = 28; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy57; - } - if (yych <= 'X') { - if (yych <= 'G') { - if (yych <= ' ') { - if (yych == '\t') goto yy186; - if (yych >= ' ') goto yy186; - } else { - if (yych <= 'D') { - if (yych >= 'D') goto yy188; - } else { - if (yych == 'F') goto yy189; - } - } - } else { - if (yych <= 'S') { - if (yych <= 'L') { - if (yych <= 'H') goto yy76; - } else { - if (yych <= 'M') goto yy190; - if (yych >= 'S') goto yy191; - } - } else { - if (yych <= 'U') { - if (yych <= 'T') goto yy1066; - goto yy85; - } else { - if (yych == 'W') goto yy87; - } - } - } - } else { - if (yych <= 'r') { - if (yych <= 'f') { - if (yych <= 'c') { - if (yych <= 'Y') goto yy89; - } else { - if (yych <= 'd') goto yy188; - if (yych >= 'f') goto yy189; - } - } else { - if (yych <= 'h') { - if (yych >= 'h') goto yy76; - } else { - if (yych == 'm') goto yy190; - } - } - } else { - if (yych <= 'w') { - if (yych <= 't') { - if (yych <= 's') goto yy191; - goto yy1067; - } else { - if (yych <= 'u') goto yy85; - if (yych >= 'w') goto yy87; - } - } else { - if (yych <= 'y') { - if (yych >= 'y') goto yy89; - } else { - if (yych == 0xC2) goto yy94; - } - } - } - } -yy996: - YYDEBUG(996, *YYCURSOR); -#line 1481 "parse_date.re" - { - DEBUG_OUTPUT("datenocolon"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr((char **) &ptr, 4); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->d = timelib_get_nr((char **) &ptr, 2); - TIMELIB_DEINIT; - return TIMELIB_DATE_NOCOLON; - } -#line 19430 "<stdout>" -yy997: - YYDEBUG(997, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy1068; - if (yych <= '3') goto yy1069; - goto yy56; -yy998: - YYDEBUG(998, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'L') goto yy759; - if (yych == 'l') goto yy759; - goto yy56; -yy999: - YYDEBUG(999, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy1070; - if (yych == 's') goto yy1070; - goto yy56; -yy1000: - YYDEBUG(1000, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy1004; - if (yych == 'm') goto yy1004; - goto yy56; -yy1001: - YYDEBUG(1001, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'U') goto yy1002; - if (yych != 'u') goto yy56; -yy1002: - YYDEBUG(1002, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy1071; - if (yych == 'a') goto yy1071; - goto yy56; -yy1003: - YYDEBUG(1003, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy759; - if (yych == 'h') goto yy759; - goto yy56; -yy1004: - YYDEBUG(1004, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'B') goto yy1072; - if (yych == 'b') goto yy1072; - goto yy56; -yy1005: - YYDEBUG(1005, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych >= '8') goto yy56; -yy1006: - YYDEBUG(1006, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(1007, *YYCURSOR); -#line 1533 "parse_date.re" - { - timelib_sll w, d; - DEBUG_OUTPUT("isoweekday"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - TIMELIB_HAVE_RELATIVE(); - - s->time->y = timelib_get_nr((char **) &ptr, 4); - w = timelib_get_nr((char **) &ptr, 2); - d = timelib_get_nr((char **) &ptr, 1); - s->time->m = 1; - s->time->d = 1; - s->time->relative.d = timelib_daynr_from_weeknr(s->time->y, w, d); - - TIMELIB_DEINIT; - return TIMELIB_ISO_WEEK; - } -#line 19506 "<stdout>" -yy1008: - YYDEBUG(1008, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy1073; - if (yych == 'h') goto yy1073; - goto yy56; -yy1009: - YYDEBUG(1009, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy1074; - if (yych == 'c') goto yy1074; - goto yy56; -yy1010: - YYDEBUG(1010, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1075; - goto yy56; -yy1011: - YYDEBUG(1011, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1077; - goto yy56; -yy1012: - YYDEBUG(1012, *YYCURSOR); - yyaccept = 26; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'q') { - if (yych == 'n') goto yy713; - goto yy973; - } else { - if (yych <= 'r') goto yy713; - if (yych <= 's') goto yy714; - if (yych <= 't') goto yy715; - goto yy973; - } -yy1013: - YYDEBUG(1013, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1079; - goto yy56; -yy1014: - YYDEBUG(1014, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1079; - goto yy56; -yy1015: - YYDEBUG(1015, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1081; - goto yy56; -yy1016: - YYDEBUG(1016, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1017; - if (yych <= '9') goto yy1083; -yy1017: - YYDEBUG(1017, *YYCURSOR); -#line 1571 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("pgtextshort"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->m = timelib_get_month((char **) &ptr); - s->time->d = timelib_get_nr((char **) &ptr, 2); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_PG_TEXT; - } -#line 19582 "<stdout>" -yy1018: - YYDEBUG(1018, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1084; - if (yych <= '2') goto yy1086; - if (yych <= '9') goto yy1087; - goto yy56; -yy1019: - YYDEBUG(1019, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'E') { - if (yych <= 'C') goto yy56; - if (yych <= 'D') goto yy1041; - goto yy1088; - } else { - if (yych <= 'c') goto yy56; - if (yych <= 'd') goto yy1041; - if (yych <= 'e') goto yy1088; - goto yy56; - } -yy1020: - YYDEBUG(1020, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy814; - if (yych <= '9') goto yy1089; - goto yy814; -yy1021: - YYDEBUG(1021, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '0') goto yy1089; - goto yy814; -yy1022: - YYDEBUG(1022, *YYCURSOR); - ++YYCURSOR; - goto yy814; -yy1023: - YYDEBUG(1023, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy814; - if (yych <= '9') goto yy1090; - goto yy814; -yy1024: - YYDEBUG(1024, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '0') goto yy1090; - goto yy814; -yy1025: - YYDEBUG(1025, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); - yych = *YYCURSOR; - YYDEBUG(1026, *YYCURSOR); - if (yych <= 'A') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1025; - goto yy56; - } else { - if (yych <= ' ') goto yy1025; - if (yych <= '@') goto yy56; - } - } else { - if (yych <= '`') { - if (yych != 'P') goto yy56; - } else { - if (yych <= 'a') goto yy1027; - if (yych != 'p') goto yy56; - } - } -yy1027: - YYDEBUG(1027, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych == '.') goto yy1091; - goto yy56; - } else { - if (yych <= 'M') goto yy1092; - if (yych == 'm') goto yy1092; - goto yy56; - } -yy1028: - YYDEBUG(1028, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy1093; - if (yych == 's') goto yy1093; - goto yy935; -yy1029: - YYDEBUG(1029, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1094; - if (yych == 't') goto yy1094; - goto yy56; -yy1030: - YYDEBUG(1030, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy1095; - if (yych <= 0x1F) goto yy935; - goto yy1095; - } else { - if (yych <= 'D') { - if (yych <= 'C') goto yy935; - goto yy1097; - } else { - if (yych == 'd') goto yy1097; - goto yy935; - } - } -yy1031: - YYDEBUG(1031, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy1028; - if (yych == 'r') goto yy1028; - goto yy56; -yy1032: - YYDEBUG(1032, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy1098; - if (yych == 'r') goto yy1098; - goto yy56; -yy1033: - YYDEBUG(1033, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'L') goto yy1099; - if (yych == 'l') goto yy1099; - goto yy56; -yy1034: - YYDEBUG(1034, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'U') { - if (yych == 'S') goto yy1093; - if (yych <= 'T') goto yy935; - goto yy1100; - } else { - if (yych <= 's') { - if (yych <= 'r') goto yy935; - goto yy1093; - } else { - if (yych == 'u') goto yy1100; - goto yy935; - } - } -yy1035: - YYDEBUG(1035, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'D') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1095; - goto yy935; - } else { - if (yych <= ' ') goto yy1095; - if (yych <= 'C') goto yy935; - goto yy1097; - } - } else { - if (yych <= 'c') { - if (yych == 'T') goto yy1101; - goto yy935; - } else { - if (yych <= 'd') goto yy1097; - if (yych == 't') goto yy1101; - goto yy935; - } - } -yy1036: - YYDEBUG(1036, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy1028; - if (yych == 'c') goto yy1028; - goto yy56; -yy1037: - YYDEBUG(1037, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy1095; - if (yych <= 0x1F) goto yy935; - goto yy1095; - } else { - if (yych <= 'U') { - if (yych <= 'T') goto yy935; - goto yy1102; - } else { - if (yych == 'u') goto yy1102; - goto yy935; - } - } -yy1038: - YYDEBUG(1038, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych == 'O') goto yy1103; - if (yych <= 'R') goto yy935; - goto yy1093; - } else { - if (yych <= 'o') { - if (yych <= 'n') goto yy935; - goto yy1103; - } else { - if (yych == 's') goto yy1093; - goto yy935; - } - } -yy1039: - YYDEBUG(1039, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy1095; - if (yych <= 0x1F) goto yy935; - goto yy1095; - } else { - if (yych <= 'R') { - if (yych <= 'Q') goto yy935; - goto yy1104; - } else { - if (yych == 'r') goto yy1104; - goto yy935; - } - } -yy1040: - YYDEBUG(1040, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy1095; - if (yych <= 0x1F) goto yy935; - goto yy1095; - } else { - if (yych <= 'S') { - if (yych <= 'R') goto yy935; - goto yy1105; - } else { - if (yych == 's') goto yy1105; - goto yy935; - } - } -yy1041: - YYDEBUG(1041, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy1095; - if (yych <= 0x1F) goto yy935; - goto yy1095; - } else { - if (yych <= 'N') { - if (yych <= 'M') goto yy935; - goto yy1106; - } else { - if (yych == 'n') goto yy1106; - goto yy935; - } - } -yy1042: - YYDEBUG(1042, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'K') goto yy1107; - if (yych == 'k') goto yy1107; - goto yy56; -yy1043: - YYDEBUG(1043, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'R') { - if (yych == ' ') goto yy1109; - goto yy935; - } else { - if (yych <= 'S') goto yy1093; - if (yych == 's') goto yy1093; - goto yy935; - } -yy1044: - YYDEBUG(1044, *YYCURSOR); - ++YYCURSOR; - goto yy696; -yy1045: - YYDEBUG(1045, *YYCURSOR); - yyaccept = 17; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy696; - } else { - if (yych <= '/') goto yy282; - if (yych == '_') goto yy282; - goto yy696; - } -yy1046: - YYDEBUG(1046, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '\t') goto yy677; - if (yych == ' ') goto yy677; - goto yy56; -yy1047: - YYDEBUG(1047, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '\t') goto yy677; - if (yych == ' ') goto yy677; - goto yy913; -yy1048: - YYDEBUG(1048, *YYCURSOR); - ++YYCURSOR; -yy1049: - YYDEBUG(1049, *YYCURSOR); -#line 1059 "parse_date.re" - { - DEBUG_OUTPUT("tomorrow"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - TIMELIB_UNHAVE_TIME(); - - s->time->relative.d = 1; - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 19906 "<stdout>" -yy1050: - YYDEBUG(1050, *YYCURSOR); - yyaccept = 29; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy1049; - } else { - if (yych <= '/') goto yy282; - if (yych == '_') goto yy282; - goto yy1049; - } -yy1051: - YYDEBUG(1051, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy1110; - if (yych == 'y') goto yy1110; - goto yy56; -yy1052: - YYDEBUG(1052, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy1110; - if (yych == 'y') goto yy1112; - goto yy913; -yy1053: - YYDEBUG(1053, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '2') goto yy1113; - if (yych <= '3') goto yy1114; - goto yy56; -yy1054: - YYDEBUG(1054, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1115; - goto yy56; -yy1055: - YYDEBUG(1055, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1116; - if (yych <= '2') goto yy1117; - if (yych <= '9') goto yy1118; - goto yy56; -yy1056: - YYDEBUG(1056, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'd') goto yy1119; - goto yy56; -yy1057: - YYDEBUG(1057, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 't') goto yy1119; - goto yy56; -yy1058: - YYDEBUG(1058, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'h') goto yy1119; - goto yy56; -yy1059: - YYDEBUG(1059, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'm') { - if (yych <= '9') { - if (yych <= '/') goto yy545; - goto yy1120; - } else { - if (yych == 'T') goto yy1055; - goto yy545; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy1056; - if (yych <= 'q') goto yy545; - goto yy1056; - } else { - if (yych <= 's') goto yy1057; - if (yych <= 't') goto yy1058; - goto yy545; - } - } -yy1060: - YYDEBUG(1060, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'm') { - if (yych <= '1') { - if (yych <= '/') goto yy545; - goto yy1120; - } else { - if (yych == 'T') goto yy1055; - goto yy545; - } - } else { - if (yych <= 'r') { - if (yych <= 'n') goto yy1056; - if (yych <= 'q') goto yy545; - goto yy1056; - } else { - if (yych <= 's') goto yy1057; - if (yych <= 't') goto yy1058; - goto yy545; - } - } -yy1061: - YYDEBUG(1061, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'd') goto yy1121; - goto yy56; -yy1062: - YYDEBUG(1062, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 't') goto yy1121; - goto yy56; -yy1063: - YYDEBUG(1063, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'h') goto yy1121; - goto yy56; -yy1064: - YYDEBUG(1064, *YYCURSOR); - yyaccept = 27; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy991; - if (yych <= '9') goto yy1122; - if (yych <= 'm') goto yy991; - goto yy1061; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy991; - goto yy1061; - } else { - if (yych <= 's') goto yy1062; - if (yych <= 't') goto yy1063; - goto yy991; - } - } -yy1065: - YYDEBUG(1065, *YYCURSOR); - yyaccept = 27; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych <= '/') goto yy991; - if (yych <= '1') goto yy1122; - if (yych <= 'm') goto yy991; - goto yy1061; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy991; - goto yy1061; - } else { - if (yych <= 's') goto yy1062; - if (yych <= 't') goto yy1063; - goto yy991; - } - } -yy1066: - YYDEBUG(1066, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'H') { - if (yych <= '2') { - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1123; - goto yy1124; - } else { - if (yych <= '9') goto yy1125; - if (yych <= 'G') goto yy56; - goto yy256; - } - } else { - if (yych <= 'g') { - if (yych == 'U') goto yy257; - goto yy56; - } else { - if (yych <= 'h') goto yy256; - if (yych == 'u') goto yy257; - goto yy56; - } - } -yy1067: - YYDEBUG(1067, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'H') { - if (yych <= '2') { - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1126; - goto yy1127; - } else { - if (yych <= '9') goto yy1128; - if (yych <= 'G') goto yy56; - goto yy256; - } - } else { - if (yych <= 'g') { - if (yych == 'U') goto yy257; - goto yy56; - } else { - if (yych <= 'h') goto yy256; - if (yych == 'u') goto yy257; - goto yy56; - } - } -yy1068: - YYDEBUG(1068, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1129; - goto yy56; -yy1069: - YYDEBUG(1069, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1129; - goto yy56; -yy1070: - YYDEBUG(1070, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy759; - if (yych == 't') goto yy759; - goto yy56; -yy1071: - YYDEBUG(1071, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy1130; - if (yych == 'r') goto yy1130; - goto yy56; -yy1072: - YYDEBUG(1072, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1131; - if (yych == 'e') goto yy1131; - goto yy56; -yy1073: - YYDEBUG(1073, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy406; - if (yych == 't') goto yy406; - goto yy56; -yy1074: - YYDEBUG(1074, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy606; - if (yych == 'o') goto yy606; - goto yy56; -yy1075: - YYDEBUG(1075, *YYCURSOR); - yyaccept = 5; - YYMARKER = ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); - yych = *YYCURSOR; - YYDEBUG(1076, *YYCURSOR); - if (yych <= 'O') { - if (yych <= '9') { - if (yych <= '/') goto yy209; - goto yy1075; - } else { - if (yych == 'A') goto yy1132; - goto yy209; - } - } else { - if (yych <= 'a') { - if (yych <= 'P') goto yy1132; - if (yych <= '`') goto yy209; - goto yy1132; - } else { - if (yych == 'p') goto yy1132; - goto yy209; - } - } -yy1077: - YYDEBUG(1077, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); - yych = *YYCURSOR; - YYDEBUG(1078, *YYCURSOR); - if (yych <= 'O') { - if (yych <= '9') { - if (yych <= '/') goto yy56; - goto yy1077; - } else { - if (yych == 'A') goto yy1132; - goto yy56; - } - } else { - if (yych <= 'a') { - if (yych <= 'P') goto yy1132; - if (yych <= '`') goto yy56; - goto yy1132; - } else { - if (yych == 'p') goto yy1132; - goto yy56; - } - } -yy1079: - YYDEBUG(1079, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(1080, *YYCURSOR); -#line 1585 "parse_date.re" - { - int length = 0; - DEBUG_OUTPUT("pgtextreverse"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); - s->time->m = timelib_get_month((char **) &ptr); - s->time->d = timelib_get_nr((char **) &ptr, 2); - TIMELIB_PROCESS_YEAR(s->time->y, length); - TIMELIB_DEINIT; - return TIMELIB_PG_TEXT; - } -#line 20223 "<stdout>" -yy1081: - YYDEBUG(1081, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(1082, *YYCURSOR); -#line 1097 "parse_date.re" - { - timelib_ull i, us; - - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - TIMELIB_UNHAVE_DATE(); - TIMELIB_UNHAVE_TIME(); - TIMELIB_HAVE_TZ(); - - i = timelib_get_unsigned_nr((char **) &ptr, 24); - us = timelib_get_unsigned_nr((char **) &ptr, 24); - s->time->y = 1970; - s->time->m = 1; - s->time->d = 1; - s->time->h = s->time->i = s->time->s = 0; - s->time->us = 0; - s->time->relative.s += i; - s->time->relative.us = us; - s->time->is_localtime = 1; - s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; - s->time->z = 0; - s->time->dst = 0; - - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 20255 "<stdout>" -yy1083: - YYDEBUG(1083, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1017; - if (yych <= '9') goto yy1133; - goto yy1017; -yy1084: - YYDEBUG(1084, *YYCURSOR); - yyaccept = 30; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1134; - } else { - if (yych <= ' ') goto yy1134; - if (yych <= '/') goto yy1085; - if (yych <= '9') goto yy1087; - } - } else { - if (yych <= '`') { - if (yych <= 'A') goto yy1136; - if (yych == 'P') goto yy1136; - } else { - if (yych <= 'a') goto yy1136; - if (yych == 'p') goto yy1136; - } - } -yy1085: - YYDEBUG(1085, *YYCURSOR); -#line 1142 "parse_date.re" - { - DEBUG_OUTPUT("backof | frontof"); - TIMELIB_INIT; - TIMELIB_UNHAVE_TIME(); - TIMELIB_HAVE_TIME(); - - if (*ptr == 'b') { - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = 15; - } else { - s->time->h = timelib_get_nr((char **) &ptr, 2) - 1; - s->time->i = 45; - } - if (*ptr != '\0' ) { - timelib_eat_spaces((char **) &ptr); - s->time->h += timelib_meridian((char **) &ptr, s->time->h); - } - - TIMELIB_DEINIT; - return TIMELIB_LF_DAY_OF_MONTH; - } -#line 20307 "<stdout>" -yy1086: - YYDEBUG(1086, *YYCURSOR); - yyaccept = 30; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '@') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1134; - goto yy1085; - } else { - if (yych <= ' ') goto yy1134; - if (yych <= '/') goto yy1085; - if (yych >= '5') goto yy1085; - } - } else { - if (yych <= '`') { - if (yych <= 'A') goto yy1136; - if (yych == 'P') goto yy1136; - goto yy1085; - } else { - if (yych <= 'a') goto yy1136; - if (yych == 'p') goto yy1136; - goto yy1085; - } - } -yy1087: - YYDEBUG(1087, *YYCURSOR); - yyaccept = 30; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'A') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1134; - goto yy1085; - } else { - if (yych <= ' ') goto yy1134; - if (yych <= '@') goto yy1085; - goto yy1136; - } - } else { - if (yych <= '`') { - if (yych == 'P') goto yy1136; - goto yy1085; - } else { - if (yych <= 'a') goto yy1136; - if (yych == 'p') goto yy1136; - goto yy1085; - } - } -yy1088: - YYDEBUG(1088, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'K') goto yy1137; - if (yych == 'k') goto yy1137; - goto yy56; -yy1089: - YYDEBUG(1089, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '*') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1139; - goto yy814; - } else { - if (yych <= ' ') goto yy1139; - if (yych == '(') goto yy1139; - goto yy814; - } - } else { - if (yych <= '@') { - if (yych == ',') goto yy814; - if (yych <= '-') goto yy1139; - goto yy814; - } else { - if (yych <= 'Z') goto yy1139; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1139; - goto yy814; - } - } -yy1090: - YYDEBUG(1090, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '*') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1146; - goto yy814; - } else { - if (yych <= ' ') goto yy1146; - if (yych == '(') goto yy1146; - goto yy814; - } - } else { - if (yych <= '@') { - if (yych == ',') goto yy814; - if (yych <= '-') goto yy1146; - goto yy814; - } else { - if (yych <= 'Z') goto yy1146; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1146; - goto yy814; - } - } -yy1091: - YYDEBUG(1091, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy1092; - if (yych != 'm') goto yy56; -yy1092: - YYDEBUG(1092, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 0x1F) { - if (yych <= 0x00) goto yy1149; - if (yych == '\t') goto yy1149; - goto yy56; - } else { - if (yych <= ' ') goto yy1149; - if (yych == '.') goto yy1151; - goto yy56; - } -yy1093: - YYDEBUG(1093, *YYCURSOR); - ++YYCURSOR; - goto yy935; -yy1094: - YYDEBUG(1094, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'N') { - if (yych == 'H') goto yy1152; - if (yych <= 'M') goto yy56; - goto yy1153; - } else { - if (yych <= 'h') { - if (yych <= 'g') goto yy56; - goto yy1152; - } else { - if (yych == 'n') goto yy1153; - goto yy56; - } - } -yy1095: - YYDEBUG(1095, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); - yych = *YYCURSOR; - YYDEBUG(1096, *YYCURSOR); - if (yych <= ' ') { - if (yych == '\t') goto yy1095; - if (yych <= 0x1F) goto yy56; - goto yy1095; - } else { - if (yych <= 'O') { - if (yych <= 'N') goto yy56; - goto yy1154; - } else { - if (yych == 'o') goto yy1154; - goto yy56; - } - } -yy1097: - YYDEBUG(1097, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'A') goto yy1155; - if (yych == 'a') goto yy1155; - goto yy56; -yy1098: - YYDEBUG(1098, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy1156; - if (yych == 'o') goto yy1156; - goto yy56; -yy1099: - YYDEBUG(1099, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy1156; - if (yych == 'i') goto yy1156; - goto yy56; -yy1100: - YYDEBUG(1100, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1157; - if (yych == 't') goto yy1157; - goto yy56; -yy1101: - YYDEBUG(1101, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy1028; - if (yych == 'h') goto yy1028; - goto yy56; -yy1102: - YYDEBUG(1102, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy1105; - if (yych == 'r') goto yy1105; - goto yy56; -yy1103: - YYDEBUG(1103, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy1158; - if (yych == 'n') goto yy1158; - goto yy56; -yy1104: - YYDEBUG(1104, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy1105; - if (yych != 's') goto yy56; -yy1105: - YYDEBUG(1105, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'D') goto yy1097; - if (yych == 'd') goto yy1097; - goto yy56; -yy1106: - YYDEBUG(1106, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1104; - if (yych == 'e') goto yy1104; - goto yy56; -yy1107: - YYDEBUG(1107, *YYCURSOR); - yyaccept = 31; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'S') { - if (yych == 'D') goto yy821; - if (yych >= 'S') goto yy1093; - } else { - if (yych <= 'd') { - if (yych >= 'd') goto yy821; - } else { - if (yych == 's') goto yy1093; - } - } -yy1108: - YYDEBUG(1108, *YYCURSOR); -#line 1668 "parse_date.re" - { - timelib_sll i; - int behavior = 0; - DEBUG_OUTPUT("relativetextweek"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - - while(*ptr) { - i = timelib_get_relative_text((char **) &ptr, &behavior); - timelib_eat_spaces((char **) &ptr); - timelib_set_relative((char **) &ptr, i, behavior, s); - s->time->relative.weekday_behavior = 2; - - /* to handle the format weekday + last/this/next week */ - if (s->time->relative.have_weekday_relative == 0) { - TIMELIB_HAVE_WEEKDAY_RELATIVE(); - s->time->relative.weekday = 1; - } - } - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 20565 "<stdout>" -yy1109: - YYDEBUG(1109, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy1159; - if (yych == 'o') goto yy1159; - goto yy56; -yy1110: - YYDEBUG(1110, *YYCURSOR); - ++YYCURSOR; -yy1111: - YYDEBUG(1111, *YYCURSOR); -#line 1016 "parse_date.re" - { - DEBUG_OUTPUT("yesterday"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - TIMELIB_UNHAVE_TIME(); - - s->time->relative.d = -1; - TIMELIB_DEINIT; - return TIMELIB_RELATIVE; - } -#line 20588 "<stdout>" -yy1112: - YYDEBUG(1112, *YYCURSOR); - yyaccept = 32; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy912; - } - if (yych <= '.') { - if (yych == '-') goto yy282; - goto yy1111; - } else { - if (yych <= '/') goto yy282; - if (yych == '_') goto yy282; - goto yy1111; - } -yy1113: - YYDEBUG(1113, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1121; - goto yy56; -yy1114: - YYDEBUG(1114, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1121; - goto yy56; -yy1115: - YYDEBUG(1115, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1160; - goto yy56; -yy1116: - YYDEBUG(1116, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1118; - if (yych <= ':') goto yy1161; - goto yy56; -yy1117: - YYDEBUG(1117, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '4') goto yy1118; - if (yych == ':') goto yy1161; - goto yy56; -yy1118: - YYDEBUG(1118, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1161; - goto yy56; -yy1119: - YYDEBUG(1119, *YYCURSOR); - yyaccept = 16; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'T') goto yy1055; - goto yy545; -yy1120: - YYDEBUG(1120, *YYCURSOR); - yyaccept = 27; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych == 'T') goto yy1162; - if (yych <= 'm') goto yy991; - goto yy1056; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy991; - goto yy1056; - } else { - if (yych <= 's') goto yy1057; - if (yych <= 't') goto yy1058; - goto yy991; - } - } -yy1121: - YYDEBUG(1121, *YYCURSOR); - ++YYCURSOR; - goto yy991; -yy1122: - YYDEBUG(1122, *YYCURSOR); - yyaccept = 27; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'n') { - if (yych == '/') goto yy1121; - if (yych <= 'm') goto yy991; - goto yy1061; - } else { - if (yych <= 'r') { - if (yych <= 'q') goto yy991; - goto yy1061; - } else { - if (yych <= 's') goto yy1062; - if (yych <= 't') goto yy1063; - goto yy991; - } - } -yy1123: - YYDEBUG(1123, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1163; - if (yych <= '9') goto yy1125; - if (yych <= ':') goto yy1164; - goto yy56; -yy1124: - YYDEBUG(1124, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '5') { - if (yych <= '/') goto yy56; - if (yych <= '4') goto yy1163; - goto yy1165; - } else { - if (yych == ':') goto yy1164; - goto yy56; - } -yy1125: - YYDEBUG(1125, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1165; - if (yych == ':') goto yy1164; - goto yy56; -yy1126: - YYDEBUG(1126, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1166; - if (yych <= '9') goto yy1128; - goto yy56; -yy1127: - YYDEBUG(1127, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '4') goto yy1166; - if (yych <= '5') goto yy1165; - goto yy56; -yy1128: - YYDEBUG(1128, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1165; - goto yy56; -yy1129: - YYDEBUG(1129, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ' ') goto yy1167; - goto yy56; -yy1130: - YYDEBUG(1130, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy759; - if (yych == 'y') goto yy759; - goto yy56; -yy1131: - YYDEBUG(1131, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'R') goto yy759; - if (yych == 'r') goto yy759; - goto yy56; -yy1132: - YYDEBUG(1132, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych == '.') goto yy1168; - goto yy56; - } else { - if (yych <= 'M') goto yy1169; - if (yych == 'm') goto yy1169; - goto yy56; - } -yy1133: - YYDEBUG(1133, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1017; - if (yych <= '9') goto yy1170; - goto yy1017; -yy1134: - YYDEBUG(1134, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5); - yych = *YYCURSOR; - YYDEBUG(1135, *YYCURSOR); - if (yych <= 'A') { - if (yych <= 0x1F) { - if (yych == '\t') goto yy1134; - goto yy56; - } else { - if (yych <= ' ') goto yy1134; - if (yych <= '@') goto yy56; - } - } else { - if (yych <= '`') { - if (yych != 'P') goto yy56; - } else { - if (yych <= 'a') goto yy1136; - if (yych != 'p') goto yy56; - } - } -yy1136: - YYDEBUG(1136, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych == '.') goto yy1171; - goto yy56; - } else { - if (yych <= 'M') goto yy1172; - if (yych == 'm') goto yy1172; - goto yy56; - } -yy1137: - YYDEBUG(1137, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych == 'D') goto yy821; - if (yych <= 'R') goto yy56; - goto yy1093; - } else { - if (yych <= 'd') { - if (yych <= 'c') goto yy56; - goto yy821; - } else { - if (yych == 's') goto yy1093; - goto yy56; - } - } -yy1138: - YYDEBUG(1138, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); - yych = *YYCURSOR; -yy1139: - YYDEBUG(1139, *YYCURSOR); - if (yych <= '+') { - if (yych <= ' ') { - if (yych == '\t') goto yy1138; - if (yych <= 0x1F) goto yy56; - goto yy1138; - } else { - if (yych == '(') goto yy1140; - if (yych <= '*') goto yy56; - goto yy1141; - } - } else { - if (yych <= 'F') { - if (yych == '-') goto yy1141; - if (yych <= '@') goto yy56; - goto yy1142; - } else { - if (yych <= 'Z') { - if (yych <= 'G') goto yy1143; - goto yy1142; - } else { - if (yych <= '`') goto yy56; - if (yych <= 'z') goto yy1144; - goto yy56; - } - } - } -yy1140: - YYDEBUG(1140, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') goto yy56; - if (yych <= 'Z') goto yy1144; - if (yych <= '`') goto yy56; - if (yych <= 'z') goto yy1144; - goto yy56; -yy1141: - YYDEBUG(1141, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1173; - if (yych <= '2') goto yy1174; - if (yych <= '9') goto yy1175; - goto yy56; -yy1142: - YYDEBUG(1142, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= 'Z') goto yy1176; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1177; - goto yy814; - } -yy1143: - YYDEBUG(1143, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'L') { - if (yych == ')') goto yy1022; - if (yych <= '@') goto yy814; - goto yy1176; - } else { - if (yych <= 'Z') { - if (yych <= 'M') goto yy1178; - goto yy1176; - } else { - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1177; - goto yy814; - } - } -yy1144: - YYDEBUG(1144, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= 'Z') goto yy1176; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1176; - goto yy814; - } -yy1145: - YYDEBUG(1145, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); - yych = *YYCURSOR; -yy1146: - YYDEBUG(1146, *YYCURSOR); - if (yych <= '@') { - if (yych <= '\'') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy56; - goto yy1145; - } else { - if (yych == ' ') goto yy1145; - goto yy56; - } - } else { - if (yych <= '+') { - if (yych <= '(') goto yy1140; - if (yych <= '*') goto yy56; - goto yy1141; - } else { - if (yych == '-') goto yy1141; - goto yy56; - } - } - } else { - if (yych <= 'Z') { - if (yych <= 'G') { - if (yych <= 'A') goto yy1147; - if (yych <= 'F') goto yy1142; - goto yy1143; - } else { - if (yych != 'P') goto yy1142; - } - } else { - if (yych <= 'o') { - if (yych <= '`') goto yy56; - if (yych <= 'a') goto yy1148; - goto yy1144; - } else { - if (yych <= 'p') goto yy1148; - if (yych <= 'z') goto yy1144; - goto yy56; - } - } - } -yy1147: - YYDEBUG(1147, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'L') { - if (yych <= '-') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= '.') goto yy1091; - if (yych <= '@') goto yy814; - goto yy1176; - } - } else { - if (yych <= '`') { - if (yych <= 'M') goto yy1179; - if (yych <= 'Z') goto yy1176; - goto yy814; - } else { - if (yych == 'm') goto yy1180; - if (yych <= 'z') goto yy1177; - goto yy814; - } - } -yy1148: - YYDEBUG(1148, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 'L') { - if (yych <= '-') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= '.') goto yy1091; - if (yych <= '@') goto yy814; - goto yy1176; - } - } else { - if (yych <= '`') { - if (yych <= 'M') goto yy1179; - if (yych <= 'Z') goto yy1176; - goto yy814; - } else { - if (yych == 'm') goto yy1179; - if (yych <= 'z') goto yy1176; - goto yy814; - } - } -yy1149: - YYDEBUG(1149, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(1150, *YYCURSOR); -#line 1733 "parse_date.re" - { - DEBUG_OUTPUT("dateshortwithtimeshort12 | dateshortwithtimelong12"); - TIMELIB_INIT; - TIMELIB_HAVE_DATE(); - s->time->m = timelib_get_month((char **) &ptr); - s->time->d = timelib_get_nr((char **) &ptr, 2); - - TIMELIB_HAVE_TIME(); - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - if (*ptr == ':' || *ptr == '.') { - s->time->s = timelib_get_nr((char **) &ptr, 2); - - if (*ptr == '.') { - s->time->us = timelib_get_frac_nr((char **) &ptr, 8); - } - } - - s->time->h += timelib_meridian((char **) &ptr, s->time->h); - TIMELIB_DEINIT; - return TIMELIB_SHORTDATE_WITH_TIME; - } -#line 21027 "<stdout>" -yy1151: - YYDEBUG(1151, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '\t') { - if (yych <= 0x00) goto yy1149; - if (yych <= 0x08) goto yy56; - goto yy1149; - } else { - if (yych == ' ') goto yy1149; - goto yy56; - } -yy1152: - YYDEBUG(1152, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'N') goto yy1153; - if (yych != 'n') goto yy56; -yy1153: - YYDEBUG(1153, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'I') goto yy1181; - if (yych == 'i') goto yy1181; - goto yy56; -yy1154: - YYDEBUG(1154, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'F') goto yy1182; - if (yych == 'f') goto yy1182; - goto yy56; -yy1155: - YYDEBUG(1155, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'Y') goto yy1184; - if (yych == 'y') goto yy1184; - goto yy56; -yy1156: - YYDEBUG(1156, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'S') goto yy1185; - if (yych == 's') goto yy1185; - goto yy56; -yy1157: - YYDEBUG(1157, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1028; - if (yych == 'e') goto yy1028; - goto yy56; -yy1158: - YYDEBUG(1158, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'D') goto yy1028; - if (yych == 'd') goto yy1028; - goto yy56; -yy1159: - YYDEBUG(1159, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'F') goto yy1186; - if (yych == 'f') goto yy1186; - goto yy56; -yy1160: - YYDEBUG(1160, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1188; - if (yych <= '2') goto yy1189; - goto yy56; -yy1161: - YYDEBUG(1161, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1190; - if (yych <= '9') goto yy1191; - goto yy56; -yy1162: - YYDEBUG(1162, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1192; - if (yych <= '2') goto yy1193; - if (yych <= '9') goto yy1118; - goto yy56; -yy1163: - YYDEBUG(1163, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1194; - if (yych <= '9') goto yy1195; - if (yych >= ';') goto yy56; -yy1164: - YYDEBUG(1164, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1196; - goto yy56; -yy1165: - YYDEBUG(1165, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1195; - goto yy56; -yy1166: - YYDEBUG(1166, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1194; - if (yych <= '9') goto yy1195; - goto yy56; -yy1167: - YYDEBUG(1167, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1197; - if (yych <= '2') goto yy1198; - goto yy56; -yy1168: - YYDEBUG(1168, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy1169; - if (yych != 'm') goto yy56; -yy1169: - YYDEBUG(1169, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 0x1F) { - if (yych <= 0x00) goto yy1199; - if (yych == '\t') goto yy1199; - goto yy56; - } else { - if (yych <= ' ') goto yy1199; - if (yych == '.') goto yy1201; - goto yy56; - } -yy1170: - YYDEBUG(1170, *YYCURSOR); - ++YYCURSOR; - goto yy1017; -yy1171: - YYDEBUG(1171, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy1172; - if (yych != 'm') goto yy56; -yy1172: - YYDEBUG(1172, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 0x1F) { - if (yych <= 0x00) goto yy1202; - if (yych == '\t') goto yy1202; - goto yy56; - } else { - if (yych <= ' ') goto yy1202; - if (yych == '.') goto yy1203; - goto yy56; - } -yy1173: - YYDEBUG(1173, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy814; - if (yych <= '9') goto yy1175; - if (yych <= ':') goto yy1204; - goto yy814; -yy1174: - YYDEBUG(1174, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '5') { - if (yych <= '/') goto yy814; - if (yych >= '5') goto yy1205; - } else { - if (yych <= '9') goto yy1022; - if (yych <= ':') goto yy1204; - goto yy814; - } -yy1175: - YYDEBUG(1175, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy814; - if (yych <= '5') goto yy1205; - if (yych <= '9') goto yy1022; - if (yych <= ':') goto yy1204; - goto yy814; -yy1176: - YYDEBUG(1176, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= 'Z') goto yy1206; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1206; - goto yy814; - } -yy1177: - YYDEBUG(1177, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych == '.') goto yy814; - goto yy1207; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy814; - if (yych <= 'Z') goto yy1206; - goto yy814; - } else { - if (yych <= '_') goto yy1207; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1208; - goto yy814; - } - } -yy1178: - YYDEBUG(1178, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= 'S') { - if (yych == ')') goto yy1022; - if (yych <= '@') goto yy814; - goto yy1206; - } else { - if (yych <= 'Z') { - if (yych <= 'T') goto yy1209; - goto yy1206; - } else { - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1206; - goto yy814; - } - } -yy1179: - YYDEBUG(1179, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ')') { - if (yych <= '\t') { - if (yych <= 0x00) goto yy1149; - if (yych <= 0x08) goto yy814; - goto yy1149; - } else { - if (yych == ' ') goto yy1149; - if (yych <= '(') goto yy814; - goto yy1022; - } - } else { - if (yych <= '@') { - if (yych == '.') goto yy1151; - goto yy814; - } else { - if (yych <= 'Z') goto yy1206; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1206; - goto yy814; - } - } -yy1180: - YYDEBUG(1180, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '-') { - if (yych <= 0x1F) { - if (yych <= 0x00) goto yy1149; - if (yych == '\t') goto yy1149; - goto yy814; - } else { - if (yych <= '(') { - if (yych <= ' ') goto yy1149; - goto yy814; - } else { - if (yych <= ')') goto yy1022; - if (yych <= ',') goto yy814; - goto yy1207; - } - } - } else { - if (yych <= 'Z') { - if (yych <= '.') goto yy1151; - if (yych <= '/') goto yy1207; - if (yych <= '@') goto yy814; - goto yy1206; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy814; - goto yy1207; - } else { - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1208; - goto yy814; - } - } - } -yy1181: - YYDEBUG(1181, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'G') goto yy1210; - if (yych == 'g') goto yy1210; - goto yy56; -yy1182: - YYDEBUG(1182, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(1183, *YYCURSOR); -#line 1165 "parse_date.re" - { - timelib_sll i; - int behavior = 0; - DEBUG_OUTPUT("weekdayof"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - TIMELIB_HAVE_SPECIAL_RELATIVE(); - - i = timelib_get_relative_text((char **) &ptr, &behavior); - timelib_eat_spaces((char **) &ptr); - if (i > 0) { /* first, second... etc */ - s->time->relative.special.type = TIMELIB_SPECIAL_DAY_OF_WEEK_IN_MONTH; - timelib_set_relative((char **) &ptr, i, 1, s); - } else { /* last */ - s->time->relative.special.type = TIMELIB_SPECIAL_LAST_DAY_OF_WEEK_IN_MONTH; - timelib_set_relative((char **) &ptr, i, behavior, s); - } - TIMELIB_DEINIT; - return TIMELIB_WEEK_DAY_OF_MONTH; - } -#line 21350 "<stdout>" -yy1184: - YYDEBUG(1184, *YYCURSOR); - yyaccept = 25; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '\t') goto yy1095; - if (yych == ' ') goto yy1095; - goto yy935; -yy1185: - YYDEBUG(1185, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'E') goto yy1211; - if (yych == 'e') goto yy1211; - goto yy56; -yy1186: - YYDEBUG(1186, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(1187, *YYCURSOR); -#line 1125 "parse_date.re" - { - DEBUG_OUTPUT("firstdayof | lastdayof"); - TIMELIB_INIT; - TIMELIB_HAVE_RELATIVE(); - - /* skip "last day of" or "first day of" */ - if (*ptr == 'l' || *ptr == 'L') { - s->time->relative.first_last_day_of = TIMELIB_SPECIAL_LAST_DAY_OF_MONTH; - } else { - s->time->relative.first_last_day_of = TIMELIB_SPECIAL_FIRST_DAY_OF_MONTH; - } - - TIMELIB_DEINIT; - return TIMELIB_LF_DAY_OF_MONTH; - } -#line 21384 "<stdout>" -yy1188: - YYDEBUG(1188, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1212; - goto yy56; -yy1189: - YYDEBUG(1189, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '4') goto yy1212; - goto yy56; -yy1190: - YYDEBUG(1190, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1191; - if (yych <= ':') goto yy1213; - goto yy56; -yy1191: - YYDEBUG(1191, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1213; - goto yy56; -yy1192: - YYDEBUG(1192, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1214; - if (yych <= ':') goto yy1161; - goto yy56; -yy1193: - YYDEBUG(1193, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '4') goto yy1214; - if (yych == ':') goto yy1161; - goto yy56; -yy1194: - YYDEBUG(1194, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1213; - if (yych <= '6') goto yy1215; - if (yych >= ':') goto yy56; -yy1195: - YYDEBUG(1195, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1216; - if (yych <= '6') goto yy1217; - goto yy56; -yy1196: - YYDEBUG(1196, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1218; - goto yy56; -yy1197: - YYDEBUG(1197, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1219; - goto yy56; -yy1198: - YYDEBUG(1198, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '4') goto yy1219; - goto yy56; -yy1199: - YYDEBUG(1199, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(1200, *YYCURSOR); -#line 1204 "parse_date.re" - { - DEBUG_OUTPUT("mssqltime"); - TIMELIB_INIT; - TIMELIB_HAVE_TIME(); - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - if (*ptr == ':' || *ptr == '.') { - s->time->s = timelib_get_nr((char **) &ptr, 2); - - if (*ptr == ':' || *ptr == '.') { - s->time->us = timelib_get_frac_nr((char **) &ptr, 8); - } - } - timelib_eat_spaces((char **) &ptr); - s->time->h += timelib_meridian((char **) &ptr, s->time->h); - TIMELIB_DEINIT; - return TIMELIB_TIME24_WITH_ZONE; - } -#line 21478 "<stdout>" -yy1201: - YYDEBUG(1201, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '\t') { - if (yych <= 0x00) goto yy1199; - if (yych <= 0x08) goto yy56; - goto yy1199; - } else { - if (yych == ' ') goto yy1199; - goto yy56; - } -yy1202: - YYDEBUG(1202, *YYCURSOR); - ++YYCURSOR; - goto yy1085; -yy1203: - YYDEBUG(1203, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '\t') { - if (yych <= 0x00) goto yy1202; - if (yych <= 0x08) goto yy56; - goto yy1202; - } else { - if (yych == ' ') goto yy1202; - goto yy56; - } -yy1204: - YYDEBUG(1204, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy814; - if (yych <= '5') goto yy1205; - if (yych <= '9') goto yy1022; - goto yy814; -yy1205: - YYDEBUG(1205, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy814; - if (yych <= '9') goto yy1022; - goto yy814; -yy1206: - YYDEBUG(1206, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= 'Z') goto yy1220; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1220; - goto yy814; - } -yy1207: - YYDEBUG(1207, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if (yych <= '@') goto yy56; - if (yych <= 'Z') goto yy1221; - if (yych <= '`') goto yy56; - if (yych <= 'z') goto yy1221; - goto yy56; -yy1208: - YYDEBUG(1208, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych == '.') goto yy814; - goto yy1207; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy814; - if (yych <= 'Z') goto yy1220; - goto yy814; - } else { - if (yych <= '_') goto yy1207; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1223; - goto yy814; - } - } -yy1209: - YYDEBUG(1209, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ',') { - if (yych <= ')') { - if (yych <= '(') goto yy814; - goto yy1022; - } else { - if (yych == '+') goto yy1141; - goto yy814; - } - } else { - if (yych <= 'Z') { - if (yych <= '-') goto yy1141; - if (yych <= '@') goto yy814; - goto yy1220; - } else { - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1220; - goto yy814; - } - } -yy1210: - YYDEBUG(1210, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'H') goto yy1224; - if (yych == 'h') goto yy1224; - goto yy56; -yy1211: - YYDEBUG(1211, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'C') goto yy1225; - if (yych == 'c') goto yy1225; - goto yy56; -yy1212: - YYDEBUG(1212, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1226; - goto yy56; -yy1213: - YYDEBUG(1213, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1227; - if (yych <= '6') goto yy1229; - if (yych <= '9') goto yy1230; - goto yy56; -yy1214: - YYDEBUG(1214, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1231; - goto yy56; -yy1215: - YYDEBUG(1215, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '0') goto yy1227; - if (yych <= '5') goto yy1216; - if (yych <= '6') goto yy1217; - goto yy56; -yy1216: - YYDEBUG(1216, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1230; - goto yy56; -yy1217: - YYDEBUG(1217, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '0') goto yy1230; - goto yy56; -yy1218: - YYDEBUG(1218, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1195; - goto yy56; -yy1219: - YYDEBUG(1219, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1164; - goto yy56; -yy1220: - YYDEBUG(1220, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= 'Z') goto yy1232; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1232; - goto yy814; - } -yy1221: - YYDEBUG(1221, *YYCURSOR); - yyaccept = 21; - YYMARKER = ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(1222, *YYCURSOR); - if (yych <= '@') { - if (yych <= '-') { - if (yych <= ',') goto yy814; - goto yy1207; - } else { - if (yych == '/') goto yy1207; - goto yy814; - } - } else { - if (yych <= '_') { - if (yych <= 'Z') goto yy1221; - if (yych <= '^') goto yy814; - goto yy1207; - } else { - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1221; - goto yy814; - } - } -yy1223: - YYDEBUG(1223, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych == '.') goto yy814; - goto yy1207; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy814; - if (yych <= 'Z') goto yy1232; - goto yy814; - } else { - if (yych <= '_') goto yy1207; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1233; - goto yy814; - } - } -yy1224: - YYDEBUG(1224, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1028; - if (yych == 't') goto yy1028; - goto yy56; -yy1225: - YYDEBUG(1225, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'O') goto yy1103; - if (yych == 'o') goto yy1103; - goto yy56; -yy1226: - YYDEBUG(1226, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1234; - goto yy56; -yy1227: - YYDEBUG(1227, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1228; - if (yych <= '9') goto yy1230; -yy1228: - YYDEBUG(1228, *YYCURSOR); -#line 1493 "parse_date.re" - { - int tz_not_found; - DEBUG_OUTPUT("xmlrpc | xmlrpcnocolon | soap | wddx | exif"); - TIMELIB_INIT; - TIMELIB_HAVE_TIME(); - TIMELIB_HAVE_DATE(); - s->time->y = timelib_get_nr((char **) &ptr, 4); - s->time->m = timelib_get_nr((char **) &ptr, 2); - s->time->d = timelib_get_nr((char **) &ptr, 2); - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - s->time->s = timelib_get_nr((char **) &ptr, 2); - if (*ptr == '.') { - s->time->us = timelib_get_frac_nr((char **) &ptr, 9); - if (*ptr) { /* timezone is optional */ - s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); - if (tz_not_found) { - add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); - } - } - } - TIMELIB_DEINIT; - return TIMELIB_XMLRPC_SOAP; - } -#line 21758 "<stdout>" -yy1229: - YYDEBUG(1229, *YYCURSOR); - yych = *++YYCURSOR; - if (yych != '0') goto yy1228; -yy1230: - YYDEBUG(1230, *YYCURSOR); - ++YYCURSOR; - goto yy1228; -yy1231: - YYDEBUG(1231, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1235; - if (yych <= '9') goto yy1191; - goto yy56; -yy1232: - YYDEBUG(1232, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '@') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych <= 'Z') goto yy1236; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1236; - goto yy814; - } -yy1233: - YYDEBUG(1233, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '/') { - if (yych <= ',') { - if (yych == ')') goto yy1022; - goto yy814; - } else { - if (yych == '.') goto yy814; - goto yy1207; - } - } else { - if (yych <= '^') { - if (yych <= '@') goto yy814; - if (yych <= 'Z') goto yy1236; - goto yy814; - } else { - if (yych <= '_') goto yy1207; - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1237; - goto yy814; - } - } -yy1234: - YYDEBUG(1234, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1238; - goto yy56; -yy1235: - YYDEBUG(1235, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1239; - if (yych <= ':') goto yy1213; - goto yy56; -yy1236: - YYDEBUG(1236, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ')') goto yy1022; - goto yy814; -yy1237: - YYDEBUG(1237, *YYCURSOR); - yyaccept = 21; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ')') { - if (yych <= '(') goto yy814; - goto yy1022; - } else { - if (yych == '-') goto yy1207; - goto yy814; - } - } else { - if (yych <= '_') { - if (yych <= '/') goto yy1207; - if (yych <= '^') goto yy814; - goto yy1207; - } else { - if (yych <= '`') goto yy814; - if (yych <= 'z') goto yy1240; - goto yy814; - } - } -yy1238: - YYDEBUG(1238, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1242; - goto yy56; -yy1239: - YYDEBUG(1239, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == ':') goto yy1243; - goto yy56; -yy1240: - YYDEBUG(1240, *YYCURSOR); - ++YYCURSOR; - if (YYLIMIT <= YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(1241, *YYCURSOR); - if (yych <= '/') { - if (yych == '-') goto yy1207; - if (yych <= '.') goto yy56; - goto yy1207; - } else { - if (yych <= '_') { - if (yych <= '^') goto yy56; - goto yy1207; - } else { - if (yych <= '`') goto yy56; - if (yych <= 'z') goto yy1240; - goto yy56; - } - } -yy1242: - YYDEBUG(1242, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1244; - if (yych <= '6') goto yy1245; - goto yy56; -yy1243: - YYDEBUG(1243, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '5') goto yy1246; - if (yych <= '6') goto yy1247; - if (yych <= '9') goto yy1230; - goto yy56; -yy1244: - YYDEBUG(1244, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1248; - goto yy56; -yy1245: - YYDEBUG(1245, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '0') goto yy1248; - goto yy56; -yy1246: - YYDEBUG(1246, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1228; - if (yych <= '9') goto yy1249; - goto yy1228; -yy1247: - YYDEBUG(1247, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '0') goto yy1249; - goto yy1228; -yy1248: - YYDEBUG(1248, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '\t') goto yy1250; - if (yych == ' ') goto yy1250; - goto yy56; -yy1249: - YYDEBUG(1249, *YYCURSOR); - yyaccept = 33; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy1252; - goto yy1228; -yy1250: - YYDEBUG(1250, *YYCURSOR); - ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); - yych = *YYCURSOR; - YYDEBUG(1251, *YYCURSOR); - if (yych <= '*') { - if (yych <= '\t') { - if (yych <= 0x08) goto yy56; - goto yy1250; - } else { - if (yych == ' ') goto yy1250; - goto yy56; - } - } else { - if (yych <= '-') { - if (yych == ',') goto yy56; - goto yy1253; - } else { - if (yych == 'G') goto yy1254; - goto yy56; - } - } -yy1252: - YYDEBUG(1252, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '9') goto yy1255; - goto yy56; -yy1253: - YYDEBUG(1253, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1257; - if (yych <= '2') goto yy1259; - if (yych <= '9') goto yy1260; - goto yy56; -yy1254: - YYDEBUG(1254, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy1261; - goto yy56; -yy1255: - YYDEBUG(1255, *YYCURSOR); - yyaccept = 33; - YYMARKER = ++YYCURSOR; - if ((YYLIMIT - YYCURSOR) < 9) YYFILL(9); - yych = *YYCURSOR; - YYDEBUG(1256, *YYCURSOR); - if (yych <= '-') { - if (yych == '+') goto yy1262; - if (yych <= ',') goto yy1228; - goto yy1262; - } else { - if (yych <= '9') { - if (yych <= '/') goto yy1228; - goto yy1255; - } else { - if (yych == 'G') goto yy1263; - goto yy1228; - } - } -yy1257: - YYDEBUG(1257, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1258; - if (yych <= '9') goto yy1260; - if (yych <= ':') goto yy1264; -yy1258: - YYDEBUG(1258, *YYCURSOR); -#line 1599 "parse_date.re" - { - int tz_not_found; - DEBUG_OUTPUT("clf"); - TIMELIB_INIT; - TIMELIB_HAVE_TIME(); - TIMELIB_HAVE_DATE(); - s->time->d = timelib_get_nr((char **) &ptr, 2); - s->time->m = timelib_get_month((char **) &ptr); - s->time->y = timelib_get_nr((char **) &ptr, 4); - s->time->h = timelib_get_nr((char **) &ptr, 2); - s->time->i = timelib_get_nr((char **) &ptr, 2); - s->time->s = timelib_get_nr((char **) &ptr, 2); - s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); - if (tz_not_found) { - add_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database"); - } - TIMELIB_DEINIT; - return TIMELIB_CLF; - } -#line 22020 "<stdout>" -yy1259: - YYDEBUG(1259, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '5') { - if (yych <= '/') goto yy1258; - if (yych >= '5') goto yy1265; - } else { - if (yych <= '9') goto yy1266; - if (yych <= ':') goto yy1264; - goto yy1258; - } -yy1260: - YYDEBUG(1260, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1258; - if (yych <= '5') goto yy1265; - if (yych <= '9') goto yy1266; - if (yych <= ':') goto yy1264; - goto yy1258; -yy1261: - YYDEBUG(1261, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1267; - goto yy56; -yy1262: - YYDEBUG(1262, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy56; - if (yych <= '1') goto yy1268; - if (yych <= '2') goto yy1269; - if (yych <= '9') goto yy1270; - goto yy56; -yy1263: - YYDEBUG(1263, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'M') goto yy1271; - goto yy56; -yy1264: - YYDEBUG(1264, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1258; - if (yych <= '5') goto yy1265; - if (yych <= '9') goto yy1266; - goto yy1258; -yy1265: - YYDEBUG(1265, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1258; - if (yych >= ':') goto yy1258; -yy1266: - YYDEBUG(1266, *YYCURSOR); - ++YYCURSOR; - goto yy1258; -yy1267: - YYDEBUG(1267, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '+') goto yy1253; - if (yych == '-') goto yy1253; - goto yy56; -yy1268: - YYDEBUG(1268, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1228; - if (yych <= '9') goto yy1270; - if (yych <= ':') goto yy1272; - goto yy1228; -yy1269: - YYDEBUG(1269, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '5') { - if (yych <= '/') goto yy1228; - if (yych >= '5') goto yy1227; - } else { - if (yych <= '9') goto yy1230; - if (yych <= ':') goto yy1272; - goto yy1228; - } -yy1270: - YYDEBUG(1270, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1228; - if (yych <= '5') goto yy1227; - if (yych <= '9') goto yy1230; - if (yych <= ':') goto yy1272; - goto yy1228; -yy1271: - YYDEBUG(1271, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == 'T') goto yy1273; - goto yy56; -yy1272: - YYDEBUG(1272, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '/') goto yy1228; - if (yych <= '5') goto yy1227; - if (yych <= '9') goto yy1230; - goto yy1228; -yy1273: - YYDEBUG(1273, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '+') goto yy1262; - if (yych == '-') goto yy1262; - goto yy56; -} -#line 1818 "parse_date.re" - -} - -#define YYMAXFILL 33 - - -timelib_time* timelib_strtotime(char *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) -{ - Scanner in; - int t; - char *e = s + len - 1; - - memset(&in, 0, sizeof(in)); - in.errors = timelib_malloc(sizeof(timelib_error_container)); - in.errors->warning_count = 0; - in.errors->warning_messages = NULL; - in.errors->error_count = 0; - in.errors->error_messages = NULL; - - if (len > 0) { - while (isspace(*s) && s < e) { - s++; - } - while (isspace(*e) && e > s) { - e--; - } - } - if (e - s < 0) { - in.time = timelib_time_ctor(); - add_error(&in, TIMELIB_ERR_EMPTY_STRING, "Empty string"); - if (errors) { - *errors = in.errors; - } else { - timelib_error_container_dtor(in.errors); - } - in.time->y = in.time->d = in.time->m = in.time->h = in.time->i = in.time->s = in.time->us = in.time->dst = in.time->z = TIMELIB_UNSET; - in.time->is_localtime = in.time->zone_type = 0; - return in.time; - } - e++; - - in.str = timelib_malloc((e - s) + YYMAXFILL); - memset(in.str, 0, (e - s) + YYMAXFILL); - memcpy(in.str, s, (e - s)); - in.lim = in.str + (e - s) + YYMAXFILL; - in.cur = in.str; - in.time = timelib_time_ctor(); - in.time->y = TIMELIB_UNSET; - in.time->d = TIMELIB_UNSET; - in.time->m = TIMELIB_UNSET; - in.time->h = TIMELIB_UNSET; - in.time->i = TIMELIB_UNSET; - in.time->s = TIMELIB_UNSET; - in.time->us = TIMELIB_UNSET; - in.time->z = TIMELIB_UNSET; - in.time->dst = TIMELIB_UNSET; - in.tzdb = tzdb; - in.time->is_localtime = 0; - in.time->zone_type = 0; - in.time->relative.days = TIMELIB_UNSET; - - do { - t = scan(&in, tz_get_wrapper); -#ifdef DEBUG_PARSER - printf("%d\n", t); -#endif - } while(t != EOI); - - /* do funky checking whether the parsed time was valid time */ - if (in.time->have_time && !timelib_valid_time( in.time->h, in.time->i, in.time->s)) { - add_warning(&in, TIMELIB_WARN_INVALID_TIME, "The parsed time was invalid"); - } - /* do funky checking whether the parsed date was valid date */ - if (in.time->have_date && !timelib_valid_date( in.time->y, in.time->m, in.time->d)) { - add_warning(&in, TIMELIB_WARN_INVALID_DATE, "The parsed date was invalid"); - } - - timelib_free(in.str); - if (errors) { - *errors = in.errors; - } else { - timelib_error_container_dtor(in.errors); - } - return in.time; -} - -#define TIMELIB_CHECK_NUMBER \ - if (strchr("0123456789", *ptr) == NULL) \ - { \ - add_pbf_error(s, TIMELIB_ERR_UNEXPECTED_DATA, "Unexpected data found.", string, begin); \ - } -#define TIMELIB_CHECK_SIGNED_NUMBER \ - if (strchr("-0123456789", *ptr) == NULL) \ - { \ - add_pbf_error(s, TIMELIB_ERR_UNEXPECTED_DATA, "Unexpected data found.", string, begin); \ - } - -static void timelib_time_reset_fields(timelib_time *time) -{ - assert(time != NULL); - - time->y = 1970; - time->m = 1; - time->d = 1; - time->h = time->i = time->s = 0; - time->us = 0; - time->tz_info = NULL; -} - -static void timelib_time_reset_unset_fields(timelib_time *time) -{ - assert(time != NULL); - - if (time->y == TIMELIB_UNSET ) time->y = 1970; - if (time->m == TIMELIB_UNSET ) time->m = 1; - if (time->d == TIMELIB_UNSET ) time->d = 1; - if (time->h == TIMELIB_UNSET ) time->h = 0; - if (time->i == TIMELIB_UNSET ) time->i = 0; - if (time->s == TIMELIB_UNSET ) time->s = 0; - if (time->us == TIMELIB_UNSET ) time->us = 0; -} - -static const timelib_format_specifier default_format_map[] = { - {'+', TIMELIB_FORMAT_ALLOW_EXTRA_CHARACTERS}, - {'#', TIMELIB_FORMAT_ANY_SEPARATOR}, - {'j', TIMELIB_FORMAT_DAY_TWO_DIGIT}, - {'d', TIMELIB_FORMAT_DAY_TWO_DIGIT_PADDED}, - {'z', TIMELIB_FORMAT_DAY_OF_YEAR}, - {'S', TIMELIB_FORMAT_DAY_SUFFIX}, - {'U', TIMELIB_FORMAT_EPOCH_SECONDS}, - {'\\', TIMELIB_FORMAT_ESCAPE}, - {'h', TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX}, - {'g', TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX_PADDED}, - {'H', TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX}, - {'G', TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX_PADDED}, - {'a', TIMELIB_FORMAT_MERIDIAN}, - {'A', TIMELIB_FORMAT_MERIDIAN}, - {'u', TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT}, - {'v', TIMELIB_FORMAT_MILLISECOND_THREE_DIGIT}, - {'i', TIMELIB_FORMAT_MINUTE_TWO_DIGIT}, - {'n', TIMELIB_FORMAT_MONTH_TWO_DIGIT}, - {'m', TIMELIB_FORMAT_MONTH_TWO_DIGIT_PADDED}, - {'?', TIMELIB_FORMAT_RANDOM_CHAR}, - {'!', TIMELIB_FORMAT_RESET_ALL}, - {'|', TIMELIB_FORMAT_RESET_ALL_WHEN_NOT_SET}, - {'s', TIMELIB_FORMAT_SECOND_TWO_DIGIT}, - {';', TIMELIB_FORMAT_SEPARATOR}, - {':', TIMELIB_FORMAT_SEPARATOR}, - {'/', TIMELIB_FORMAT_SEPARATOR}, - {'.', TIMELIB_FORMAT_SEPARATOR}, - {',', TIMELIB_FORMAT_SEPARATOR}, - {'-', TIMELIB_FORMAT_SEPARATOR}, - {'(', TIMELIB_FORMAT_SEPARATOR}, - {')', TIMELIB_FORMAT_SEPARATOR}, - {'*', TIMELIB_FORMAT_SKIP_TO_SEPARATOR}, - {'D', TIMELIB_FORMAT_TEXTUAL_DAY_3_LETTER}, - {'l', TIMELIB_FORMAT_TEXTUAL_DAY_FULL}, - {'M', TIMELIB_FORMAT_TEXTUAL_MONTH_3_LETTER}, - {'F', TIMELIB_FORMAT_TEXTUAL_MONTH_FULL}, - {'e', TIMELIB_FORMAT_TIMEZONE_OFFSET}, - {'P', TIMELIB_FORMAT_TIMEZONE_OFFSET}, - {'T', TIMELIB_FORMAT_TIMEZONE_OFFSET}, - {'O', TIMELIB_FORMAT_TIMEZONE_OFFSET}, - {' ', TIMELIB_FORMAT_WHITESPACE}, - {'y', TIMELIB_FORMAT_YEAR_TWO_DIGIT}, - {'Y', TIMELIB_FORMAT_YEAR_FOUR_DIGIT}, - {'\0', TIMELIB_FORMAT_END} -}; - -static const timelib_format_config default_format_config = { - default_format_map, - // No prefix required by default. - '\0' -}; - -static timelib_format_specifier_code timelib_lookup_format(char input, const timelib_format_specifier* format_map) -{ - while (format_map && format_map->specifier != '\0') { - if (format_map->specifier == input) { - return format_map->code; - } - format_map++; - } - return TIMELIB_FORMAT_LITERAL; -} - -timelib_time *timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) -{ - return timelib_parse_from_format_with_map(format, string, len, errors, tzdb, tz_get_wrapper, &default_format_config); -} - -timelib_time *timelib_parse_from_format_with_map(char *format, char *string, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper, const timelib_format_config* format_config) -{ - char *fptr = format; - char *ptr = string; - char *begin; - timelib_sll tmp; - Scanner in; - Scanner *s = ∈ - bool allow_extra = false; - bool prefix_found = false; - int iso_year = TIMELIB_UNSET; - int iso_week_of_year = TIMELIB_UNSET; - int iso_day_of_week = TIMELIB_UNSET; - char prefix_char = format_config->prefix_char; - const timelib_format_specifier *format_map = format_config->format_map; - - memset(&in, 0, sizeof(in)); - in.errors = timelib_malloc(sizeof(timelib_error_container)); - in.errors->warning_count = 0; - in.errors->warning_messages = NULL; - in.errors->error_count = 0; - in.errors->error_messages = NULL; - - in.time = timelib_time_ctor(); - in.time->y = TIMELIB_UNSET; - in.time->d = TIMELIB_UNSET; - in.time->m = TIMELIB_UNSET; - in.time->h = TIMELIB_UNSET; - in.time->i = TIMELIB_UNSET; - in.time->s = TIMELIB_UNSET; - in.time->us = TIMELIB_UNSET; - in.time->z = TIMELIB_UNSET; - in.time->dst = TIMELIB_UNSET; - in.tzdb = tzdb; - in.time->is_localtime = 0; - in.time->zone_type = 0; - - /* Loop over the format string */ - while (*fptr && *ptr) { - begin = ptr; - - if (prefix_char) { - /* There are 2 cases where the input string and format string - * should match the next literal: - * - * 1. No prefix has been specified yet in the format, so expect 1:1 - * match. - * 2. Sequential prefix characters indicating that the second - * prefix is escaped. (e.g. "%%" is expecting literal "%") - */ - if ((!prefix_found && *fptr != prefix_char) || - (prefix_found && *fptr == prefix_char)) { - if (*fptr != *ptr) { - add_pbf_error(s, TIMELIB_ERR_FORMAT_LITERAL_MISMATCH, "Format literal not found", string, begin); - } - ptr++; - fptr++; - prefix_found = false; - continue; - } - - if (*fptr == prefix_char) { - fptr++; - prefix_found = true; - continue; - } - - /* Fall through case is that the prefix has been found and the next - * character is the format specifier. */ - prefix_found = false; - } - - switch (timelib_lookup_format(*fptr, format_map)) { - case TIMELIB_FORMAT_TEXTUAL_DAY_3_LETTER: /* three letter day */ - case TIMELIB_FORMAT_TEXTUAL_DAY_FULL: /* full day */ - { - const timelib_relunit* tmprel = 0; - - tmprel = timelib_lookup_relunit((char **) &ptr); - if (!tmprel) { - add_pbf_error(s, TIMELIB_ERR_NO_TEXTUAL_DAY, "A textual day could not be found", string, begin); - break; - } else { - in.time->have_relative = 1; - in.time->relative.have_weekday_relative = 1; - in.time->relative.weekday = tmprel->multiplier; - in.time->relative.weekday_behavior = 1; - } - } - break; - case TIMELIB_FORMAT_DAY_TWO_DIGIT: /* two digit day, without leading zero */ - case TIMELIB_FORMAT_DAY_TWO_DIGIT_PADDED: /* two digit day, with leading zero */ - TIMELIB_CHECK_NUMBER; - if ((s->time->d = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_DAY, "A two digit day could not be found", string, begin); - } - break; - case TIMELIB_FORMAT_DAY_SUFFIX: /* day suffix, ignored, nor checked */ - timelib_skip_day_suffix((char **) &ptr); - break; - case TIMELIB_FORMAT_DAY_OF_YEAR: /* day of year - resets month (0 based) - also initializes everything else to !TIMELIB_UNSET */ - TIMELIB_CHECK_NUMBER; - if ((tmp = timelib_get_nr((char **) &ptr, 3)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_THREE_DIGIT_DAY_OF_YEAR, "A three digit day-of-year could not be found", string, begin); - } else { - s->time->m = 1; - s->time->d = tmp + 1; - timelib_do_normalize(s->time); - } - break; - - case TIMELIB_FORMAT_MONTH_TWO_DIGIT: /* two digit month, without leading zero */ - case TIMELIB_FORMAT_MONTH_TWO_DIGIT_PADDED: /* two digit month, with leading zero */ - TIMELIB_CHECK_NUMBER; - if ((s->time->m = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_MONTH, "A two digit month could not be found", string, begin); - } - break; - case TIMELIB_FORMAT_TEXTUAL_MONTH_3_LETTER: /* three letter month */ - case TIMELIB_FORMAT_TEXTUAL_MONTH_FULL: /* full month */ - tmp = timelib_lookup_month((char **) &ptr); - if (!tmp) { - add_pbf_error(s, TIMELIB_ERR_NO_TEXTUAL_MONTH, "A textual month could not be found", string, begin); - } else { - s->time->m = tmp; - } - break; - case TIMELIB_FORMAT_YEAR_TWO_DIGIT: /* two digit year */ - { - int length = 0; - TIMELIB_CHECK_NUMBER; - if ((s->time->y = timelib_get_nr_ex((char **) &ptr, 2, &length)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_YEAR, "A two digit year could not be found", string, begin); - } - TIMELIB_PROCESS_YEAR(s->time->y, length); - } - break; - case TIMELIB_FORMAT_YEAR_FOUR_DIGIT: /* four digit year */ - TIMELIB_CHECK_NUMBER; - if ((s->time->y = timelib_get_nr((char **) &ptr, 4)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_FOUR_DIGIT_YEAR, "A four digit year could not be found", string, begin); - } - break; - case TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX: /* two digit hour, without leading zero */ - case TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX_PADDED: /* two digit hour, with leading zero */ - TIMELIB_CHECK_NUMBER; - if ((s->time->h = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_HOUR, "A two digit hour could not be found", string, begin); - } - if (s->time->h > 12) { - add_pbf_error(s, TIMELIB_ERR_HOUR_LARGER_THAN_12, "Hour can not be higher than 12", string, begin); - } - break; - case TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX_PADDED: /* two digit hour, with leading zero */ - case TIMELIB_FORMAT_HOUR_TWO_DIGIT_24_MAX: /* two digit hour, without leading zero */ - TIMELIB_CHECK_NUMBER; - if ((s->time->h = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_HOUR, "A two digit hour could not be found", string, begin); - } - break; - case TIMELIB_FORMAT_MERIDIAN: /* am/pm/a.m./p.m. AM/PM/A.M./P.M. */ - if (s->time->h == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_MERIDIAN_BEFORE_HOUR, "Meridian can only come after an hour has been found", string, begin); - } else if ((tmp = timelib_meridian_with_check((char **) &ptr, s->time->h)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_MERIDIAN, "A meridian could not be found", string, begin); - } else { - s->time->h += tmp; - } - break; - case TIMELIB_FORMAT_MINUTE_TWO_DIGIT: /* two digit minute, with leading zero */ - { - int length; - timelib_sll min; - - TIMELIB_CHECK_NUMBER; - min = timelib_get_nr_ex((char **) &ptr, 2, &length); - if (min == TIMELIB_UNSET || length != 2) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_MINUTE, "A two digit minute could not be found", string, begin); - } else { - s->time->i = min; - } - } - break; - case TIMELIB_FORMAT_SECOND_TWO_DIGIT: /* two digit second, with leading zero */ - { - int length; - timelib_sll sec; - - TIMELIB_CHECK_NUMBER; - sec = timelib_get_nr_ex((char **) &ptr, 2, &length); - if (sec == TIMELIB_UNSET || length != 2) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_SECOND, "A two digit second could not be found", string, begin); - } else { - s->time->s = sec; - } - } - break; - case TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT: /* up to six digit microsecond */ - { - double f; - char *tptr; - - TIMELIB_CHECK_NUMBER; - tptr = ptr; - if ((f = timelib_get_nr((char **) &ptr, 6)) == TIMELIB_UNSET || (ptr - tptr < 1)) { - add_pbf_error(s, TIMELIB_ERR_NO_SIX_DIGIT_MICROSECOND, "A six digit microsecond could not be found", string, begin); - } else { - s->time->us = (f * pow(10, 6 - (ptr - tptr))); - } - } - break; - case TIMELIB_FORMAT_MILLISECOND_THREE_DIGIT: /* up to three digit millisecond */ - { - double f; - char *tptr; - - TIMELIB_CHECK_NUMBER; - tptr = ptr; - if ((f = timelib_get_nr((char **) &ptr, 3)) == TIMELIB_UNSET || (ptr - tptr < 1)) { - add_pbf_error(s, TIMELIB_ERR_NO_THREE_DIGIT_MILLISECOND, "A three digit millisecond could not be found", string, begin); - } else { - s->time->us = (f * pow(10, 3 - (ptr - tptr)) * 1000); - } - } - break; - case TIMELIB_FORMAT_WHITESPACE: /* any sort of whitespace (' ' and \t) */ - timelib_eat_spaces((char **) &ptr); - break; - case TIMELIB_FORMAT_EPOCH_SECONDS: /* epoch seconds */ - TIMELIB_CHECK_SIGNED_NUMBER; - TIMELIB_HAVE_RELATIVE(); - tmp = timelib_get_unsigned_nr((char **) &ptr, 24); - s->time->y = 1970; - s->time->m = 1; - s->time->d = 1; - s->time->h = s->time->i = s->time->s = 0; - s->time->relative.s += tmp; - s->time->is_localtime = 1; - s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; - s->time->z = 0; - s->time->dst = 0; - break; - case TIMELIB_FORMAT_ANY_SEPARATOR: /* separation symbol */ - if (timelib_lookup_format(*ptr, format_map) == TIMELIB_FORMAT_SEPARATOR) { - ++ptr; - } else { - add_pbf_error(s, TIMELIB_ERR_NO_SEP_SYMBOL, "The separation symbol ([;:/.,-]) could not be found", string, begin); - } - break; - - case TIMELIB_FORMAT_SEPARATOR: - if (*ptr == *fptr) { - ++ptr; - } else { - add_pbf_error(s, TIMELIB_ERR_NO_SEP_SYMBOL, "The separation symbol could not be found", string, begin); - } - break; - - case TIMELIB_FORMAT_RESET_ALL: /* reset all fields to default */ - timelib_time_reset_fields(s->time); - break; /* break intentionally not missing */ - - case TIMELIB_FORMAT_RESET_ALL_WHEN_NOT_SET: /* reset all fields to default when not set */ - timelib_time_reset_unset_fields(s->time); - break; /* break intentionally not missing */ - - case TIMELIB_FORMAT_RANDOM_CHAR: /* random char */ - ++ptr; - break; - - case TIMELIB_FORMAT_ESCAPE: /* escaped char */ - if(!fptr[1]) { - add_pbf_error(s, TIMELIB_ERR_EXPECTED_ESCAPE_CHAR, "Escaped character expected", string, begin); - break; - } - fptr++; - if (*ptr == *fptr) { - ++ptr; - } else { - add_pbf_error(s, TIMELIB_ERR_NO_ESCAPED_CHAR, "The escaped character could not be found", string, begin); - } - break; - - case TIMELIB_FORMAT_SKIP_TO_SEPARATOR: /* random chars until a separator or number ([ \t.,:;/-0123456789]) */ - timelib_eat_until_separator((char **) &ptr); - break; - - case TIMELIB_FORMAT_ALLOW_EXTRA_CHARACTERS: /* allow extra chars in the format */ - allow_extra = true; - break; - case TIMELIB_FORMAT_YEAR_ISO: - if ((iso_year = timelib_get_nr((char **) &ptr, 4)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_FOUR_DIGIT_YEAR_ISO, "A four digit ISO year could not be found", string, begin); - } - break; - case TIMELIB_FORMAT_WEEK_OF_YEAR_ISO: - if ((iso_week_of_year = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_TWO_DIGIT_WEEK, "A two digit ISO week could not be found", string, begin); - } - /* Range is 1 - 53 for ISO week of year */ - if (iso_week_of_year < 1 || iso_week_of_year > 53) { - add_pbf_error(s, TIMELIB_ERR_INVALID_WEEK, "ISO Week must be between 1 and 53", string, begin); - } - break; - case TIMELIB_FORMAT_DAY_OF_WEEK_ISO: - if ((iso_day_of_week = timelib_get_nr((char **) &ptr, 1)) == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_NO_DAY_OF_WEEK, "A single digit day of week could not be found", string, begin); - } - if (iso_day_of_week < 1 || iso_day_of_week > 7) { - add_pbf_error(s, TIMELIB_ERR_INVALID_DAY_OF_WEEK, "Day of week must be between 1 and 7", string, begin); - } - break; - case TIMELIB_FORMAT_TIMEZONE_OFFSET: /* timezone */ - { - int tz_not_found; - - s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); - if (tz_not_found) { - add_pbf_error(s, TIMELIB_ERR_TZID_NOT_FOUND, "The timezone could not be found in the database", string, begin); - } - } - break; - case TIMELIB_FORMAT_TIMEZONE_OFFSET_MINUTES: /* timezone format +/-mmm */ - s->time->z = timelib_parse_tz_minutes((char **) &ptr, s->time); - if (s->time->z == TIMELIB_UNSET) { - add_pbf_error(s, TIMELIB_ERR_INVALID_TZ_OFFSET, "Invalid timezone offset in minutes", string, begin); - } - break; - case TIMELIB_FORMAT_LITERAL: - default: - if (*fptr != *ptr) { - add_pbf_error(s, TIMELIB_ERR_WRONG_FORMAT_SEP, "The format separator does not match", string, begin); - } - ptr++; - } - fptr++; - } - if (*ptr) { - if (allow_extra) { - add_pbf_warning(s, TIMELIB_WARN_TRAILING_DATA, "Trailing data", string, ptr); - } else { - add_pbf_error(s, TIMELIB_ERR_TRAILING_DATA, "Trailing data", string, ptr); - } - } - - if (*fptr) { - /* Trailing reset specifiers are valid. */ - int done = 0; - while (*fptr && !done) { - switch (timelib_lookup_format(*fptr, format_map)) { - case TIMELIB_FORMAT_RESET_ALL: /* reset all fields to default */ - timelib_time_reset_fields(s->time); - break; - - case TIMELIB_FORMAT_RESET_ALL_WHEN_NOT_SET: /* reset all fields to default when not set */ - timelib_time_reset_unset_fields(s->time); - break; - case TIMELIB_FORMAT_ALLOW_EXTRA_CHARACTERS: - break; - - default: - add_pbf_error(s, TIMELIB_ERR_DATA_MISSING, "Data missing", string, ptr); - done = 1; - } - fptr++; - } - } - - /* clean up a bit */ - if (s->time->h != TIMELIB_UNSET || s->time->i != TIMELIB_UNSET || s->time->s != TIMELIB_UNSET || s->time->us != TIMELIB_UNSET) { - if (s->time->h == TIMELIB_UNSET ) { - s->time->h = 0; - } - if (s->time->i == TIMELIB_UNSET ) { - s->time->i = 0; - } - if (s->time->s == TIMELIB_UNSET ) { - s->time->s = 0; - } - if (s->time->us == TIMELIB_UNSET ) { - s->time->us = 0; - } - } - - /* Check for mixing of ISO dates with natural dates. */ - if (s->time->y != TIMELIB_UNSET && (iso_week_of_year != TIMELIB_UNSET || iso_year != TIMELIB_UNSET || iso_day_of_week != TIMELIB_UNSET)) { - add_pbf_error(s, TIMELIB_ERR_MIX_ISO_WITH_NATURAL, "Mixing of ISO dates with natural dates is not allowed", string, ptr); - } - if (iso_year != TIMELIB_UNSET && (s->time->y != TIMELIB_UNSET || s->time->m != TIMELIB_UNSET || s->time->d != TIMELIB_UNSET)) { - add_pbf_error(s, TIMELIB_ERR_MIX_ISO_WITH_NATURAL, "Mixing of ISO dates with natural dates is not allowed", string, ptr); - } - - /* Convert ISO values */ - if (iso_year != TIMELIB_UNSET) { - /* Default week of year and day of week to 1. */ - if (iso_week_of_year == TIMELIB_UNSET) { - iso_week_of_year = 1; - } - if (iso_day_of_week == TIMELIB_UNSET) { - iso_day_of_week = 1; - } - timelib_date_from_isodate(iso_year, iso_week_of_year, iso_day_of_week, &s->time->y, &s->time->m, &s->time->d); - } else if (iso_week_of_year != TIMELIB_UNSET || iso_day_of_week != TIMELIB_UNSET) { - add_pbf_warning(s, TIMELIB_WARN_INVALID_DATE, "The parsed date was invalid", string, ptr); - } - - /* do funky checking whether the parsed time was valid time */ - if (s->time->h != TIMELIB_UNSET && s->time->i != TIMELIB_UNSET && - s->time->s != TIMELIB_UNSET && - !timelib_valid_time( s->time->h, s->time->i, s->time->s)) { - add_pbf_warning(s, TIMELIB_WARN_INVALID_TIME, "The parsed time was invalid", string, ptr); - } - /* do funky checking whether the parsed date was valid date */ - if (s->time->y != TIMELIB_UNSET && s->time->m != TIMELIB_UNSET && - s->time->d != TIMELIB_UNSET && - !timelib_valid_date( s->time->y, s->time->m, s->time->d)) { - add_pbf_warning(s, TIMELIB_WARN_INVALID_DATE, "The parsed date was invalid", string, ptr); - } - - if (errors) { - *errors = in.errors; - } else { - timelib_error_container_dtor(in.errors); - } - return in.time; -} - -void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) -{ - if (!(options & TIMELIB_OVERRIDE_TIME) && parsed->have_date && !parsed->have_time) { - parsed->h = 0; - parsed->i = 0; - parsed->s = 0; - parsed->us = 0; - } - if ( - parsed->y != TIMELIB_UNSET || parsed->m != TIMELIB_UNSET || parsed->d != TIMELIB_UNSET || - parsed->h != TIMELIB_UNSET || parsed->i != TIMELIB_UNSET || parsed->s != TIMELIB_UNSET - ) { - if (parsed->us == TIMELIB_UNSET) parsed->us = 0; - } else { - if (parsed->us == TIMELIB_UNSET) parsed->us = now->us != TIMELIB_UNSET ? now->us : 0; - } - if (parsed->y == TIMELIB_UNSET) parsed->y = now->y != TIMELIB_UNSET ? now->y : 0; - if (parsed->m == TIMELIB_UNSET) parsed->m = now->m != TIMELIB_UNSET ? now->m : 0; - if (parsed->d == TIMELIB_UNSET) parsed->d = now->d != TIMELIB_UNSET ? now->d : 0; - if (parsed->h == TIMELIB_UNSET) parsed->h = now->h != TIMELIB_UNSET ? now->h : 0; - if (parsed->i == TIMELIB_UNSET) parsed->i = now->i != TIMELIB_UNSET ? now->i : 0; - if (parsed->s == TIMELIB_UNSET) parsed->s = now->s != TIMELIB_UNSET ? now->s : 0; - if (parsed->z == TIMELIB_UNSET) parsed->z = now->z != TIMELIB_UNSET ? now->z : 0; - if (parsed->dst == TIMELIB_UNSET) parsed->dst = now->dst != TIMELIB_UNSET ? now->dst : 0; - - if (!parsed->tz_abbr) { - parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; - } - if (!parsed->tz_info) { - parsed->tz_info = now->tz_info ? (!(options & TIMELIB_NO_CLONE) ? timelib_tzinfo_clone(now->tz_info) : now->tz_info) : NULL; - } - if (parsed->zone_type == 0 && now->zone_type != 0) { - parsed->zone_type = now->zone_type; -/* parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; - parsed->tz_info = now->tz_info ? timelib_tzinfo_clone(now->tz_info) : NULL; -*/ parsed->is_localtime = 1; - } -/* timelib_dump_date(parsed, 2); - timelib_dump_date(now, 2); -*/ -} - -char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) -{ - const timelib_tz_lookup_table *tp; - - tp = abbr_search(abbr, gmtoffset, isdst); - if (tp) { - return (tp->full_tz_name); - } else { - return NULL; - } -} - -const timelib_tz_lookup_table *timelib_timezone_abbreviations_list(void) -{ - return timelib_timezone_lookup; -} - -#ifdef DEBUG_PARSER_STUB -int main(void) -{ - timelib_time time = timelib_strtotime("May 12"); - - printf ("%04d-%02d-%02d %02d:%02d:%02d.%-5d %+04d %1d", - time.y, time.m, time.d, time.h, time.i, time.s, time.f, time.z, time.dst); - if (time.have_relative) { - printf ("%3dY %3dM %3dD / %3dH %3dM %3dS", - time.relative.y, time.relative.m, time.relative.d, time.relative.h, time.relative.i, time.relative.s); - } - if (time.have_weekday_relative) { - printf (" / %d", time.relative.weekday); - } - if (time.have_weeknr_day) { - printf(" / %dW%d", time.relative.weeknr_day.weeknr, time.relative.weeknr_day.dayofweek); - } - return 0; -} -#endif - -/* - * vim: syntax=c - */ |