- [-CDEnqv] [+DEn] [-L SYS,SYS,...] [-c CONF] [-o [SECT:]VAR=VAL]\n",
+ [-DEnqv] [+DEn] [-L SYS,SYS,...] [-c CONF] [-o [SECT:]VAR=VAL]\n",
Evaluation mode:\n\
-d, --dump-expression=EXPR Print (`prin1') EXPR (repeatable).\n\
-e, --evaluate-expression=EXPR Evaluate EXPR for effect (repeatable).\n\
Evaluation mode:\n\
-d, --dump-expression=EXPR Print (`prin1') EXPR (repeatable).\n\
-e, --evaluate-expression=EXPR Evaluate EXPR for effect (repeatable).\n\
- -l, --load-file=FILE Load FILE (repeatable).\n",
+ -l, --load-file=FILE Load FILE (repeatable).\n\
+ -p, --print-expression=EXPR Print (`princ') EXPR (repeatable).\n",
- i = mdwopt(argc, argv, "+hVD+E+L:c:d:e:l:n+o:qv", opts, 0, 0,
+ i = mdwopt(argc, argv, "+hVD+E+L:c:d:e:l:n+o:p:qv", opts, 0, 0,
case 'l': CMDL; push_eval_op('<', optarg); break;
FLAGOPT('n', AF_DRYRUN, { CMDL; });
case 'o': CMDL; if (set_config_var(optarg)) flags |= AF_BOGUS; break;
case 'l': CMDL; push_eval_op('<', optarg); break;
FLAGOPT('n', AF_DRYRUN, { CMDL; });
case 'o': CMDL; if (set_config_var(optarg)) flags |= AF_BOGUS; break;
case 'q': CMDL; if (verbose) verbose--; break;
case 'v': CMDL; verbose++; break;
default: flags |= AF_BOGUS; break;
case 'q': CMDL; if (verbose) verbose--; break;
case 'v': CMDL; verbose++; break;
default: flags |= AF_BOGUS; break;
- /* Make sure that the acceptable and preferred Lisps actually exist. */
- check_lisps("acceptable", &accept, offsetof(struct lispsys, next_accept));
+ /* Make sure that the preferred Lisps actually exist. */
check_lisps("preferred", &prefer, offsetof(struct lispsys, next_prefer));
/* If there are no acceptable Lisps, then we'll take all of them. */
check_lisps("preferred", &prefer, offsetof(struct lispsys, next_prefer));
/* If there are no acceptable Lisps, then we'll take all of them. */
/* Build the final list of Lisp systems in the order in which we'll try
* them: first, preferred Lisps which are acceptable, and then acceptable
/* Build the final list of Lisp systems in the order in which we'll try
* them: first, preferred Lisps which are acceptable, and then acceptable
*/
tail = &order.head;
for (lisp = prefer.head; lisp; lisp = lisp->next_prefer)
if (lisp->f&LF_ACCEPT) { *tail = lisp; tail = &lisp->next_order; }
for (lisp = accept.head; lisp; lisp = lisp->next_accept)
*/
tail = &order.head;
for (lisp = prefer.head; lisp; lisp = lisp->next_prefer)
if (lisp->f&LF_ACCEPT) { *tail = lisp; tail = &lisp->next_order; }
for (lisp = accept.head; lisp; lisp = lisp->next_accept)