#include "kernel/mod2.h"
#include "feOptGen.h"
#include "fehelp.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
◆ FE_OPT_STRUCTURE
◆ main()
Definition at line 25 of file feOptGen.cc.
26{
28#ifdef ESINGULAR
29 fd = fopen(
"feOptES.xx",
"w");
30#elif defined(TSINGULAR)
31 fd = fopen(
"feOptTS.xx",
"w");
32#else
33 fd = fopen(
"feOpt.xx",
"w");
34#endif
35
37
39
40 fputs(
"typedef enum\n{\n",
fd);
41
43 {
47 {
49 {
51 }
52 else if (*
name >= 97 && *
name <= 122)
53 {
55 }
56 else
57 {
59 }
61 }
63 {
65 }
68 }
69
70 fprintf(
fd,
"FE_OPT_UNDEF\n} feOptIndex;\n");
72#ifdef ESINGULAR
73 rename("feOptES.xx", "feOptES.inc");
74#elif defined(TSINGULAR)
75 rename("feOptTS.xx", "feOptTS.inc");
76#else
77 rename("feOpt.xx", "feOpt.inc");
78#endif
79 return(0);
80}
EXTERN_VAR struct fe_option feOptSpec[]
int name
New type name for int.
◆ SHORT_OPTS_STRING
const char SHORT_OPTS_STRING[] = "bdhqstvxec:r:u:" |