Imported Upstream version 2.8.12.2
[platform/upstream/cmake.git] / Source / cmDependsJavaLexer.h
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
4
5   Distributed under the OSI-approved BSD License (the "License");
6   see accompanying file Copyright.txt for details.
7
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
15
16 #define  YY_INT_ALIGNED short int
17
18 /* A lexical scanner generated by flex */
19
20 #define FLEX_SCANNER
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
25 #define FLEX_BETA
26 #endif
27
28 /* First, we deal with  platform-specific or compiler-specific issues. */
29
30 /* begin standard C headers. */
31 #include <stdio.h>
32 #include <string.h>
33 #include <errno.h>
34 #include <stdlib.h>
35
36 #if defined(__BEOS__) || defined(__HAIKU__)
37 #include <unistd.h>   /* prevents a conflict with a #define later on... */
38 #endif
39
40 /* end standard C headers. */
41
42 /* flex integer type definitions */
43
44 #ifndef FLEXINT_H
45 #define FLEXINT_H
46
47 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
48
49 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
50 #include <inttypes.h>
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;
57 #else
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;
64 #endif /* ! C99 */
65
66 /* Limits of integral types. */
67 #ifndef INT8_MIN
68 #define INT8_MIN               (-128)
69 #endif
70 #ifndef INT16_MIN
71 #define INT16_MIN              (-32767-1)
72 #endif
73 #ifndef INT32_MIN
74 #define INT32_MIN              (-2147483647-1)
75 #endif
76 #ifndef INT8_MAX
77 #define INT8_MAX               (127)
78 #endif
79 #ifndef INT16_MAX
80 #define INT16_MAX              (32767)
81 #endif
82 #ifndef INT32_MAX
83 #define INT32_MAX              (2147483647)
84 #endif
85 #ifndef UINT8_MAX
86 #define UINT8_MAX              (255U)
87 #endif
88 #ifndef UINT16_MAX
89 #define UINT16_MAX             (65535U)
90 #endif
91 #ifndef UINT32_MAX
92 #define UINT32_MAX             (4294967295U)
93 #endif
94
95 #endif /* ! FLEXINT_H */
96
97 #ifdef __cplusplus
98
99 /* The "const" storage-class-modifier is valid. */
100 #define YY_USE_CONST
101
102 #else  /* ! __cplusplus */
103
104 #if __STDC__
105
106 #define YY_USE_CONST
107
108 #endif  /* __STDC__ */
109 #endif  /* ! __cplusplus */
110
111 #ifdef YY_USE_CONST
112 #define yyconst const
113 #else
114 #define yyconst
115 #endif
116
117 /* An opaque pointer. */
118 #ifndef YY_TYPEDEF_YY_SCANNER_T
119 #define YY_TYPEDEF_YY_SCANNER_T
120 typedef void* yyscan_t;
121 #endif
122
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
133
134 int cmDependsJava_yylex_init (yyscan_t* scanner);
135
136 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
137 #define YY_TYPEDEF_YY_BUFFER_STATE
138 typedef struct yy_buffer_state *YY_BUFFER_STATE;
139 #endif
140
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).
144  */
145
146 #ifndef YY_TYPEDEF_YY_SIZE_T
147 #define YY_TYPEDEF_YY_SIZE_T
148 typedef unsigned int yy_size_t;
149 #endif
150
151 #ifndef YY_STRUCT_YY_BUFFER_STATE
152 #define YY_STRUCT_YY_BUFFER_STATE
153 struct yy_buffer_state
154   {
155   FILE *yy_input_file;
156
157   char *yy_ch_buf;    /* input buffer */
158   char *yy_buf_pos;    /* current position in input buffer */
159
160   /* Size of input buffer in bytes, not including room for EOB
161    * characters.
162    */
163   yy_size_t yy_buf_size;
164
165   /* Number of characters read into yy_ch_buf, not including EOB
166    * characters.
167    */
168   int yy_n_chars;
169
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
172    * delete it.
173    */
174   int yy_is_our_buffer;
175
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
179    * each newline.
180    */
181   int yy_is_interactive;
182
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
185    * not.
186    */
187   int yy_at_bol;
188
189     int yy_bs_lineno; /**< The line count. */
190     int yy_bs_column; /**< The column count. */
191
192   /* Whether to try to fill the input buffer when we reach the
193    * end of it.
194    */
195   int yy_fill_buffer;
196
197   int yy_buffer_status;
198
199   };
200 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
201
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 );
212
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 );
219
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 );
223
224 /* Begin user sect3 */
225
226 #define cmDependsJava_yywrap(n) 1
227 #define YY_SKIP_YYWRAP
228
229 #define yytext_ptr yytext_r
230
231 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
232 #define INITIAL 0
233 #define comment 1
234 #define string 2
235
236 #endif
237
238 #ifndef YY_EXTRA_TYPE
239 #define YY_EXTRA_TYPE void *
240 #endif
241
242 /* Accessor methods to globals.
243    These are made visible to non-reentrant scanners for convenience. */
244
245 int cmDependsJava_yylex_destroy (yyscan_t yyscanner );
246
247 int cmDependsJava_yyget_debug (yyscan_t yyscanner );
248
249 void cmDependsJava_yyset_debug (int debug_flag ,yyscan_t yyscanner );
250
251 YY_EXTRA_TYPE cmDependsJava_yyget_extra (yyscan_t yyscanner );
252
253 void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined ,
254                                 yyscan_t yyscanner );
255
256 FILE *cmDependsJava_yyget_in (yyscan_t yyscanner );
257
258 void cmDependsJava_yyset_in  (FILE * in_str ,yyscan_t yyscanner );
259
260 FILE *cmDependsJava_yyget_out (yyscan_t yyscanner );
261
262 void cmDependsJava_yyset_out  (FILE * out_str ,yyscan_t yyscanner );
263
264 int cmDependsJava_yyget_leng (yyscan_t yyscanner );
265
266 char *cmDependsJava_yyget_text (yyscan_t yyscanner );
267
268 int cmDependsJava_yyget_lineno (yyscan_t yyscanner );
269
270 void cmDependsJava_yyset_lineno (int line_number ,yyscan_t yyscanner );
271
272 /* Macros after this point can all be overridden by user definitions in
273  * section 1.
274  */
275
276 #ifndef YY_SKIP_YYWRAP
277 #ifdef __cplusplus
278 extern "C" int cmDependsJava_yywrap (yyscan_t yyscanner );
279 #else
280 extern int cmDependsJava_yywrap (yyscan_t yyscanner );
281 #endif
282 #endif
283
284 #ifndef yytext_ptr
285 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
286 #endif
287
288 #ifdef YY_NEED_STRLEN
289 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
290 #endif
291
292 #ifndef YY_NO_INPUT
293
294 #endif
295
296 /* Amount of stuff to slurp up with each read. */
297 #ifndef YY_READ_BUF_SIZE
298 #define YY_READ_BUF_SIZE 8192
299 #endif
300
301 /* Number of entries by which start-condition stack grows. */
302 #ifndef YY_START_STACK_INCR
303 #define YY_START_STACK_INCR 25
304 #endif
305
306 /* Default declaration of generated scanner - a define so the user can
307  * easily add parameters.
308  */
309 #ifndef YY_DECL
310 #define YY_DECL_IS_OURS 1
311
312 extern int cmDependsJava_yylex (yyscan_t yyscanner);
313
314 #define YY_DECL int cmDependsJava_yylex (yyscan_t yyscanner)
315 #endif /* !YY_DECL */
316
317 /* yy_get_previous_state - get the state just before the
318    EOB char was reached */
319
320 #undef YY_NEW_FILE
321 #undef YY_FLUSH_BUFFER
322 #undef yy_set_bol
323 #undef yy_new_buffer
324 #undef yy_set_interactive
325 #undef yytext_ptr
326 #undef YY_DO_BEFORE_ACTION
327
328 #ifdef YY_DECL_IS_OURS
329 #undef YY_DECL_IS_OURS
330 #undef YY_DECL
331 #endif
332
333 #undef cmDependsJava_yyIN_HEADER
334 #endif /* cmDependsJava_yyHEADER_H */