changeset 13770:d8cedb66335e

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 05 Oct 2010 13:51:12 -0700
parents 896628c568fa
children 1d4ace06a1c3
files ChangeLog doc/parse-datetime.texi lib/parse-datetime.y m4/bison.m4
diffstat 4 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
--- a/doc/parse-datetime.texi
+++ b/doc/parse-datetime.texi
@@ -543,13 +543,14 @@
 @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.
--- a/lib/parse-datetime.y
+++ b/lib/parse-datetime.y
@@ -50,7 +50,7 @@
 #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
@@ -712,7 +712,7 @@
 /* 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[] =
 {
--- a/m4/bison.m4
+++ b/m4/bison.m4
@@ -13,7 +13,7 @@
 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