83 |
int high; |
int high; |
84 |
}; |
}; |
85 |
|
|
86 |
|
STDHLF(Asc_LibrOptionsCmd,(Asc_LibrOptionsCmdHL,HLFSTOP)); |
87 |
|
int Asc_LibrOptionsCmd(ClientData cdata, Tcl_Interp *interp, |
88 |
|
int argc, CONST84 char **argv |
89 |
|
){ |
90 |
|
|
91 |
/* keep the names here < 60 chars. Data for Options command */ |
/* keep the names here < 60 chars. Data for Options command */ |
92 |
#define OPTIONCOUNT 4 |
#define OPTIONCOUNT 4 |
93 |
static |
struct int_option option_list[OPTIONCOUNT] = { |
94 |
struct int_option g_option_list[OPTIONCOUNT] = { |
{&g_compiler_warnings,"-compilerWarnings",0,INT_MAX}, |
95 |
{&g_compiler_warnings,"-compilerWarnings",0,INT_MAX}, |
{&g_parser_warnings,"-parserWarnings",0,5}, |
96 |
{&g_parser_warnings,"-parserWarnings",0,5}, |
{&g_simplify_relations,"-simplifyRelations",0,1}, |
97 |
{&g_simplify_relations,"-simplifyRelations",0,1}, |
{&g_use_copyanon,"-useCopyAnon",0,1} |
98 |
{&g_use_copyanon,"-useCopyAnon",0,1} |
}; |
99 |
}; |
#define GOL option_list |
100 |
#define GOL g_option_list |
|
101 |
|
|
102 |
|
|
|
STDHLF(Asc_LibrOptionsCmd,(Asc_LibrOptionsCmdHL,HLFSTOP)); |
|
|
int Asc_LibrOptionsCmd(ClientData cdata, Tcl_Interp *interp, |
|
|
int argc, CONST84 char **argv) |
|
|
{ |
|
103 |
int i, opt, status; |
int i, opt, status; |
104 |
char buf[80]; |
char buf[80]; |
105 |
ASCUSE; /* see if first arg is -help */ |
ASCUSE; /* see if first arg is -help */ |