1 /*
2  * Copyright (c) 2016-2017, NVIDIA CORPORATION.  All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 
18 /** \file main.h
19     \brief data definitions, macros, and prototypes for fe90/main.c
20 */
21 
22 #ifdef INSIDE_MAIN
23 
24 /*
25  * structure/constants needed for command line processing:
26  */
27 
28 struct cmdTable {/* command-line switch table used in main.c */
29   char *cmd;
30   INT caselabel;
31   LOGICAL no;
32 };
33 
34 enum cmdLineSwitches {
35   SW_ASM = 1,
36   SW_DCLCHK,
37   SW_DEBUG,
38   SW_DEPCHK,
39   SW_DLINES,
40   SW_EXTEND,
41   SW_I4,
42   SW_IDIR,
43   SW_INFORM,
44   SW_LINE,
45   SW_LIST,
46   SW_OBJECT,
47   SW_ONETRIP,
48   SW_OPT,
49   SW_PROFILE,
50   SW_Q,
51   SW_SAVE,
52   SW_SHOW,
53   SW_STANDARD,
54   SW_SYMBOL,
55   SW_UPCASE,
56   SW_XOFF,
57   SW_XON,
58   SW_NOXO,
59   SW_DALIGN,
60   SW_ASTYPE,
61   SW_RECURS,
62   SW_IEEE,
63   SW_INSIZE,
64   SW_VECT,
65   SW_ENDIAN,
66   SW_TERSE,
67   SW_INLIB,
68   SW_INFUNC,
69   SW_EXLIB,
70   SW_EXSIZE,
71   SW_EXFUNC,
72   SW_DOLLAR,
73   SW_X,
74   SW_QUAD,
75   SW_REENTR,
76   SW_ANNO,
77   SW_ALPHA,
78   SW_BETA,
79   SW_Y,
80   SW_FN,
81   SW_QA,
82   SW_ES,
83   SW_P,
84   SW_DEF,
85   SW_UNDEF,
86   SW_STDINC,
87   SW_VERSION,
88   SW_VH,
89   SW_VN,
90   SW_VT,
91   SW_PGVFUNC,
92   SW_PGVFILE,
93   SW_HPF,
94   SW_FREEFORM,
95   SW_OUTPUT,
96   SW_SEQUENCE,
97   SW_PREPROC,
98   SW_IPA,
99   SW_CRAFT,
100   SW_QQ,
101   SW_STATIC_ANALYSIS,
102   SW_NOSTATIC,
103   SW_DFILE,
104   SW_QFILE,
105   SW_ILM,
106   SW_ERRLIMIT,
107   SW_FCON,
108   SW_MP,
109   SW_MODDIR,
110   SW_IPACOMP,
111   SW_IPACOMPSW,
112   SW_IPAAS,
113   SW_IPAASSW,
114   SW_IPAIMPORT,
115   SW_IPAEXPORT,
116   SW_IPAFILE,
117   SW_IPOFILE,
118   SW_SF,
119   SW_SOURCE,
120   SW_IPXIMPORT,
121   SW_MODEXPORT,
122   SW_MODINDEX,
123   SW_CCFF,
124   SW_CONCUR,
125   SW_CUDAROOT,
126   SW_TP,
127   SW_CUDAVER,
128   SW_ACCEL,
129   SW_STBFILE,
130   SW_CMDLINE
131 };
132 
133 #endif
134