1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-13 04:17:35 +02:00

update a comment from alpha.gnu.org:/home/gd/gnu/lib/getdate.y

This commit is contained in:
Jim Meyering
1999-10-31 15:49:05 +00:00
parent 4aa83de94e
commit dab2c2f26f
+5 -2
View File
@@ -99,7 +99,7 @@ enum { MERam, MERpm, MER24 };
/* Information passed to and from the parser. */
struct parser_control
{
{
/* The input string remaining to be parsed. */
const char *input;
@@ -831,7 +831,10 @@ yyerror (char *s ATTRIBUTE_UNUSED)
return 0;
}
/* ?? */
/* Parse a date/time string P. Return the corresponding time_t value,
or (time_t) -1 if there is an error. P can be an incomplete or
relative time specification; if so, use *NOW as the basis for the
returned time. */
time_t
get_date (const char *p, const time_t *now)
{