Also accept dates of the form May-23-2003.

This commit is contained in:
Jim Meyering committed 2003-06-10 06:28:00 +00:00
1 parent 3ceea0946b
commit 208b95e198
1 file changed
+8
+8
View File
@@ -321,6 +321,14 @@ date:
PC.year.value = -$3.value;
PC.year.digits = $3.digits;
}
| tMONTH tSNUMBER tSNUMBER
{
/* e.g. JUN-17-1992. */
PC.month = $1;
PC.day = -$2.value;
PC.year.value = -$3.value;
PC.year.digits = $3.digits;
}
| tMONTH tUNUMBER
{
PC.month = $1;