Diagnose bad YYYY-MM-DD constants in REM command.

This commit is contained in:
Dianne Skoll
2024-09-10 14:09:52 -04:00
parent ef6b9c3783
commit c645db5ede
3 changed files with 19 additions and 4 deletions

View File

@@ -5699,8 +5699,17 @@ set zxk dooby(1)
Entering UserFN dooby(1)
Leaving UserFN dooby(1) => 1
REM 1 Jan 1873 MSG hehah
REM 1 Jan 1873 MSG This should fail
../tests/test.rem(1122): Number `1873' is not recognized as a year or a day number
REM 1873-12-11 MSG Also bad.
../tests/test.rem(1123): Bad date specification: `1873-12-11'
../tests/test.rem(1123): Missing REM type; assuming MSG
../tests/test.rem(1123): Trig = Saturday, 16 February, 1991
../tests/test.rem(1123): Function `subst_ampm' defined at ../tests/test.rem:931 should take 1 argument, but actually takes 7
../tests/test.rem(1123): Function `subst_ampm' defined at ../tests/test.rem:931 should take 1 argument, but actually takes 7
1873-12-11 MSG Also bad.
# Don't want Remind to queue reminders
EXIT