Added "nflag".
This commit is contained in:
parent
ee27adc926
commit
eedc332a04
2 changed files with 6 additions and 0 deletions
|
@ -82,3 +82,4 @@ extern int nerrors;
|
||||||
extern string rec_file, incl_file;
|
extern string rec_file, incl_file;
|
||||||
extern p_term terms;
|
extern p_term terms;
|
||||||
extern p_link links;
|
extern p_link links;
|
||||||
|
extern int nflag;
|
||||||
|
|
|
@ -50,6 +50,7 @@ extern install();
|
||||||
# ifndef NDEBUG
|
# ifndef NDEBUG
|
||||||
extern badassertion();
|
extern badassertion();
|
||||||
# endif not NDEBUG
|
# endif not NDEBUG
|
||||||
|
int nflag;
|
||||||
|
|
||||||
main(argc,argv) register string argv[]; {
|
main(argc,argv) register string argv[]; {
|
||||||
register string arg;
|
register string arg;
|
||||||
|
@ -89,6 +90,10 @@ main(argc,argv) register string argv[]; {
|
||||||
incl_file = ++arg;
|
incl_file = ++arg;
|
||||||
break;
|
break;
|
||||||
# endif not NDEBUG
|
# endif not NDEBUG
|
||||||
|
case 'n':
|
||||||
|
case 'N':
|
||||||
|
nflag = 1;
|
||||||
|
continue;
|
||||||
case 'x':
|
case 'x':
|
||||||
case 'X':
|
case 'X':
|
||||||
ntneeded = 1;
|
ntneeded = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue