Don't allow duplicate arg names in function definitions.

This commit is contained in:
Dianne Skoll
2024-05-30 12:27:35 -04:00
parent 2666353ce6
commit 7728e09337
2 changed files with 14 additions and 1 deletions
+3 -1
View File
@@ -122,6 +122,7 @@
#define E_TIME_TWICE 102
#define E_DURATION_NO_AT 103
#define E_EXPECTING_WEEKDAY 104
#define E_REPEATED_ARG 105
#ifdef MK_GLOBALS
#undef EXTERN
@@ -244,7 +245,8 @@ EXTERN char *ErrMsg[]
"String too long",
"Time specified twice",
"Cannot specify DURATION without specifying AT",
"Expecting weekday name"
"Expecting weekday name",
"Duplicate argument name"
}
#endif /* MK_GLOBALS */
;