Make a local OMIT that doesn't specify a weekday name into a syntax error.

This commit is contained in:
Dianne Skoll
2024-03-03 14:51:53 -05:00
parent f4cce54b70
commit 0d55e04284
8 changed files with 27 additions and 6 deletions
+4 -1
View File
@@ -121,6 +121,8 @@
#define E_STRING_TOO_LONG 101
#define E_TIME_TWICE 102
#define E_DURATION_NO_AT 103
#define E_EXPECTING_WEEKDAY 104
#ifdef MK_GLOBALS
#undef EXTERN
#define EXTERN
@@ -241,7 +243,8 @@ EXTERN char *ErrMsg[]
"No files matching *.rem",
"String too long",
"Time specified twice",
"Cannot specify DURATION without specifying AT"
"Cannot specify DURATION without specifying AT",
"Expecting weekday name"
}
#endif /* MK_GLOBALS */
;