# | Line 8 | Line 8 | static const char RCSid[] = "$Id$"; | |
---|---|---|
8 | ||
9 | #include "copyright.h" | |
10 | ||
11 | – | #include <ctype.h> |
11 | #include "rcontrib.h" | |
12 | #include "otypes.h" | |
13 | #include "source.h" | |
# | Line 104 | Line 103 | addmodifier(char *modn, char *outf, char *prms, char * | |
103 | } | |
104 | if (nmods >= MAXMODLIST) | |
105 | error(INTERNAL, "too many modifiers"); | |
106 | + | if (!strcmp(modn, VOIDID)) { |
107 | + | sprintf(errmsg, "cannot track '%s' modifier", VOIDID); |
108 | + | error(USER, errmsg); |
109 | + | } |
110 | modname[nmods++] = modn; /* XXX assumes static string */ | |
111 | lep->key = modn; /* XXX assumes static string */ | |
112 | if (binv == NULL) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |