From b6c390fceec21c32bbffe8deea9e99e64c17c50a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 Aug 1995 16:07:28 +0000 Subject: [PATCH] Add FIXME comments. --- lib/getdate.y | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/getdate.y b/lib/getdate.y index b2c523e38f..ce119056a1 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -242,7 +242,7 @@ day : tDAY { yyDayOrdinal = 1; yyDayNumber = $1; } - | tUNUMBER tDAY { + | tUNUMBER tDAY { /* FIXME */ yyDayOrdinal = $1; yyDayNumber = $2; } @@ -279,6 +279,7 @@ date : tUNUMBER '/' tUNUMBER { yyYear = $4; } | tUNUMBER tMONTH { + /* FIXME: `date -d 'next october'' is interpreted as 2 october. */ yyMonth = $2; yyDay = $1; } @@ -314,10 +315,10 @@ relunit : tUNUMBER tMINUTE_UNIT { | tSEC_UNIT { yyRelSeconds++; } - | tSNUMBER tMONTH_UNIT { + | tSNUMBER tMONTH_UNIT { /* FIXME */ yyRelMonth += $1 * $2; } - | tUNUMBER tMONTH_UNIT { + | tUNUMBER tMONTH_UNIT { /* FIXME */ yyRelMonth += $1 * $2; } | tMONTH_UNIT { -- 2.30.2