]> Dogcows Code - chaz/tar/commit
Add copyright notice.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Aug 1999 09:55:55 +0000 (09:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Aug 1999 09:55:55 +0000 (09:55 +0000)
commitc0d324c43ca82ac69a69f596a228121cecb2f037
tree8d6bb109242d5541f5b9079a83e36265b50a8b43
parent38d825f34b9220d3b68abd0405ff3b78346131c4
Add copyright notice.
(<stdio.h>): Include only if testing.
(ISUPPER): Remove.
(ISLOWER): New macro.
(<string.h>): Include if HAVE_STRING_H, not USG.
(bcopy): Remove.
(yymaxdepth, ..., yycheck): Don't bother to redefine, since we can assume
bison.
(EPOCH_YEAR): Renamed from EPOCH.
(table): Renamed from TABLE.
(meridian): Now an anonymous enum.
(struct parser_control): New type.
(YYLEX_PARAM, YYPARSE_PARAM, YYSTYPE): New macros.
(yyInput, ..., yyRelYear): Migrated into struct parser_control.
(%pure_parser): Added, so that the parser is pure.
(%union): Removed; the type is now just plain int.
All %type directives removed.
(tLOCAL_ZONE): New %token.
(month_day_table): Renamed from MonthDayTable.
(gmtime, localtime, mktime, time): Declare only if not defined.
(meridian_table): New table.
(dst_table): New table.
(units_table): renamed from UnitsTable.
(relative_time_table): Renamed from OtherTable.
(time_zone_table): Renamed from TimezoneTable.  Modernized.
(military_table): Renamed from MilitaryTable.
(to_hour): Renamed from ToHour.
(to_year): Renamed from ToYear.
(lookup_zone): New function.
(LookupWord): Renamed from lookup_word.  Use lookup_zone for time zones.
(yylex): Now reentrant.  All callers changed.
(get_date): Add support for local time zone abbreviations.
Make it reentrant.
lib/getdate.y
This page took 0.022258 seconds and 4 git commands to generate.