X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetdate.y;h=ce119056a1116e8de0837ab9bbe1d57d8cfb1c9f;hb=6aae241f16ed2dbe57475cb4c8b3a5b1ca1e9699;hp=b2c523e38fe9249db170e02f51289f8600982332;hpb=c9f48301df66fa1409518e8200096164c8129ba3;p=gnulib.git diff --git a/lib/getdate.y b/lib/getdate.y index b2c523e38..ce119056a 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 {