1 #ifndef yyfmi1HEADER_H
\r
2 #define yyfmi1HEADER_H 1
\r
3 #define yyfmi1IN_HEADER 1
\r
5 #line 6 "C:/Users/victor.johnsson/Documents/Projects/FMIL/trunk/src/XML//src-gen/FMI1/fmi1_xml_variable_name_lex.h"
\r
7 #define YY_INT_ALIGNED short int
\r
9 /* A lexical scanner generated by flex */
\r
11 #define FLEX_SCANNER
\r
12 #define YY_FLEX_MAJOR_VERSION 2
\r
13 #define YY_FLEX_MINOR_VERSION 5
\r
14 #define YY_FLEX_SUBMINOR_VERSION 37
\r
15 #if YY_FLEX_SUBMINOR_VERSION > 0
\r
19 /* First, we deal with platform-specific or compiler-specific issues. */
\r
21 /* begin standard C headers. */
\r
27 /* end standard C headers. */
\r
29 /* flex integer type definitions */
\r
34 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
\r
36 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
\r
38 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
\r
39 * if you want the limit (max/min) macros for int types.
\r
41 #ifndef __STDC_LIMIT_MACROS
\r
42 #define __STDC_LIMIT_MACROS 1
\r
45 #include <inttypes.h>
\r
46 typedef int8_t flex_int8_t;
\r
47 typedef uint8_t flex_uint8_t;
\r
48 typedef int16_t flex_int16_t;
\r
49 typedef uint16_t flex_uint16_t;
\r
50 typedef int32_t flex_int32_t;
\r
51 typedef uint32_t flex_uint32_t;
\r
53 typedef signed char flex_int8_t;
\r
54 typedef short int flex_int16_t;
\r
55 typedef int flex_int32_t;
\r
56 typedef unsigned char flex_uint8_t;
\r
57 typedef unsigned short int flex_uint16_t;
\r
58 typedef unsigned int flex_uint32_t;
\r
60 /* Limits of integral types. */
\r
62 #define INT8_MIN (-128)
\r
65 #define INT16_MIN (-32767-1)
\r
68 #define INT32_MIN (-2147483647-1)
\r
71 #define INT8_MAX (127)
\r
74 #define INT16_MAX (32767)
\r
77 #define INT32_MAX (2147483647)
\r
80 #define UINT8_MAX (255U)
\r
83 #define UINT16_MAX (65535U)
\r
86 #define UINT32_MAX (4294967295U)
\r
91 #endif /* ! FLEXINT_H */
\r
95 /* The "const" storage-class-modifier is valid. */
\r
96 #define YY_USE_CONST
\r
98 #else /* ! __cplusplus */
\r
100 /* C99 requires __STDC__ to be defined as 1. */
\r
101 #if defined (__STDC__)
\r
103 #define YY_USE_CONST
\r
105 #endif /* defined (__STDC__) */
\r
106 #endif /* ! __cplusplus */
\r
108 #ifdef YY_USE_CONST
\r
109 #define yyconst const
\r
114 /* An opaque pointer. */
\r
115 #ifndef YY_TYPEDEF_YY_SCANNER_T
\r
116 #define YY_TYPEDEF_YY_SCANNER_T
\r
117 typedef void* yyscan_t;
\r
120 /* For convenience, these vars (plus the bison vars far below)
\r
121 are macros in the reentrant scanner. */
\r
122 #define yyin yyg->yyin_r
\r
123 #define yyout yyg->yyout_r
\r
124 #define yyextra yyg->yyextra_r
\r
125 #define yyleng yyg->yyleng_r
\r
126 #define yytext yyg->yytext_r
\r
127 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
\r
128 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
\r
129 #define yy_flex_debug yyg->yy_flex_debug_r
\r
131 /* Size of default input buffer. */
\r
132 #ifndef YY_BUF_SIZE
\r
133 #define YY_BUF_SIZE 16384
\r
136 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
\r
137 #define YY_TYPEDEF_YY_BUFFER_STATE
\r
138 typedef struct yy_buffer_state *YY_BUFFER_STATE;
\r
141 #ifndef YY_TYPEDEF_YY_SIZE_T
\r
142 #define YY_TYPEDEF_YY_SIZE_T
\r
143 typedef size_t yy_size_t;
\r
146 #ifndef YY_STRUCT_YY_BUFFER_STATE
\r
147 #define YY_STRUCT_YY_BUFFER_STATE
\r
148 struct yy_buffer_state
\r
150 FILE *yy_input_file;
\r
152 char *yy_ch_buf; /* input buffer */
\r
153 char *yy_buf_pos; /* current position in input buffer */
\r
155 /* Size of input buffer in bytes, not including room for EOB
\r
158 yy_size_t yy_buf_size;
\r
160 /* Number of characters read into yy_ch_buf, not including EOB
\r
163 yy_size_t yy_n_chars;
\r
165 /* Whether we "own" the buffer - i.e., we know we created it,
\r
166 * and can realloc() it to grow it, and should free() it to
\r
169 int yy_is_our_buffer;
\r
171 /* Whether this is an "interactive" input source; if so, and
\r
172 * if we're using stdio for input, then we want to use getc()
\r
173 * instead of fread(), to make sure we stop fetching input after
\r
176 int yy_is_interactive;
\r
178 /* Whether we're considered to be at the beginning of a line.
\r
179 * If so, '^' rules will be active on the next match, otherwise
\r
184 int yy_bs_lineno; /**< The line count. */
\r
185 int yy_bs_column; /**< The column count. */
\r
187 /* Whether to try to fill the input buffer when we reach the
\r
190 int yy_fill_buffer;
\r
192 int yy_buffer_status;
\r
195 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
\r
197 void yyfmi1restart (FILE *input_file ,yyscan_t yyscanner );
\r
198 void yyfmi1_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
\r
199 YY_BUFFER_STATE yyfmi1_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
\r
200 void yyfmi1_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
\r
201 void yyfmi1_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
\r
202 void yyfmi1push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
\r
203 void yyfmi1pop_buffer_state (yyscan_t yyscanner );
\r
205 YY_BUFFER_STATE yyfmi1_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
\r
206 YY_BUFFER_STATE yyfmi1_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
\r
207 YY_BUFFER_STATE yyfmi1_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
\r
209 void *yyfmi1alloc (yy_size_t ,yyscan_t yyscanner );
\r
210 void *yyfmi1realloc (void *,yy_size_t ,yyscan_t yyscanner );
\r
211 void yyfmi1free (void * ,yyscan_t yyscanner );
\r
213 #define yyfmi1wrap(yyscanner) 1
\r
214 #define YY_SKIP_YYWRAP
\r
216 #define yytext_ptr yytext_r
\r
218 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
\r
223 #ifndef YY_NO_UNISTD_H
\r
224 /* Special case for "unistd.h", since it is non-ANSI. We include it way
\r
225 * down here because we want the user's section 1 to have been scanned first.
\r
226 * The user has a chance to override it with an option.
\r
228 #include <unistd.h>
\r
230 /*windows compatibility case*/
\r
232 #define isatty _isatty
\r
233 #define fileno _fileno
\r
236 #ifndef YY_EXTRA_TYPE
\r
237 #define YY_EXTRA_TYPE void *
\r
240 int yyfmi1lex_init (yyscan_t* scanner);
\r
242 int yyfmi1lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
\r
244 /* Accessor methods to globals.
\r
245 These are made visible to non-reentrant scanners for convenience. */
\r
247 int yyfmi1lex_destroy (yyscan_t yyscanner );
\r
249 int yyfmi1get_debug (yyscan_t yyscanner );
\r
251 void yyfmi1set_debug (int debug_flag ,yyscan_t yyscanner );
\r
253 YY_EXTRA_TYPE yyfmi1get_extra (yyscan_t yyscanner );
\r
255 void yyfmi1set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
\r
257 FILE *yyfmi1get_in (yyscan_t yyscanner );
\r
259 void yyfmi1set_in (FILE * in_str ,yyscan_t yyscanner );
\r
261 FILE *yyfmi1get_out (yyscan_t yyscanner );
\r
263 void yyfmi1set_out (FILE * out_str ,yyscan_t yyscanner );
\r
265 yy_size_t yyfmi1get_leng (yyscan_t yyscanner );
\r
267 char *yyfmi1get_text (yyscan_t yyscanner );
\r
269 int yyfmi1get_lineno (yyscan_t yyscanner );
\r
271 void yyfmi1set_lineno (int line_number ,yyscan_t yyscanner );
\r
273 int yyfmi1get_column (yyscan_t yyscanner );
\r
275 void yyfmi1set_column (int column_no ,yyscan_t yyscanner );
\r
277 YYSTYPE * yyfmi1get_lval (yyscan_t yyscanner );
\r
279 void yyfmi1set_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
\r
281 /* Macros after this point can all be overridden by user definitions in
\r
285 #ifndef YY_SKIP_YYWRAP
\r
287 extern "C" int yyfmi1wrap (yyscan_t yyscanner );
\r
289 extern int yyfmi1wrap (yyscan_t yyscanner );
\r
294 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
\r
297 #ifdef YY_NEED_STRLEN
\r
298 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
\r
301 #ifndef YY_NO_INPUT
\r
305 /* Amount of stuff to slurp up with each read. */
\r
306 #ifndef YY_READ_BUF_SIZE
\r
307 #define YY_READ_BUF_SIZE 8192
\r
310 /* Number of entries by which start-condition stack grows. */
\r
311 #ifndef YY_START_STACK_INCR
\r
312 #define YY_START_STACK_INCR 25
\r
315 /* Default declaration of generated scanner - a define so the user can
\r
316 * easily add parameters.
\r
319 #define YY_DECL_IS_OURS 1
\r
321 extern int yyfmi1lex \
\r
322 (YYSTYPE * yylval_param ,yyscan_t yyscanner);
\r
324 #define YY_DECL int yyfmi1lex \
\r
325 (YYSTYPE * yylval_param , yyscan_t yyscanner)
\r
326 #endif /* !YY_DECL */
\r
328 /* yy_get_previous_state - get the state just before the EOB char was reached */
\r
331 #undef YY_FLUSH_BUFFER
\r
333 #undef yy_new_buffer
\r
334 #undef yy_set_interactive
\r
335 #undef YY_DO_BEFORE_ACTION
\r
337 #ifdef YY_DECL_IS_OURS
\r
338 #undef YY_DECL_IS_OURS
\r
342 #line 338 "C:/Users/victor.johnsson/Documents/Projects/FMIL/trunk/src/XML//src-gen/FMI1/fmi1_xml_variable_name_lex.h"
\r
343 #undef yyfmi1IN_HEADER
\r
344 #endif /* yyfmi1HEADER_H */
\r