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 cmDependsJava_yyHEADER_H
13 #define cmDependsJava_yyHEADER_H 1
14 #define cmDependsJava_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 31
24 #if YY_FLEX_SUBMINOR_VERSION > 0
28 /* First, we deal with platform-specific or compiler-specific issues. */
30 /* begin standard C headers. */
36 #if defined(__BEOS__) || defined(__HAIKU__)
37 #include <unistd.h> /* prevents a conflict with a #define later on... */
40 /* end standard C headers. */
42 /* flex integer type definitions */
47 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
49 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
51 typedef int8_t flex_int8_t;
52 typedef uint8_t flex_uint8_t;
53 typedef int16_t flex_int16_t;
54 typedef uint16_t flex_uint16_t;
55 typedef int32_t flex_int32_t;
56 typedef uint32_t flex_uint32_t;
58 typedef signed char flex_int8_t;
59 typedef short int flex_int16_t;
60 typedef int flex_int32_t;
61 typedef unsigned char flex_uint8_t;
62 typedef unsigned short int flex_uint16_t;
63 typedef unsigned int flex_uint32_t;
66 /* Limits of integral types. */
68 #define INT8_MIN (-128)
71 #define INT16_MIN (-32767-1)
74 #define INT32_MIN (-2147483647-1)
77 #define INT8_MAX (127)
80 #define INT16_MAX (32767)
83 #define INT32_MAX (2147483647)
86 #define UINT8_MAX (255U)
89 #define UINT16_MAX (65535U)
92 #define UINT32_MAX (4294967295U)
95 #endif /* ! FLEXINT_H */
99 /* The "const" storage-class-modifier is valid. */
102 #else /* ! __cplusplus */
108 #endif /* __STDC__ */
109 #endif /* ! __cplusplus */
112 #define yyconst const
117 /* An opaque pointer. */
118 #ifndef YY_TYPEDEF_YY_SCANNER_T
119 #define YY_TYPEDEF_YY_SCANNER_T
120 typedef void* yyscan_t;
123 /* For convenience, these vars (plus the bison vars far below)
124 are macros in the reentrant scanner. */
125 #define yyin yyg->yyin_r
126 #define yyout yyg->yyout_r
127 #define yyextra yyg->yyextra_r
128 #define yyleng yyg->yyleng_r
129 #define yytext yyg->yytext_r
130 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
131 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
132 #define yy_flex_debug yyg->yy_flex_debug_r
134 int cmDependsJava_yylex_init (yyscan_t* scanner);
136 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
137 #define YY_TYPEDEF_YY_BUFFER_STATE
138 typedef struct yy_buffer_state *YY_BUFFER_STATE;
141 /* The following is because we cannot portably get our hands on size_t
142 * (without autoconf's help, which isn't available because we want
143 * flex-generated scanners to compile on their own).
146 #ifndef YY_TYPEDEF_YY_SIZE_T
147 #define YY_TYPEDEF_YY_SIZE_T
148 typedef unsigned int yy_size_t;
151 #ifndef YY_STRUCT_YY_BUFFER_STATE
152 #define YY_STRUCT_YY_BUFFER_STATE
153 struct yy_buffer_state
157 char *yy_ch_buf; /* input buffer */
158 char *yy_buf_pos; /* current position in input buffer */
160 /* Size of input buffer in bytes, not including room for EOB
163 yy_size_t yy_buf_size;
165 /* Number of characters read into yy_ch_buf, not including EOB
170 /* Whether we "own" the buffer - i.e., we know we created it,
171 * and can realloc() it to grow it, and should free() it to
174 int yy_is_our_buffer;
176 /* Whether this is an "interactive" input source; if so, and
177 * if we're using stdio for input, then we want to use getc()
178 * instead of fread(), to make sure we stop fetching input after
181 int yy_is_interactive;
183 /* Whether we're considered to be at the beginning of a line.
184 * If so, '^' rules will be active on the next match, otherwise
189 int yy_bs_lineno; /**< The line count. */
190 int yy_bs_column; /**< The column count. */
192 /* Whether to try to fill the input buffer when we reach the
197 int yy_buffer_status;
200 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
202 void cmDependsJava_yyrestart (FILE *input_file ,yyscan_t yyscanner );
203 void cmDependsJava_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,
204 yyscan_t yyscanner );
205 YY_BUFFER_STATE cmDependsJava_yy_create_buffer (FILE *file,int size ,
206 yyscan_t yyscanner );
207 void cmDependsJava_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
208 void cmDependsJava_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
209 void cmDependsJava_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,
210 yyscan_t yyscanner );
211 void cmDependsJava_yypop_buffer_state (yyscan_t yyscanner );
213 YY_BUFFER_STATE cmDependsJava_yy_scan_buffer (char *base,yy_size_t size ,
214 yyscan_t yyscanner );
215 YY_BUFFER_STATE cmDependsJava_yy_scan_string (yyconst char *yy_str ,
216 yyscan_t yyscanner );
217 YY_BUFFER_STATE cmDependsJava_yy_scan_bytes (yyconst char *bytes,int len ,
218 yyscan_t yyscanner );
220 void *cmDependsJava_yyalloc (yy_size_t ,yyscan_t yyscanner );
221 void *cmDependsJava_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
222 void cmDependsJava_yyfree (void * ,yyscan_t yyscanner );
224 /* Begin user sect3 */
226 #define cmDependsJava_yywrap(n) 1
227 #define YY_SKIP_YYWRAP
229 #define yytext_ptr yytext_r
231 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
238 #ifndef YY_EXTRA_TYPE
239 #define YY_EXTRA_TYPE void *
242 /* Accessor methods to globals.
243 These are made visible to non-reentrant scanners for convenience. */
245 int cmDependsJava_yylex_destroy (yyscan_t yyscanner );
247 int cmDependsJava_yyget_debug (yyscan_t yyscanner );
249 void cmDependsJava_yyset_debug (int debug_flag ,yyscan_t yyscanner );
251 YY_EXTRA_TYPE cmDependsJava_yyget_extra (yyscan_t yyscanner );
253 void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined ,
254 yyscan_t yyscanner );
256 FILE *cmDependsJava_yyget_in (yyscan_t yyscanner );
258 void cmDependsJava_yyset_in (FILE * in_str ,yyscan_t yyscanner );
260 FILE *cmDependsJava_yyget_out (yyscan_t yyscanner );
262 void cmDependsJava_yyset_out (FILE * out_str ,yyscan_t yyscanner );
264 int cmDependsJava_yyget_leng (yyscan_t yyscanner );
266 char *cmDependsJava_yyget_text (yyscan_t yyscanner );
268 int cmDependsJava_yyget_lineno (yyscan_t yyscanner );
270 void cmDependsJava_yyset_lineno (int line_number ,yyscan_t yyscanner );
272 /* Macros after this point can all be overridden by user definitions in
276 #ifndef YY_SKIP_YYWRAP
278 extern "C" int cmDependsJava_yywrap (yyscan_t yyscanner );
280 extern int cmDependsJava_yywrap (yyscan_t yyscanner );
285 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
288 #ifdef YY_NEED_STRLEN
289 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
296 /* Amount of stuff to slurp up with each read. */
297 #ifndef YY_READ_BUF_SIZE
298 #define YY_READ_BUF_SIZE 8192
301 /* Number of entries by which start-condition stack grows. */
302 #ifndef YY_START_STACK_INCR
303 #define YY_START_STACK_INCR 25
306 /* Default declaration of generated scanner - a define so the user can
307 * easily add parameters.
310 #define YY_DECL_IS_OURS 1
312 extern int cmDependsJava_yylex (yyscan_t yyscanner);
314 #define YY_DECL int cmDependsJava_yylex (yyscan_t yyscanner)
315 #endif /* !YY_DECL */
317 /* yy_get_previous_state - get the state just before the
318 EOB char was reached */
321 #undef YY_FLUSH_BUFFER
324 #undef yy_set_interactive
326 #undef YY_DO_BEFORE_ACTION
328 #ifdef YY_DECL_IS_OURS
329 #undef YY_DECL_IS_OURS
333 #undef cmDependsJava_yyIN_HEADER
334 #endif /* cmDependsJava_yyHEADER_H */