2010-10-05 Paul Eggert <eggert@cs.ucla.edu>
+ parse-datetime: do some more renaming
+ * doc/parse-datetime.texi (Authors of parse_datetime): Call it
+ parse_datetime, not get_date. Mention the renaming.
+ * lib/parse-datetime.y: Call it parse_datetime, not getdate,
+ in comments.
+ * m4/bison.m4: Likewise.
+
more ports to Solaris tr, which needs [] around ranges
* gnulib-tool: Solaris tr needs [] around ranges.
* m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise.
@cindex MacKenzie, David
@cindex Meyering, Jim
@cindex Eggert, Paul
-@code{get_date} was originally implemented by Steven M. Bellovin
+@code{parse_datetime} was originally implemented by Steven M. Bellovin
(@email{smb@@research.att.com}) while at the University of North Carolina
at Chapel Hill. The code was later tweaked by a couple of people on
Usenet, then completely overhauled by Rich $alz (@email{rsalz@@bbn.com})
and Jim Berets (@email{jberets@@bbn.com}) in August, 1990. Various
revisions for the @sc{gnu} system were made by David MacKenzie, Jim Meyering,
-Paul Eggert and others, including renaming it to @code{parse_datetime}
+Paul Eggert and others, including renaming it to @code{get_date} and
+then to @code{parse_datetime}
to avoid confusion with the Posix function @code{getdate}.
@cindex Pinard, F.
#define YYMAXDEPTH 20
#define YYINITDEPTH YYMAXDEPTH
-/* Since the code of getdate.y is not included in the Emacs executable
+/* Since the code of parse-datetime.y is not included in the Emacs executable
itself, there is no need to #define static in this file. Even if
the code were included in the Emacs executable, it probably
wouldn't do any harm to #undef it here; this will only cause
/* The time zone table. This table is necessarily incomplete, as time
zone abbreviations are ambiguous; e.g. Australians interpret "EST"
as Eastern time in Australia, not as US Eastern Standard Time.
- You cannot rely on getdate to handle arbitrary time zone
+ You cannot rely on parse_datetime to handle arbitrary time zone
abbreviations; use numeric abbreviations like `-0500' instead. */
static table const time_zone_table[] =
{
dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB
dnl requires an Autoconf greater than 2.59c, but it will probably still be
dnl useful to override the description of YACC in the --help output, re
-dnl getdate.y assuming `bison -y'.
+dnl parse-datetime.y assuming `bison -y'.
AC_ARG_VAR([YACC],
[The `Yet Another C Compiler' implementation to use. Defaults to `bison -y'.
Values other than `bison -y' will most likely break on most systems.])dnl