Fix the changelog wikifier script to properly handle multi-line entries
[amule.git] / src / Scanner.h
blob3c36c214618940d50681c3f6597927b95b8029e6
1 #ifndef yyHEADER_H
2 #define yyHEADER_H 1
3 #define yyIN_HEADER 1
5 #line 6 "./Scanner.h"
7 #line 8 "./Scanner.h"
9 #define YY_INT_ALIGNED short int
11 /* A lexical scanner generated by flex */
13 #define FLEX_SCANNER
14 #define YY_FLEX_MAJOR_VERSION 2
15 #define YY_FLEX_MINOR_VERSION 5
16 #define YY_FLEX_SUBMINOR_VERSION 35
17 #if YY_FLEX_SUBMINOR_VERSION > 0
18 #define FLEX_BETA
19 #endif
21 /* First, we deal with platform-specific or compiler-specific issues. */
23 /* begin standard C headers. */
24 #include <stdio.h>
25 #include <string.h>
26 #include <errno.h>
27 #include <stdlib.h>
29 /* end standard C headers. */
31 /* flex integer type definitions */
33 #ifndef FLEXINT_H
34 #define FLEXINT_H
36 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
38 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
40 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
41 * if you want the limit (max/min) macros for int types.
43 #ifndef __STDC_LIMIT_MACROS
44 #define __STDC_LIMIT_MACROS 1
45 #endif
47 #include <inttypes.h>
48 typedef int8_t flex_int8_t;
49 typedef uint8_t flex_uint8_t;
50 typedef int16_t flex_int16_t;
51 typedef uint16_t flex_uint16_t;
52 typedef int32_t flex_int32_t;
53 typedef uint32_t flex_uint32_t;
54 #else
55 typedef signed char flex_int8_t;
56 typedef short int flex_int16_t;
57 typedef int flex_int32_t;
58 typedef unsigned char flex_uint8_t;
59 typedef unsigned short int flex_uint16_t;
60 typedef unsigned int flex_uint32_t;
61 #endif /* ! C99 */
63 /* Limits of integral types. */
64 #ifndef INT8_MIN
65 #define INT8_MIN (-128)
66 #endif
67 #ifndef INT16_MIN
68 #define INT16_MIN (-32767-1)
69 #endif
70 #ifndef INT32_MIN
71 #define INT32_MIN (-2147483647-1)
72 #endif
73 #ifndef INT8_MAX
74 #define INT8_MAX (127)
75 #endif
76 #ifndef INT16_MAX
77 #define INT16_MAX (32767)
78 #endif
79 #ifndef INT32_MAX
80 #define INT32_MAX (2147483647)
81 #endif
82 #ifndef UINT8_MAX
83 #define UINT8_MAX (255U)
84 #endif
85 #ifndef UINT16_MAX
86 #define UINT16_MAX (65535U)
87 #endif
88 #ifndef UINT32_MAX
89 #define UINT32_MAX (4294967295U)
90 #endif
92 #endif /* ! FLEXINT_H */
94 #ifdef __cplusplus
96 /* The "const" storage-class-modifier is valid. */
97 #define YY_USE_CONST
99 #else /* ! __cplusplus */
101 /* C99 requires __STDC__ to be defined as 1. */
102 #if defined (__STDC__)
104 #define YY_USE_CONST
106 #endif /* defined (__STDC__) */
107 #endif /* ! __cplusplus */
109 #ifdef YY_USE_CONST
110 #define yyconst const
111 #else
112 #define yyconst
113 #endif
115 /* Size of default input buffer. */
116 #ifndef YY_BUF_SIZE
117 #define YY_BUF_SIZE 16384
118 #endif
120 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
121 #define YY_TYPEDEF_YY_BUFFER_STATE
122 typedef struct yy_buffer_state *YY_BUFFER_STATE;
123 #endif
125 extern int yyleng;
127 extern FILE *yyin, *yyout;
129 #ifndef YY_TYPEDEF_YY_SIZE_T
130 #define YY_TYPEDEF_YY_SIZE_T
131 typedef size_t yy_size_t;
132 #endif
134 #ifndef YY_STRUCT_YY_BUFFER_STATE
135 #define YY_STRUCT_YY_BUFFER_STATE
136 struct yy_buffer_state
138 FILE *yy_input_file;
140 char *yy_ch_buf; /* input buffer */
141 char *yy_buf_pos; /* current position in input buffer */
143 /* Size of input buffer in bytes, not including room for EOB
144 * characters.
146 yy_size_t yy_buf_size;
148 /* Number of characters read into yy_ch_buf, not including EOB
149 * characters.
151 int yy_n_chars;
153 /* Whether we "own" the buffer - i.e., we know we created it,
154 * and can realloc() it to grow it, and should free() it to
155 * delete it.
157 int yy_is_our_buffer;
159 /* Whether this is an "interactive" input source; if so, and
160 * if we're using stdio for input, then we want to use getc()
161 * instead of fread(), to make sure we stop fetching input after
162 * each newline.
164 int yy_is_interactive;
166 /* Whether we're considered to be at the beginning of a line.
167 * If so, '^' rules will be active on the next match, otherwise
168 * not.
170 int yy_at_bol;
172 int yy_bs_lineno; /**< The line count. */
173 int yy_bs_column; /**< The column count. */
175 /* Whether to try to fill the input buffer when we reach the
176 * end of it.
178 int yy_fill_buffer;
180 int yy_buffer_status;
183 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
185 void yyrestart (FILE *input_file );
186 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
187 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
188 void yy_delete_buffer (YY_BUFFER_STATE b );
189 void yy_flush_buffer (YY_BUFFER_STATE b );
190 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
191 void yypop_buffer_state (void );
193 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
194 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
195 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
197 void *yyalloc (yy_size_t );
198 void *yyrealloc (void *,yy_size_t );
199 void yyfree (void * );
201 /* Begin user sect3 */
203 #define yywrap(n) 1
204 #define YY_SKIP_YYWRAP
206 extern int yylineno;
208 extern char *yytext;
209 #define yytext_ptr yytext
211 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
212 #define INITIAL 0
214 #endif
216 #ifndef YY_NO_UNISTD_H
217 /* Special case for "unistd.h", since it is non-ANSI. We include it way
218 * down here because we want the user's section 1 to have been scanned first.
219 * The user has a chance to override it with an option.
221 #include <unistd.h>
222 #endif
224 #ifndef YY_EXTRA_TYPE
225 #define YY_EXTRA_TYPE void *
226 #endif
228 /* Accessor methods to globals.
229 These are made visible to non-reentrant scanners for convenience. */
231 int yylex_destroy (void );
233 int yyget_debug (void );
235 void yyset_debug (int debug_flag );
237 YY_EXTRA_TYPE yyget_extra (void );
239 void yyset_extra (YY_EXTRA_TYPE user_defined );
241 FILE *yyget_in (void );
243 void yyset_in (FILE * in_str );
245 FILE *yyget_out (void );
247 void yyset_out (FILE * out_str );
249 int yyget_leng (void );
251 char *yyget_text (void );
253 int yyget_lineno (void );
255 void yyset_lineno (int line_number );
257 /* Macros after this point can all be overridden by user definitions in
258 * section 1.
261 #ifndef YY_SKIP_YYWRAP
262 #ifdef __cplusplus
263 extern "C" int yywrap (void );
264 #else
265 extern int yywrap (void );
266 #endif
267 #endif
269 #ifndef yytext_ptr
270 static void yy_flex_strncpy (char *,yyconst char *,int );
271 #endif
273 #ifdef YY_NEED_STRLEN
274 static int yy_flex_strlen (yyconst char * );
275 #endif
277 #ifndef YY_NO_INPUT
279 #endif
281 /* Amount of stuff to slurp up with each read. */
282 #ifndef YY_READ_BUF_SIZE
283 #define YY_READ_BUF_SIZE 8192
284 #endif
286 /* Number of entries by which start-condition stack grows. */
287 #ifndef YY_START_STACK_INCR
288 #define YY_START_STACK_INCR 25
289 #endif
291 /* Default declaration of generated scanner - a define so the user can
292 * easily add parameters.
294 #ifndef YY_DECL
295 #define YY_DECL_IS_OURS 1
297 extern int yylex (void);
299 #define YY_DECL int yylex (void)
300 #endif /* !YY_DECL */
302 /* yy_get_previous_state - get the state just before the EOB char was reached */
304 #undef YY_NEW_FILE
305 #undef YY_FLUSH_BUFFER
306 #undef yy_set_bol
307 #undef yy_new_buffer
308 #undef yy_set_interactive
309 #undef YY_DO_BEFORE_ACTION
311 #ifdef YY_DECL_IS_OURS
312 #undef YY_DECL_IS_OURS
313 #undef YY_DECL
314 #endif
316 #line 164 "./Scanner.l"
319 #line 320 "./Scanner.h"
320 #undef yyIN_HEADER
321 #endif /* yyHEADER_H */