* language.c (_initialize_language): Fix type check and range
check documentation strings.
This commit is contained in:
parent
c2536607c6
commit
7cb8375793
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
Fri Sep 20 02:28:15 1991 John Gilmore (gnu at cygnus.com)
|
Fri Sep 20 02:28:15 1991 John Gilmore (gnu at cygnus.com)
|
||||||
|
|
||||||
|
* language.c (_initialize_language): Fix type check and range
|
||||||
|
check documentation strings.
|
||||||
* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so
|
* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so
|
||||||
language.c can use it. (Though language.c should really not be
|
language.c can use it. (Though language.c should really not be
|
||||||
handling warnings/errors the way it does, FIXME.)
|
handling warnings/errors the way it does, FIXME.)
|
||||||
|
|
|
@ -1064,13 +1064,13 @@ _initialize_language()
|
||||||
|
|
||||||
add_prefix_cmd ("check", no_class, show_check,
|
add_prefix_cmd ("check", no_class, show_check,
|
||||||
"Show the status of the type/range checker",
|
"Show the status of the type/range checker",
|
||||||
&showchecklist, "set check ", 0, &showlist);
|
&showchecklist, "show check ", 0, &showlist);
|
||||||
add_alias_cmd ("c", "check", no_class, 1, &showlist);
|
add_alias_cmd ("c", "check", no_class, 1, &showlist);
|
||||||
add_alias_cmd ("ch", "check", no_class, 1, &showlist);
|
add_alias_cmd ("ch", "check", no_class, 1, &showlist);
|
||||||
|
|
||||||
set = add_set_cmd ("type", class_support, var_string_noescape,
|
set = add_set_cmd ("type", class_support, var_string_noescape,
|
||||||
(char *)&type,
|
(char *)&type,
|
||||||
"Set type checking on/warn/off/auto.",
|
"Set type checking. (on/warn/off/auto)",
|
||||||
&setchecklist);
|
&setchecklist);
|
||||||
show = add_show_from_set (set, &showchecklist);
|
show = add_show_from_set (set, &showchecklist);
|
||||||
set->function = set_type_command;
|
set->function = set_type_command;
|
||||||
|
@ -1078,7 +1078,7 @@ _initialize_language()
|
||||||
|
|
||||||
set = add_set_cmd ("range", class_support, var_string_noescape,
|
set = add_set_cmd ("range", class_support, var_string_noescape,
|
||||||
(char *)&range,
|
(char *)&range,
|
||||||
"Set range checking on/warn/off/auto.",
|
"Set range checking. (on/warn/off/auto)",
|
||||||
&setchecklist);
|
&setchecklist);
|
||||||
show = add_show_from_set (set, &showchecklist);
|
show = add_show_from_set (set, &showchecklist);
|
||||||
set->function = set_range_command;
|
set->function = set_range_command;
|
||||||
|
|
Loading…
Reference in a new issue