summaryrefslogtreecommitdiff
path: root/lib/getdate.y
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-08-07 16:07:28 +0000
committerJim Meyering <jim@meyering.net>1995-08-07 16:07:28 +0000
commit7c342fe2a1ba4f62a61fa14a3c34e31595886146 (patch)
tree0904a1aa3ce470b80f2a3f46447a1b4038a69bf2 /lib/getdate.y
parent9c3f1711e250d6e1fc547702c5ab1bf94bbcea6a (diff)
downloadcoreutils-7c342fe2a1ba4f62a61fa14a3c34e31595886146.tar.xz
Add FIXME comments.
Diffstat (limited to 'lib/getdate.y')
-rw-r--r--lib/getdate.y7
1 files changed, 4 insertions, 3 deletions
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 {