]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/XML/src-gen/FMI2/fmi2_xml_variable_name_lex.h
3759e95714f2093513f2c1702fdb88248f4c76ee
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / XML / src-gen / FMI2 / fmi2_xml_variable_name_lex.h
1 #ifndef yyfmi2HEADER_H\r
2 #define yyfmi2HEADER_H 1\r
3 #define yyfmi2IN_HEADER 1\r
4 \r
5 #line 6 "C:/Users/victor.johnsson/Documents/Projects/FMIL/trunk/src/XML//src-gen/FMI2/fmi2_xml_variable_name_lex.h"\r
6 \r
7 #define  YY_INT_ALIGNED short int\r
8 \r
9 /* A lexical scanner generated by flex */\r
10 \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
16 #define FLEX_BETA\r
17 #endif\r
18 \r
19 /* First, we deal with  platform-specific or compiler-specific issues. */\r
20 \r
21 /* begin standard C headers. */\r
22 #include <stdio.h>\r
23 #include <string.h>\r
24 #include <errno.h>\r
25 #include <stdlib.h>\r
26 \r
27 /* end standard C headers. */\r
28 \r
29 /* flex integer type definitions */\r
30 \r
31 #ifndef FLEXINT_H\r
32 #define FLEXINT_H\r
33 \r
34 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */\r
35 \r
36 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L\r
37 \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
40  */\r
41 #ifndef __STDC_LIMIT_MACROS\r
42 #define __STDC_LIMIT_MACROS 1\r
43 #endif\r
44 \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
52 #else\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
59 \r
60 /* Limits of integral types. */\r
61 #ifndef INT8_MIN\r
62 #define INT8_MIN               (-128)\r
63 #endif\r
64 #ifndef INT16_MIN\r
65 #define INT16_MIN              (-32767-1)\r
66 #endif\r
67 #ifndef INT32_MIN\r
68 #define INT32_MIN              (-2147483647-1)\r
69 #endif\r
70 #ifndef INT8_MAX\r
71 #define INT8_MAX               (127)\r
72 #endif\r
73 #ifndef INT16_MAX\r
74 #define INT16_MAX              (32767)\r
75 #endif\r
76 #ifndef INT32_MAX\r
77 #define INT32_MAX              (2147483647)\r
78 #endif\r
79 #ifndef UINT8_MAX\r
80 #define UINT8_MAX              (255U)\r
81 #endif\r
82 #ifndef UINT16_MAX\r
83 #define UINT16_MAX             (65535U)\r
84 #endif\r
85 #ifndef UINT32_MAX\r
86 #define UINT32_MAX             (4294967295U)\r
87 #endif\r
88 \r
89 #endif /* ! C99 */\r
90 \r
91 #endif /* ! FLEXINT_H */\r
92 \r
93 #ifdef __cplusplus\r
94 \r
95 /* The "const" storage-class-modifier is valid. */\r
96 #define YY_USE_CONST\r
97 \r
98 #else   /* ! __cplusplus */\r
99 \r
100 /* C99 requires __STDC__ to be defined as 1. */\r
101 #if defined (__STDC__)\r
102 \r
103 #define YY_USE_CONST\r
104 \r
105 #endif  /* defined (__STDC__) */\r
106 #endif  /* ! __cplusplus */\r
107 \r
108 #ifdef YY_USE_CONST\r
109 #define yyconst const\r
110 #else\r
111 #define yyconst\r
112 #endif\r
113 \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
118 #endif\r
119 \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
130 \r
131 /* Size of default input buffer. */\r
132 #ifndef YY_BUF_SIZE\r
133 #define YY_BUF_SIZE 16384\r
134 #endif\r
135 \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
139 #endif\r
140 \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
144 #endif\r
145 \r
146 #ifndef YY_STRUCT_YY_BUFFER_STATE\r
147 #define YY_STRUCT_YY_BUFFER_STATE\r
148 struct yy_buffer_state\r
149         {\r
150         FILE *yy_input_file;\r
151 \r
152         char *yy_ch_buf;                /* input buffer */\r
153         char *yy_buf_pos;               /* current position in input buffer */\r
154 \r
155         /* Size of input buffer in bytes, not including room for EOB\r
156          * characters.\r
157          */\r
158         yy_size_t yy_buf_size;\r
159 \r
160         /* Number of characters read into yy_ch_buf, not including EOB\r
161          * characters.\r
162          */\r
163         yy_size_t yy_n_chars;\r
164 \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
167          * delete it.\r
168          */\r
169         int yy_is_our_buffer;\r
170 \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
174          * each newline.\r
175          */\r
176         int yy_is_interactive;\r
177 \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
180          * not.\r
181          */\r
182         int yy_at_bol;\r
183 \r
184     int yy_bs_lineno; /**< The line count. */\r
185     int yy_bs_column; /**< The column count. */\r
186     \r
187         /* Whether to try to fill the input buffer when we reach the\r
188          * end of it.\r
189          */\r
190         int yy_fill_buffer;\r
191 \r
192         int yy_buffer_status;\r
193 \r
194         };\r
195 #endif /* !YY_STRUCT_YY_BUFFER_STATE */\r
196 \r
197 void yyfmi2restart (FILE *input_file ,yyscan_t yyscanner );\r
198 void yyfmi2_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );\r
199 YY_BUFFER_STATE yyfmi2_create_buffer (FILE *file,int size ,yyscan_t yyscanner );\r
200 void yyfmi2_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );\r
201 void yyfmi2_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );\r
202 void yyfmi2push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );\r
203 void yyfmi2pop_buffer_state (yyscan_t yyscanner );\r
204 \r
205 YY_BUFFER_STATE yyfmi2_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );\r
206 YY_BUFFER_STATE yyfmi2_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );\r
207 YY_BUFFER_STATE yyfmi2_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );\r
208 \r
209 void *yyfmi2alloc (yy_size_t ,yyscan_t yyscanner );\r
210 void *yyfmi2realloc (void *,yy_size_t ,yyscan_t yyscanner );\r
211 void yyfmi2free (void * ,yyscan_t yyscanner );\r
212 \r
213 #define yyfmi2wrap(yyscanner) 1\r
214 #define YY_SKIP_YYWRAP\r
215 \r
216 #define yytext_ptr yytext_r\r
217 \r
218 #ifdef YY_HEADER_EXPORT_START_CONDITIONS\r
219 #define INITIAL 0\r
220 \r
221 #endif\r
222 \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
227  */\r
228 #include <unistd.h>\r
229 #else\r
230 /*windows compatibility case*/\r
231 #include <io.h>\r
232 #define isatty _isatty\r
233 #define fileno _fileno\r
234 #endif\r
235     \r
236 #ifndef YY_EXTRA_TYPE\r
237 #define YY_EXTRA_TYPE void *\r
238 #endif\r
239 \r
240 int yyfmi2lex_init (yyscan_t* scanner);\r
241 \r
242 int yyfmi2lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);\r
243 \r
244 /* Accessor methods to globals.\r
245    These are made visible to non-reentrant scanners for convenience. */\r
246 \r
247 int yyfmi2lex_destroy (yyscan_t yyscanner );\r
248 \r
249 int yyfmi2get_debug (yyscan_t yyscanner );\r
250 \r
251 void yyfmi2set_debug (int debug_flag ,yyscan_t yyscanner );\r
252 \r
253 YY_EXTRA_TYPE yyfmi2get_extra (yyscan_t yyscanner );\r
254 \r
255 void yyfmi2set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );\r
256 \r
257 FILE *yyfmi2get_in (yyscan_t yyscanner );\r
258 \r
259 void yyfmi2set_in  (FILE * in_str ,yyscan_t yyscanner );\r
260 \r
261 FILE *yyfmi2get_out (yyscan_t yyscanner );\r
262 \r
263 void yyfmi2set_out  (FILE * out_str ,yyscan_t yyscanner );\r
264 \r
265 yy_size_t yyfmi2get_leng (yyscan_t yyscanner );\r
266 \r
267 char *yyfmi2get_text (yyscan_t yyscanner );\r
268 \r
269 int yyfmi2get_lineno (yyscan_t yyscanner );\r
270 \r
271 void yyfmi2set_lineno (int line_number ,yyscan_t yyscanner );\r
272 \r
273 int yyfmi2get_column  (yyscan_t yyscanner );\r
274 \r
275 void yyfmi2set_column (int column_no ,yyscan_t yyscanner );\r
276 \r
277 YYSTYPE * yyfmi2get_lval (yyscan_t yyscanner );\r
278 \r
279 void yyfmi2set_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );\r
280 \r
281 /* Macros after this point can all be overridden by user definitions in\r
282  * section 1.\r
283  */\r
284 \r
285 #ifndef YY_SKIP_YYWRAP\r
286 #ifdef __cplusplus\r
287 extern "C" int yyfmi2wrap (yyscan_t yyscanner );\r
288 #else\r
289 extern int yyfmi2wrap (yyscan_t yyscanner );\r
290 #endif\r
291 #endif\r
292 \r
293 #ifndef yytext_ptr\r
294 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);\r
295 #endif\r
296 \r
297 #ifdef YY_NEED_STRLEN\r
298 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);\r
299 #endif\r
300 \r
301 #ifndef YY_NO_INPUT\r
302 \r
303 #endif\r
304 \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
308 #endif\r
309 \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
313 #endif\r
314 \r
315 /* Default declaration of generated scanner - a define so the user can\r
316  * easily add parameters.\r
317  */\r
318 #ifndef YY_DECL\r
319 #define YY_DECL_IS_OURS 1\r
320 \r
321 extern int yyfmi2lex \\r
322                (YYSTYPE * yylval_param ,yyscan_t yyscanner);\r
323 \r
324 #define YY_DECL int yyfmi2lex \\r
325                (YYSTYPE * yylval_param , yyscan_t yyscanner)\r
326 #endif /* !YY_DECL */\r
327 \r
328 /* yy_get_previous_state - get the state just before the EOB char was reached */\r
329 \r
330 #undef YY_NEW_FILE\r
331 #undef YY_FLUSH_BUFFER\r
332 #undef yy_set_bol\r
333 #undef yy_new_buffer\r
334 #undef yy_set_interactive\r
335 #undef YY_DO_BEFORE_ACTION\r
336 \r
337 #ifdef YY_DECL_IS_OURS\r
338 #undef YY_DECL_IS_OURS\r
339 #undef YY_DECL\r
340 #endif\r
341 \r
342 #line 338 "C:/Users/victor.johnsson/Documents/Projects/FMIL/trunk/src/XML//src-gen/FMI2/fmi2_xml_variable_name_lex.h"\r
343 #undef yyfmi2IN_HEADER\r
344 #endif /* yyfmi2HEADER_H */\r