Remove a typo: runable --> runnable
This commit is contained in:
parent
b7ae16838a
commit
ae221a70c2
|
|
@ -136,7 +136,7 @@ Xprintf(FILE *fdst, const char *fmt, ...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Do a listing. Use is listing [expanded] [logical] [physical] [deck] [runable] */
|
/* Do a listing. Use is listing [expanded] [logical] [physical] [deck] [runnable] */
|
||||||
void
|
void
|
||||||
com_listing(wordlist *wl)
|
com_listing(wordlist *wl)
|
||||||
{
|
{
|
||||||
|
|
@ -170,7 +170,7 @@ com_listing(wordlist *wl)
|
||||||
case 'r':
|
case 'r':
|
||||||
case 'R':
|
case 'R':
|
||||||
expand = TRUE;
|
expand = TRUE;
|
||||||
type = LS_RUNABLE;
|
type = LS_RUNNABLE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(cp_err, "Error: bad listing type %s\n", s);
|
fprintf(cp_err, "Error: bad listing type %s\n", s);
|
||||||
|
|
@ -183,7 +183,7 @@ com_listing(wordlist *wl)
|
||||||
if (do_param_listing) {
|
if (do_param_listing) {
|
||||||
nupa_list_params(cp_out);
|
nupa_list_params(cp_out);
|
||||||
} else {
|
} else {
|
||||||
if (type != LS_DECK && type != LS_RUNABLE)
|
if (type != LS_DECK && type != LS_RUNNABLE)
|
||||||
fprintf(cp_out, "\t%s\n\n", ft_curckt->ci_name);
|
fprintf(cp_out, "\t%s\n\n", ft_curckt->ci_name);
|
||||||
inp_list(cp_out,
|
inp_list(cp_out,
|
||||||
expand ? ft_curckt->ci_deck : ft_curckt->ci_origdeck,
|
expand ? ft_curckt->ci_deck : ft_curckt->ci_origdeck,
|
||||||
|
|
@ -240,7 +240,7 @@ inp_list(FILE *file, struct card *deck, struct card *extras, int type)
|
||||||
|
|
||||||
renumber = cp_getvar("renumber", CP_BOOL, NULL, 0);
|
renumber = cp_getvar("renumber", CP_BOOL, NULL, 0);
|
||||||
|
|
||||||
if (type == LS_LOGICAL || type == LS_RUNABLE) {
|
if (type == LS_LOGICAL || type == LS_RUNNABLE) {
|
||||||
top1:
|
top1:
|
||||||
for (here = deck; here; here = here->nextcard) {
|
for (here = deck; here; here = here->nextcard) {
|
||||||
if (renumber)
|
if (renumber)
|
||||||
|
|
@ -252,7 +252,7 @@ inp_list(FILE *file, struct card *deck, struct card *extras, int type)
|
||||||
if (here->error)
|
if (here->error)
|
||||||
Xprintf(file, "%s\n", here->error);
|
Xprintf(file, "%s\n", here->error);
|
||||||
}
|
}
|
||||||
else if ((*here->line != '*') && (type == LS_RUNABLE)) {
|
else if ((*here->line != '*') && (type == LS_RUNNABLE)) {
|
||||||
Xprintf(file, "%s\n", upper(here->line));
|
Xprintf(file, "%s\n", upper(here->line));
|
||||||
if (here->error)
|
if (here->error)
|
||||||
Xprintf(file, "%s\n", here->error);
|
Xprintf(file, "%s\n", here->error);
|
||||||
|
|
@ -268,7 +268,7 @@ inp_list(FILE *file, struct card *deck, struct card *extras, int type)
|
||||||
|
|
||||||
if (type == LS_LOGICAL)
|
if (type == LS_LOGICAL)
|
||||||
Xprintf(file, "%6d : .end\n", i);
|
Xprintf(file, "%6d : .end\n", i);
|
||||||
else if (type == LS_RUNABLE)
|
else if (type == LS_RUNNABLE)
|
||||||
Xprintf(file, ".end\n");
|
Xprintf(file, ".end\n");
|
||||||
|
|
||||||
} else if ((type == LS_PHYSICAL) || (type == LS_DECK)) {
|
} else if ((type == LS_PHYSICAL) || (type == LS_DECK)) {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
||||||
#define LS_LOGICAL 1
|
#define LS_LOGICAL 1
|
||||||
#define LS_PHYSICAL 2
|
#define LS_PHYSICAL 2
|
||||||
#define LS_DECK 3
|
#define LS_DECK 3
|
||||||
#define LS_RUNABLE 4
|
#define LS_RUNNABLE 4
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue