nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #ifndef text_import_HEADER_H
2 #define text_import_HEADER_H 1
3 #define text_import_IN_HEADER 1
4  
5 #line 6 "./text_import_scanner_lex.h"
6 /* Include this before everything else, for various large-file definitions */
7 #include "config.h"
8  
9 #line 10 "./text_import_scanner_lex.h"
10  
11 #define YY_INT_ALIGNED short int
12  
13 /* A lexical scanner generated by flex */
14  
15 #define FLEX_SCANNER
16 #define YY_FLEX_MAJOR_VERSION 2
17 #define YY_FLEX_MINOR_VERSION 6
18 #define YY_FLEX_SUBMINOR_VERSION 0
19 #if YY_FLEX_SUBMINOR_VERSION > 0
20 #define FLEX_BETA
21 #endif
22  
23 /* First, we deal with platform-specific or compiler-specific issues. */
24  
25 /* begin standard C headers. */
26 #include <stdio.h>
27 #include <string.h>
28 #include <errno.h>
29 #include <stdlib.h>
30  
31 /* end standard C headers. */
32  
33 /* flex integer type definitions */
34  
35 #ifndef FLEXINT_H
36 #define FLEXINT_H
37  
38 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
39  
40 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
41  
42 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
43 * if you want the limit (max/min) macros for int types.
44 */
45 #ifndef __STDC_LIMIT_MACROS
46 #define __STDC_LIMIT_MACROS 1
47 #endif
48  
49 #include <inttypes.h>
50 typedef int8_t flex_int8_t;
51 typedef uint8_t flex_uint8_t;
52 typedef int16_t flex_int16_t;
53 typedef uint16_t flex_uint16_t;
54 typedef int32_t flex_int32_t;
55 typedef uint32_t flex_uint32_t;
56 #else
57 typedef signed char flex_int8_t;
58 typedef short int flex_int16_t;
59 typedef int flex_int32_t;
60 typedef unsigned char flex_uint8_t;
61 typedef unsigned short int flex_uint16_t;
62 typedef unsigned int flex_uint32_t;
63  
64 /* Limits of integral types. */
65 #ifndef INT8_MIN
66 #define INT8_MIN (-128)
67 #endif
68 #ifndef INT16_MIN
69 #define INT16_MIN (-32767-1)
70 #endif
71 #ifndef INT32_MIN
72 #define INT32_MIN (-2147483647-1)
73 #endif
74 #ifndef INT8_MAX
75 #define INT8_MAX (127)
76 #endif
77 #ifndef INT16_MAX
78 #define INT16_MAX (32767)
79 #endif
80 #ifndef INT32_MAX
81 #define INT32_MAX (2147483647)
82 #endif
83 #ifndef UINT8_MAX
84 #define UINT8_MAX (255U)
85 #endif
86 #ifndef UINT16_MAX
87 #define UINT16_MAX (65535U)
88 #endif
89 #ifndef UINT32_MAX
90 #define UINT32_MAX (4294967295U)
91 #endif
92  
93 #endif /* ! C99 */
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 /* C99 requires __STDC__ to be defined as 1. */
105 #if defined (__STDC__)
106  
107 #define YY_USE_CONST
108  
109 #endif /* defined (__STDC__) */
110 #endif /* ! __cplusplus */
111  
112 #ifdef YY_USE_CONST
113 #define yyconst const
114 #else
115 #define yyconst
116 #endif
117  
118 /* An opaque pointer. */
119 #ifndef YY_TYPEDEF_YY_SCANNER_T
120 #define YY_TYPEDEF_YY_SCANNER_T
121 typedef void* yyscan_t;
122 #endif
123  
124 /* For convenience, these vars (plus the bison vars far below)
125 are macros in the reentrant scanner. */
126 #define yyin yyg->yyin_r
127 #define yyout yyg->yyout_r
128 #define yyextra yyg->yyextra_r
129 #define yyleng yyg->yyleng_r
130 #define yytext yyg->yytext_r
131 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
132 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
133 #define yy_flex_debug yyg->yy_flex_debug_r
134  
135 /* Size of default input buffer. */
136 #ifndef YY_BUF_SIZE
137 #ifdef __ia64__
138 /* On IA-64, the buffer size is 16k, not 8k.
139 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
140 * Ditto for the __ia64__ case accordingly.
141 */
142 #define YY_BUF_SIZE 32768
143 #else
144 #define YY_BUF_SIZE 16384
145 #endif /* __ia64__ */
146 #endif
147  
148 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
149 #define YY_TYPEDEF_YY_BUFFER_STATE
150 typedef struct yy_buffer_state *YY_BUFFER_STATE;
151 #endif
152  
153 #ifndef YY_TYPEDEF_YY_SIZE_T
154 #define YY_TYPEDEF_YY_SIZE_T
155 typedef size_t yy_size_t;
156 #endif
157  
158 #ifndef YY_STRUCT_YY_BUFFER_STATE
159 #define YY_STRUCT_YY_BUFFER_STATE
160 struct yy_buffer_state
161 {
162 FILE *yy_input_file;
163  
164 char *yy_ch_buf; /* input buffer */
165 char *yy_buf_pos; /* current position in input buffer */
166  
167 /* Size of input buffer in bytes, not including room for EOB
168 * characters.
169 */
170 yy_size_t yy_buf_size;
171  
172 /* Number of characters read into yy_ch_buf, not including EOB
173 * characters.
174 */
175 int yy_n_chars;
176  
177 /* Whether we "own" the buffer - i.e., we know we created it,
178 * and can realloc() it to grow it, and should free() it to
179 * delete it.
180 */
181 int yy_is_our_buffer;
182  
183 /* Whether this is an "interactive" input source; if so, and
184 * if we're using stdio for input, then we want to use getc()
185 * instead of fread(), to make sure we stop fetching input after
186 * each newline.
187 */
188 int yy_is_interactive;
189  
190 /* Whether we're considered to be at the beginning of a line.
191 * If so, '^' rules will be active on the next match, otherwise
192 * not.
193 */
194 int yy_at_bol;
195  
196 int yy_bs_lineno; /**< The line count. */
197 int yy_bs_column; /**< The column count. */
198  
199 /* Whether to try to fill the input buffer when we reach the
200 * end of it.
201 */
202 int yy_fill_buffer;
203  
204 int yy_buffer_status;
205  
206 };
207 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
208  
209 void text_import_restart (FILE *input_file ,yyscan_t yyscanner );
210 void text_import__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
211 YY_BUFFER_STATE text_import__create_buffer (FILE *file,int size ,yyscan_t yyscanner );
212 void text_import__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
213 void text_import__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
214 void text_import_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
215 void text_import_pop_buffer_state (yyscan_t yyscanner );
216  
217 YY_BUFFER_STATE text_import__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
218 YY_BUFFER_STATE text_import__scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
219 YY_BUFFER_STATE text_import__scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
220  
221 void *text_import_alloc (yy_size_t ,yyscan_t yyscanner );
222 void *text_import_realloc (void *,yy_size_t ,yyscan_t yyscanner );
223 void text_import_free (void * ,yyscan_t yyscanner );
224  
225 #define text_import_wrap(yyscanner) (/*CONSTCOND*/1)
226 #define YY_SKIP_YYWRAP
227  
228 #define yytext_ptr yytext_r
229  
230 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
231 #define INITIAL 0
232  
233 #endif
234  
235 #ifndef YY_NO_UNISTD_H
236 /* Special case for "unistd.h", since it is non-ANSI. We include it way
237 * down here because we want the user's section 1 to have been scanned first.
238 * The user has a chance to override it with an option.
239 */
240 #include <unistd.h>
241 #endif
242  
243 #ifndef YY_EXTRA_TYPE
244 #define YY_EXTRA_TYPE void *
245 #endif
246  
247 int text_import_lex_init (yyscan_t* scanner);
248  
249 int text_import_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
250  
251 /* Accessor methods to globals.
252 These are made visible to non-reentrant scanners for convenience. */
253  
254 int text_import_lex_destroy (yyscan_t yyscanner );
255  
256 int text_import_get_debug (yyscan_t yyscanner );
257  
258 void text_import_set_debug (int debug_flag ,yyscan_t yyscanner );
259  
260 YY_EXTRA_TYPE text_import_get_extra (yyscan_t yyscanner );
261  
262 void text_import_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
263  
264 FILE *text_import_get_in (yyscan_t yyscanner );
265  
266 void text_import_set_in (FILE * _in_str ,yyscan_t yyscanner );
267  
268 FILE *text_import_get_out (yyscan_t yyscanner );
269  
270 void text_import_set_out (FILE * _out_str ,yyscan_t yyscanner );
271  
272 yy_size_t text_import_get_leng (yyscan_t yyscanner );
273  
274 char *text_import_get_text (yyscan_t yyscanner );
275  
276 int text_import_get_lineno (yyscan_t yyscanner );
277  
278 void text_import_set_lineno (int _line_number ,yyscan_t yyscanner );
279  
280 int text_import_get_column (yyscan_t yyscanner );
281  
282 void text_import_set_column (int _column_no ,yyscan_t yyscanner );
283  
284 /* Macros after this point can all be overridden by user definitions in
285 * section 1.
286 */
287  
288 #ifndef YY_SKIP_YYWRAP
289 #ifdef __cplusplus
290 extern "C" int text_import_wrap (yyscan_t yyscanner );
291 #else
292 extern int text_import_wrap (yyscan_t yyscanner );
293 #endif
294 #endif
295  
296 #ifndef yytext_ptr
297 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
298 #endif
299  
300 #ifdef YY_NEED_STRLEN
301 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
302 #endif
303  
304 #ifndef YY_NO_INPUT
305  
306 #endif
307  
308 /* Amount of stuff to slurp up with each read. */
309 #ifndef YY_READ_BUF_SIZE
310 #ifdef __ia64__
311 /* On IA-64, the buffer size is 16k, not 8k */
312 #define YY_READ_BUF_SIZE 16384
313 #else
314 #define YY_READ_BUF_SIZE 8192
315 #endif /* __ia64__ */
316 #endif
317  
318 /* Number of entries by which start-condition stack grows. */
319 #ifndef YY_START_STACK_INCR
320 #define YY_START_STACK_INCR 25
321 #endif
322  
323 /* Default declaration of generated scanner - a define so the user can
324 * easily add parameters.
325 */
326 #ifndef YY_DECL
327 #define YY_DECL_IS_OURS 1
328  
329 extern int text_import_lex (yyscan_t yyscanner);
330  
331 #define YY_DECL int text_import_lex (yyscan_t yyscanner)
332 #endif /* !YY_DECL */
333  
334 /* yy_get_previous_state - get the state just before the EOB char was reached */
335  
336 #undef YY_NEW_FILE
337 #undef YY_FLUSH_BUFFER
338 #undef yy_set_bol
339 #undef yy_new_buffer
340 #undef yy_set_interactive
341 #undef YY_DO_BEFORE_ACTION
342  
343 #ifdef YY_DECL_IS_OURS
344 #undef YY_DECL_IS_OURS
345 #undef YY_DECL
346 #endif
347  
348 #line 137 "text_import_scanner.l"
349  
350 #line 351 "./text_import_scanner_lex.h"
351 #undef text_import_IN_HEADER
352 #endif /* text_import_HEADER_H */