1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
8 This software is distributed WITHOUT ANY WARRANTY; without even the
9 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the License for more information.
11 ============================================================================*/
12 #ifndef cmDependsFortran_yyHEADER_H
13 #define cmDependsFortran_yyHEADER_H 1
14 #define cmDependsFortran_yyIN_HEADER 1
16 #define YY_INT_ALIGNED short int
18 /* A lexical scanner generated by flex */
21 #define YY_FLEX_MAJOR_VERSION 2
22 #define YY_FLEX_MINOR_VERSION 5
23 #define YY_FLEX_SUBMINOR_VERSION 35
24 #if YY_FLEX_SUBMINOR_VERSION > 0
28 /* First, we deal with platform-specific or compiler-specific issues. */
30 /* begin standard C headers. */
36 /* end standard C headers. */
38 /* flex integer type definitions */
43 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
45 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
47 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
48 * if you want the limit (max/min) macros for int types.
50 #ifndef __STDC_LIMIT_MACROS
51 #define __STDC_LIMIT_MACROS 1
55 typedef int8_t flex_int8_t;
56 typedef uint8_t flex_uint8_t;
57 typedef int16_t flex_int16_t;
58 typedef uint16_t flex_uint16_t;
59 typedef int32_t flex_int32_t;
60 typedef uint32_t flex_uint32_t;
62 typedef signed char flex_int8_t;
63 typedef short int flex_int16_t;
64 typedef int flex_int32_t;
65 typedef unsigned char flex_uint8_t;
66 typedef unsigned short int flex_uint16_t;
67 typedef unsigned int flex_uint32_t;
69 /* Limits of integral types. */
71 #define INT8_MIN (-128)
74 #define INT16_MIN (-32767-1)
77 #define INT32_MIN (-2147483647-1)
80 #define INT8_MAX (127)
83 #define INT16_MAX (32767)
86 #define INT32_MAX (2147483647)
89 #define UINT8_MAX (255U)
92 #define UINT16_MAX (65535U)
95 #define UINT32_MAX (4294967295U)
100 #endif /* ! FLEXINT_H */
104 /* The "const" storage-class-modifier is valid. */
107 #else /* ! __cplusplus */
109 /* C99 requires __STDC__ to be defined as 1. */
110 #if defined (__STDC__)
114 #endif /* defined (__STDC__) */
115 #endif /* ! __cplusplus */
118 #define yyconst const
123 /* An opaque pointer. */
124 #ifndef YY_TYPEDEF_YY_SCANNER_T
125 #define YY_TYPEDEF_YY_SCANNER_T
126 typedef void* yyscan_t;
129 /* For convenience, these vars (plus the bison vars far below)
130 are macros in the reentrant scanner. */
131 #define yyin yyg->yyin_r
132 #define yyout yyg->yyout_r
133 #define yyextra yyg->yyextra_r
134 #define yyleng yyg->yyleng_r
135 #define yytext yyg->yytext_r
136 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
137 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
138 #define yy_flex_debug yyg->yy_flex_debug_r
140 /* Size of default input buffer. */
143 /* On IA-64, the buffer size is 16k, not 8k.
144 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
145 * Ditto for the __ia64__ case accordingly.
147 #define YY_BUF_SIZE 32768
149 #define YY_BUF_SIZE 16384
150 #endif /* __ia64__ */
153 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
154 #define YY_TYPEDEF_YY_BUFFER_STATE
155 typedef struct yy_buffer_state *YY_BUFFER_STATE;
158 #ifndef YY_TYPEDEF_YY_SIZE_T
159 #define YY_TYPEDEF_YY_SIZE_T
160 typedef size_t yy_size_t;
163 #ifndef YY_STRUCT_YY_BUFFER_STATE
164 #define YY_STRUCT_YY_BUFFER_STATE
165 struct yy_buffer_state
169 char *yy_ch_buf; /* input buffer */
170 char *yy_buf_pos; /* current position in input buffer */
172 /* Size of input buffer in bytes, not including room for EOB
175 yy_size_t yy_buf_size;
177 /* Number of characters read into yy_ch_buf, not including EOB
182 /* Whether we "own" the buffer - i.e., we know we created it,
183 * and can realloc() it to grow it, and should free() it to
186 int yy_is_our_buffer;
188 /* Whether this is an "interactive" input source; if so, and
189 * if we're using stdio for input, then we want to use getc()
190 * instead of fread(), to make sure we stop fetching input after
193 int yy_is_interactive;
195 /* Whether we're considered to be at the beginning of a line.
196 * If so, '^' rules will be active on the next match, otherwise
201 int yy_bs_lineno; /**< The line count. */
202 int yy_bs_column; /**< The column count. */
204 /* Whether to try to fill the input buffer when we reach the
209 int yy_buffer_status;
212 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
214 void cmDependsFortran_yyrestart (FILE *input_file ,yyscan_t yyscanner );
215 void cmDependsFortran_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
216 YY_BUFFER_STATE cmDependsFortran_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
217 void cmDependsFortran_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
218 void cmDependsFortran_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
219 void cmDependsFortran_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
220 void cmDependsFortran_yypop_buffer_state (yyscan_t yyscanner );
222 YY_BUFFER_STATE cmDependsFortran_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
223 YY_BUFFER_STATE cmDependsFortran_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
224 YY_BUFFER_STATE cmDependsFortran_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
226 void *cmDependsFortran_yyalloc (yy_size_t ,yyscan_t yyscanner );
227 void *cmDependsFortran_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
228 void cmDependsFortran_yyfree (void * ,yyscan_t yyscanner );
230 /* Begin user sect3 */
232 #define cmDependsFortran_yywrap(n) 1
233 #define YY_SKIP_YYWRAP
235 #define yytext_ptr yytext_r
237 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
246 #ifndef YY_EXTRA_TYPE
247 #define YY_EXTRA_TYPE void *
250 int cmDependsFortran_yylex_init (yyscan_t* scanner);
252 int cmDependsFortran_yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
254 /* Accessor methods to globals.
255 These are made visible to non-reentrant scanners for convenience. */
257 int cmDependsFortran_yylex_destroy (yyscan_t yyscanner );
259 int cmDependsFortran_yyget_debug (yyscan_t yyscanner );
261 void cmDependsFortran_yyset_debug (int debug_flag ,yyscan_t yyscanner );
263 YY_EXTRA_TYPE cmDependsFortran_yyget_extra (yyscan_t yyscanner );
265 void cmDependsFortran_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
267 FILE *cmDependsFortran_yyget_in (yyscan_t yyscanner );
269 void cmDependsFortran_yyset_in (FILE * in_str ,yyscan_t yyscanner );
271 FILE *cmDependsFortran_yyget_out (yyscan_t yyscanner );
273 void cmDependsFortran_yyset_out (FILE * out_str ,yyscan_t yyscanner );
275 int cmDependsFortran_yyget_leng (yyscan_t yyscanner );
277 char *cmDependsFortran_yyget_text (yyscan_t yyscanner );
279 int cmDependsFortran_yyget_lineno (yyscan_t yyscanner );
281 void cmDependsFortran_yyset_lineno (int line_number ,yyscan_t yyscanner );
283 /* Macros after this point can all be overridden by user definitions in
287 #ifndef YY_SKIP_YYWRAP
289 extern "C" int cmDependsFortran_yywrap (yyscan_t yyscanner );
291 extern int cmDependsFortran_yywrap (yyscan_t yyscanner );
296 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
299 #ifdef YY_NEED_STRLEN
300 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
307 /* Amount of stuff to slurp up with each read. */
308 #ifndef YY_READ_BUF_SIZE
310 /* On IA-64, the buffer size is 16k, not 8k */
311 #define YY_READ_BUF_SIZE 16384
313 #define YY_READ_BUF_SIZE 8192
314 #endif /* __ia64__ */
317 /* Number of entries by which start-condition stack grows. */
318 #ifndef YY_START_STACK_INCR
319 #define YY_START_STACK_INCR 25
322 /* Default declaration of generated scanner - a define so the user can
323 * easily add parameters.
326 #define YY_DECL_IS_OURS 1
328 extern int cmDependsFortran_yylex (yyscan_t yyscanner);
330 #define YY_DECL int cmDependsFortran_yylex (yyscan_t yyscanner)
331 #endif /* !YY_DECL */
333 /* yy_get_previous_state - get the state just before the EOB char was reached */
336 #undef YY_FLUSH_BUFFER
339 #undef yy_set_interactive
340 #undef YY_DO_BEFORE_ACTION
342 #ifdef YY_DECL_IS_OURS
343 #undef YY_DECL_IS_OURS
347 #undef cmDependsFortran_yyIN_HEADER
348 #endif /* cmDependsFortran_yyHEADER_H */