BUG: fix some bad changes in progress calc
[cmake.git] / Source / cmDependsJavaLexer.h
blob45939cb80e1a020cba522a598af94fea45bf676b
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmDependsJavaLexer.h,v $
5 Language: C++
6 Date: $Date: 2007-07-27 14:55:24 $
7 Version: $Revision: 1.5 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef cmDependsJava_yyHEADER_H
18 #define cmDependsJava_yyHEADER_H 1
19 #define cmDependsJava_yyIN_HEADER 1
21 #define YY_INT_ALIGNED short int
23 /* A lexical scanner generated by flex */
25 #define FLEX_SCANNER
26 #define YY_FLEX_MAJOR_VERSION 2
27 #define YY_FLEX_MINOR_VERSION 5
28 #define YY_FLEX_SUBMINOR_VERSION 31
29 #if YY_FLEX_SUBMINOR_VERSION > 0
30 #define FLEX_BETA
31 #endif
33 /* First, we deal with platform-specific or compiler-specific issues. */
35 /* begin standard C headers. */
36 #include <stdio.h>
37 #include <string.h>
38 #include <errno.h>
39 #include <stdlib.h>
41 #if defined(__BEOS__)
42 #include <unistd.h> /* prevents a conflict with a #define later on... */
43 #endif
45 /* end standard C headers. */
47 /* flex integer type definitions */
49 #ifndef FLEXINT_H
50 #define FLEXINT_H
52 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
54 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
55 #include <inttypes.h>
56 typedef int8_t flex_int8_t;
57 typedef uint8_t flex_uint8_t;
58 typedef int16_t flex_int16_t;
59 typedef uint16_t flex_uint16_t;
60 typedef int32_t flex_int32_t;
61 typedef uint32_t flex_uint32_t;
62 #else
63 typedef signed char flex_int8_t;
64 typedef short int flex_int16_t;
65 typedef int flex_int32_t;
66 typedef unsigned char flex_uint8_t;
67 typedef unsigned short int flex_uint16_t;
68 typedef unsigned int flex_uint32_t;
69 #endif /* ! C99 */
71 /* Limits of integral types. */
72 #ifndef INT8_MIN
73 #define INT8_MIN (-128)
74 #endif
75 #ifndef INT16_MIN
76 #define INT16_MIN (-32767-1)
77 #endif
78 #ifndef INT32_MIN
79 #define INT32_MIN (-2147483647-1)
80 #endif
81 #ifndef INT8_MAX
82 #define INT8_MAX (127)
83 #endif
84 #ifndef INT16_MAX
85 #define INT16_MAX (32767)
86 #endif
87 #ifndef INT32_MAX
88 #define INT32_MAX (2147483647)
89 #endif
90 #ifndef UINT8_MAX
91 #define UINT8_MAX (255U)
92 #endif
93 #ifndef UINT16_MAX
94 #define UINT16_MAX (65535U)
95 #endif
96 #ifndef UINT32_MAX
97 #define UINT32_MAX (4294967295U)
98 #endif
100 #endif /* ! FLEXINT_H */
102 #ifdef __cplusplus
104 /* The "const" storage-class-modifier is valid. */
105 #define YY_USE_CONST
107 #else /* ! __cplusplus */
109 #if __STDC__
111 #define YY_USE_CONST
113 #endif /* __STDC__ */
114 #endif /* ! __cplusplus */
116 #ifdef YY_USE_CONST
117 #define yyconst const
118 #else
119 #define yyconst
120 #endif
122 /* An opaque pointer. */
123 #ifndef YY_TYPEDEF_YY_SCANNER_T
124 #define YY_TYPEDEF_YY_SCANNER_T
125 typedef void* yyscan_t;
126 #endif
128 /* For convenience, these vars (plus the bison vars far below)
129 are macros in the reentrant scanner. */
130 #define yyin yyg->yyin_r
131 #define yyout yyg->yyout_r
132 #define yyextra yyg->yyextra_r
133 #define yyleng yyg->yyleng_r
134 #define yytext yyg->yytext_r
135 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
136 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
137 #define yy_flex_debug yyg->yy_flex_debug_r
139 int cmDependsJava_yylex_init (yyscan_t* scanner);
141 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
142 #define YY_TYPEDEF_YY_BUFFER_STATE
143 typedef struct yy_buffer_state *YY_BUFFER_STATE;
144 #endif
146 /* The following is because we cannot portably get our hands on size_t
147 * (without autoconf's help, which isn't available because we want
148 * flex-generated scanners to compile on their own).
151 #ifndef YY_TYPEDEF_YY_SIZE_T
152 #define YY_TYPEDEF_YY_SIZE_T
153 typedef unsigned int yy_size_t;
154 #endif
156 #ifndef YY_STRUCT_YY_BUFFER_STATE
157 #define YY_STRUCT_YY_BUFFER_STATE
158 struct yy_buffer_state
160 FILE *yy_input_file;
162 char *yy_ch_buf; /* input buffer */
163 char *yy_buf_pos; /* current position in input buffer */
165 /* Size of input buffer in bytes, not including room for EOB
166 * characters.
168 yy_size_t yy_buf_size;
170 /* Number of characters read into yy_ch_buf, not including EOB
171 * characters.
173 int yy_n_chars;
175 /* Whether we "own" the buffer - i.e., we know we created it,
176 * and can realloc() it to grow it, and should free() it to
177 * delete it.
179 int yy_is_our_buffer;
181 /* Whether this is an "interactive" input source; if so, and
182 * if we're using stdio for input, then we want to use getc()
183 * instead of fread(), to make sure we stop fetching input after
184 * each newline.
186 int yy_is_interactive;
188 /* Whether we're considered to be at the beginning of a line.
189 * If so, '^' rules will be active on the next match, otherwise
190 * not.
192 int yy_at_bol;
194 int yy_bs_lineno; /**< The line count. */
195 int yy_bs_column; /**< The column count. */
197 /* Whether to try to fill the input buffer when we reach the
198 * end of it.
200 int yy_fill_buffer;
202 int yy_buffer_status;
205 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
207 void cmDependsJava_yyrestart (FILE *input_file ,yyscan_t yyscanner );
208 void cmDependsJava_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,
209 yyscan_t yyscanner );
210 YY_BUFFER_STATE cmDependsJava_yy_create_buffer (FILE *file,int size ,
211 yyscan_t yyscanner );
212 void cmDependsJava_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
213 void cmDependsJava_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
214 void cmDependsJava_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,
215 yyscan_t yyscanner );
216 void cmDependsJava_yypop_buffer_state (yyscan_t yyscanner );
218 YY_BUFFER_STATE cmDependsJava_yy_scan_buffer (char *base,yy_size_t size ,
219 yyscan_t yyscanner );
220 YY_BUFFER_STATE cmDependsJava_yy_scan_string (yyconst char *yy_str ,
221 yyscan_t yyscanner );
222 YY_BUFFER_STATE cmDependsJava_yy_scan_bytes (yyconst char *bytes,int len ,
223 yyscan_t yyscanner );
225 void *cmDependsJava_yyalloc (yy_size_t ,yyscan_t yyscanner );
226 void *cmDependsJava_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
227 void cmDependsJava_yyfree (void * ,yyscan_t yyscanner );
229 /* Begin user sect3 */
231 #define cmDependsJava_yywrap(n) 1
232 #define YY_SKIP_YYWRAP
234 #define yytext_ptr yytext_r
236 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
237 #define INITIAL 0
238 #define comment 1
239 #define string 2
241 #endif
243 #ifndef YY_EXTRA_TYPE
244 #define YY_EXTRA_TYPE void *
245 #endif
247 /* Accessor methods to globals.
248 These are made visible to non-reentrant scanners for convenience. */
250 int cmDependsJava_yylex_destroy (yyscan_t yyscanner );
252 int cmDependsJava_yyget_debug (yyscan_t yyscanner );
254 void cmDependsJava_yyset_debug (int debug_flag ,yyscan_t yyscanner );
256 YY_EXTRA_TYPE cmDependsJava_yyget_extra (yyscan_t yyscanner );
258 void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined ,
259 yyscan_t yyscanner );
261 FILE *cmDependsJava_yyget_in (yyscan_t yyscanner );
263 void cmDependsJava_yyset_in (FILE * in_str ,yyscan_t yyscanner );
265 FILE *cmDependsJava_yyget_out (yyscan_t yyscanner );
267 void cmDependsJava_yyset_out (FILE * out_str ,yyscan_t yyscanner );
269 int cmDependsJava_yyget_leng (yyscan_t yyscanner );
271 char *cmDependsJava_yyget_text (yyscan_t yyscanner );
273 int cmDependsJava_yyget_lineno (yyscan_t yyscanner );
275 void cmDependsJava_yyset_lineno (int line_number ,yyscan_t yyscanner );
277 /* Macros after this point can all be overridden by user definitions in
278 * section 1.
281 #ifndef YY_SKIP_YYWRAP
282 #ifdef __cplusplus
283 extern "C" int cmDependsJava_yywrap (yyscan_t yyscanner );
284 #else
285 extern int cmDependsJava_yywrap (yyscan_t yyscanner );
286 #endif
287 #endif
289 #ifndef yytext_ptr
290 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
291 #endif
293 #ifdef YY_NEED_STRLEN
294 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
295 #endif
297 #ifndef YY_NO_INPUT
299 #endif
301 /* Amount of stuff to slurp up with each read. */
302 #ifndef YY_READ_BUF_SIZE
303 #define YY_READ_BUF_SIZE 8192
304 #endif
306 /* Number of entries by which start-condition stack grows. */
307 #ifndef YY_START_STACK_INCR
308 #define YY_START_STACK_INCR 25
309 #endif
311 /* Default declaration of generated scanner - a define so the user can
312 * easily add parameters.
314 #ifndef YY_DECL
315 #define YY_DECL_IS_OURS 1
317 extern int cmDependsJava_yylex (yyscan_t yyscanner);
319 #define YY_DECL int cmDependsJava_yylex (yyscan_t yyscanner)
320 #endif /* !YY_DECL */
322 /* yy_get_previous_state - get the state just before the
323 EOB char was reached */
325 #undef YY_NEW_FILE
326 #undef YY_FLUSH_BUFFER
327 #undef yy_set_bol
328 #undef yy_new_buffer
329 #undef yy_set_interactive
330 #undef yytext_ptr
331 #undef YY_DO_BEFORE_ACTION
333 #ifdef YY_DECL_IS_OURS
334 #undef YY_DECL_IS_OURS
335 #undef YY_DECL
336 #endif
338 #undef cmDependsJava_yyIN_HEADER
339 #endif /* cmDependsJava_yyHEADER_H */