Parent Directory | Revision Log | Patch
revision 1.29 by blp, Mon Oct 24 02:51:32 2005 UTC | revision 1.30 by jmd, Mon Oct 24 05:41:45 2005 UTC | |
---|---|---|
# | Line 260 dict_create_var (struct dictionary *d, c | Line 260 dict_create_var (struct dictionary *d, c |
260 | assert (d != NULL); | assert (d != NULL); |
261 | assert (name != NULL); | assert (name != NULL); |
262 | ||
assert (strlen (name) >= 1); | ||
assert (strlen (name) <= LONG_NAME_LEN); | ||
263 | assert (width >= 0 && width < 256); | assert (width >= 0 && width < 256); |
264 | ||
265 | assert (var_is_valid_name(name,0)); | |
266 | ||
267 | /* Make sure there's not already a variable by that name. */ | /* Make sure there's not already a variable by that name. */ |
268 | if (dict_lookup_var (d, name) != NULL) | if (dict_lookup_var (d, name) != NULL) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |