]> gerrit.simantics Code Review - simantics/fmil.git/blobdiff - org.simantics.fmil.core/native/FMILibrary/src/XML/src-gen/FMI2/fmi2_xml_variable_name_lex.h
Add FMILibrary-2.0.3 to org.simantics.fmil.core\native.
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / XML / src-gen / FMI2 / fmi2_xml_variable_name_lex.h
diff --git a/org.simantics.fmil.core/native/FMILibrary/src/XML/src-gen/FMI2/fmi2_xml_variable_name_lex.h b/org.simantics.fmil.core/native/FMILibrary/src/XML/src-gen/FMI2/fmi2_xml_variable_name_lex.h
new file mode 100644 (file)
index 0000000..3759e95
--- /dev/null
@@ -0,0 +1,344 @@
+#ifndef yyfmi2HEADER_H\r
+#define yyfmi2HEADER_H 1\r
+#define yyfmi2IN_HEADER 1\r
+\r
+#line 6 "C:/Users/victor.johnsson/Documents/Projects/FMIL/trunk/src/XML//src-gen/FMI2/fmi2_xml_variable_name_lex.h"\r
+\r
+#define  YY_INT_ALIGNED short int\r
+\r
+/* A lexical scanner generated by flex */\r
+\r
+#define FLEX_SCANNER\r
+#define YY_FLEX_MAJOR_VERSION 2\r
+#define YY_FLEX_MINOR_VERSION 5\r
+#define YY_FLEX_SUBMINOR_VERSION 37\r
+#if YY_FLEX_SUBMINOR_VERSION > 0\r
+#define FLEX_BETA\r
+#endif\r
+\r
+/* First, we deal with  platform-specific or compiler-specific issues. */\r
+\r
+/* begin standard C headers. */\r
+#include <stdio.h>\r
+#include <string.h>\r
+#include <errno.h>\r
+#include <stdlib.h>\r
+\r
+/* end standard C headers. */\r
+\r
+/* flex integer type definitions */\r
+\r
+#ifndef FLEXINT_H\r
+#define FLEXINT_H\r
+\r
+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */\r
+\r
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L\r
+\r
+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,\r
+ * if you want the limit (max/min) macros for int types. \r
+ */\r
+#ifndef __STDC_LIMIT_MACROS\r
+#define __STDC_LIMIT_MACROS 1\r
+#endif\r
+\r
+#include <inttypes.h>\r
+typedef int8_t flex_int8_t;\r
+typedef uint8_t flex_uint8_t;\r
+typedef int16_t flex_int16_t;\r
+typedef uint16_t flex_uint16_t;\r
+typedef int32_t flex_int32_t;\r
+typedef uint32_t flex_uint32_t;\r
+#else\r
+typedef signed char flex_int8_t;\r
+typedef short int flex_int16_t;\r
+typedef int flex_int32_t;\r
+typedef unsigned char flex_uint8_t; \r
+typedef unsigned short int flex_uint16_t;\r
+typedef unsigned int flex_uint32_t;\r
+\r
+/* Limits of integral types. */\r
+#ifndef INT8_MIN\r
+#define INT8_MIN               (-128)\r
+#endif\r
+#ifndef INT16_MIN\r
+#define INT16_MIN              (-32767-1)\r
+#endif\r
+#ifndef INT32_MIN\r
+#define INT32_MIN              (-2147483647-1)\r
+#endif\r
+#ifndef INT8_MAX\r
+#define INT8_MAX               (127)\r
+#endif\r
+#ifndef INT16_MAX\r
+#define INT16_MAX              (32767)\r
+#endif\r
+#ifndef INT32_MAX\r
+#define INT32_MAX              (2147483647)\r
+#endif\r
+#ifndef UINT8_MAX\r
+#define UINT8_MAX              (255U)\r
+#endif\r
+#ifndef UINT16_MAX\r
+#define UINT16_MAX             (65535U)\r
+#endif\r
+#ifndef UINT32_MAX\r
+#define UINT32_MAX             (4294967295U)\r
+#endif\r
+\r
+#endif /* ! C99 */\r
+\r
+#endif /* ! FLEXINT_H */\r
+\r
+#ifdef __cplusplus\r
+\r
+/* The "const" storage-class-modifier is valid. */\r
+#define YY_USE_CONST\r
+\r
+#else  /* ! __cplusplus */\r
+\r
+/* C99 requires __STDC__ to be defined as 1. */\r
+#if defined (__STDC__)\r
+\r
+#define YY_USE_CONST\r
+\r
+#endif /* defined (__STDC__) */\r
+#endif /* ! __cplusplus */\r
+\r
+#ifdef YY_USE_CONST\r
+#define yyconst const\r
+#else\r
+#define yyconst\r
+#endif\r
+\r
+/* An opaque pointer. */\r
+#ifndef YY_TYPEDEF_YY_SCANNER_T\r
+#define YY_TYPEDEF_YY_SCANNER_T\r
+typedef void* yyscan_t;\r
+#endif\r
+\r
+/* For convenience, these vars (plus the bison vars far below)\r
+   are macros in the reentrant scanner. */\r
+#define yyin yyg->yyin_r\r
+#define yyout yyg->yyout_r\r
+#define yyextra yyg->yyextra_r\r
+#define yyleng yyg->yyleng_r\r
+#define yytext yyg->yytext_r\r
+#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)\r
+#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)\r
+#define yy_flex_debug yyg->yy_flex_debug_r\r
+\r
+/* Size of default input buffer. */\r
+#ifndef YY_BUF_SIZE\r
+#define YY_BUF_SIZE 16384\r
+#endif\r
+\r
+#ifndef YY_TYPEDEF_YY_BUFFER_STATE\r
+#define YY_TYPEDEF_YY_BUFFER_STATE\r
+typedef struct yy_buffer_state *YY_BUFFER_STATE;\r
+#endif\r
+\r
+#ifndef YY_TYPEDEF_YY_SIZE_T\r
+#define YY_TYPEDEF_YY_SIZE_T\r
+typedef size_t yy_size_t;\r
+#endif\r
+\r
+#ifndef YY_STRUCT_YY_BUFFER_STATE\r
+#define YY_STRUCT_YY_BUFFER_STATE\r
+struct yy_buffer_state\r
+       {\r
+       FILE *yy_input_file;\r
+\r
+       char *yy_ch_buf;                /* input buffer */\r
+       char *yy_buf_pos;               /* current position in input buffer */\r
+\r
+       /* Size of input buffer in bytes, not including room for EOB\r
+        * characters.\r
+        */\r
+       yy_size_t yy_buf_size;\r
+\r
+       /* Number of characters read into yy_ch_buf, not including EOB\r
+        * characters.\r
+        */\r
+       yy_size_t yy_n_chars;\r
+\r
+       /* Whether we "own" the buffer - i.e., we know we created it,\r
+        * and can realloc() it to grow it, and should free() it to\r
+        * delete it.\r
+        */\r
+       int yy_is_our_buffer;\r
+\r
+       /* Whether this is an "interactive" input source; if so, and\r
+        * if we're using stdio for input, then we want to use getc()\r
+        * instead of fread(), to make sure we stop fetching input after\r
+        * each newline.\r
+        */\r
+       int yy_is_interactive;\r
+\r
+       /* Whether we're considered to be at the beginning of a line.\r
+        * If so, '^' rules will be active on the next match, otherwise\r
+        * not.\r
+        */\r
+       int yy_at_bol;\r
+\r
+    int yy_bs_lineno; /**< The line count. */\r
+    int yy_bs_column; /**< The column count. */\r
+    \r
+       /* Whether to try to fill the input buffer when we reach the\r
+        * end of it.\r
+        */\r
+       int yy_fill_buffer;\r
+\r
+       int yy_buffer_status;\r
+\r
+       };\r
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */\r
+\r
+void yyfmi2restart (FILE *input_file ,yyscan_t yyscanner );\r
+void yyfmi2_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );\r
+YY_BUFFER_STATE yyfmi2_create_buffer (FILE *file,int size ,yyscan_t yyscanner );\r
+void yyfmi2_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );\r
+void yyfmi2_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );\r
+void yyfmi2push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );\r
+void yyfmi2pop_buffer_state (yyscan_t yyscanner );\r
+\r
+YY_BUFFER_STATE yyfmi2_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );\r
+YY_BUFFER_STATE yyfmi2_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );\r
+YY_BUFFER_STATE yyfmi2_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );\r
+\r
+void *yyfmi2alloc (yy_size_t ,yyscan_t yyscanner );\r
+void *yyfmi2realloc (void *,yy_size_t ,yyscan_t yyscanner );\r
+void yyfmi2free (void * ,yyscan_t yyscanner );\r
+\r
+#define yyfmi2wrap(yyscanner) 1\r
+#define YY_SKIP_YYWRAP\r
+\r
+#define yytext_ptr yytext_r\r
+\r
+#ifdef YY_HEADER_EXPORT_START_CONDITIONS\r
+#define INITIAL 0\r
+\r
+#endif\r
+\r
+#ifndef YY_NO_UNISTD_H\r
+/* Special case for "unistd.h", since it is non-ANSI. We include it way\r
+ * down here because we want the user's section 1 to have been scanned first.\r
+ * The user has a chance to override it with an option.\r
+ */\r
+#include <unistd.h>\r
+#else\r
+/*windows compatibility case*/\r
+#include <io.h>\r
+#define isatty _isatty\r
+#define fileno _fileno\r
+#endif\r
+    \r
+#ifndef YY_EXTRA_TYPE\r
+#define YY_EXTRA_TYPE void *\r
+#endif\r
+\r
+int yyfmi2lex_init (yyscan_t* scanner);\r
+\r
+int yyfmi2lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);\r
+\r
+/* Accessor methods to globals.\r
+   These are made visible to non-reentrant scanners for convenience. */\r
+\r
+int yyfmi2lex_destroy (yyscan_t yyscanner );\r
+\r
+int yyfmi2get_debug (yyscan_t yyscanner );\r
+\r
+void yyfmi2set_debug (int debug_flag ,yyscan_t yyscanner );\r
+\r
+YY_EXTRA_TYPE yyfmi2get_extra (yyscan_t yyscanner );\r
+\r
+void yyfmi2set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );\r
+\r
+FILE *yyfmi2get_in (yyscan_t yyscanner );\r
+\r
+void yyfmi2set_in  (FILE * in_str ,yyscan_t yyscanner );\r
+\r
+FILE *yyfmi2get_out (yyscan_t yyscanner );\r
+\r
+void yyfmi2set_out  (FILE * out_str ,yyscan_t yyscanner );\r
+\r
+yy_size_t yyfmi2get_leng (yyscan_t yyscanner );\r
+\r
+char *yyfmi2get_text (yyscan_t yyscanner );\r
+\r
+int yyfmi2get_lineno (yyscan_t yyscanner );\r
+\r
+void yyfmi2set_lineno (int line_number ,yyscan_t yyscanner );\r
+\r
+int yyfmi2get_column  (yyscan_t yyscanner );\r
+\r
+void yyfmi2set_column (int column_no ,yyscan_t yyscanner );\r
+\r
+YYSTYPE * yyfmi2get_lval (yyscan_t yyscanner );\r
+\r
+void yyfmi2set_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );\r
+\r
+/* Macros after this point can all be overridden by user definitions in\r
+ * section 1.\r
+ */\r
+\r
+#ifndef YY_SKIP_YYWRAP\r
+#ifdef __cplusplus\r
+extern "C" int yyfmi2wrap (yyscan_t yyscanner );\r
+#else\r
+extern int yyfmi2wrap (yyscan_t yyscanner );\r
+#endif\r
+#endif\r
+\r
+#ifndef yytext_ptr\r
+static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);\r
+#endif\r
+\r
+#ifdef YY_NEED_STRLEN\r
+static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);\r
+#endif\r
+\r
+#ifndef YY_NO_INPUT\r
+\r
+#endif\r
+\r
+/* Amount of stuff to slurp up with each read. */\r
+#ifndef YY_READ_BUF_SIZE\r
+#define YY_READ_BUF_SIZE 8192\r
+#endif\r
+\r
+/* Number of entries by which start-condition stack grows. */\r
+#ifndef YY_START_STACK_INCR\r
+#define YY_START_STACK_INCR 25\r
+#endif\r
+\r
+/* Default declaration of generated scanner - a define so the user can\r
+ * easily add parameters.\r
+ */\r
+#ifndef YY_DECL\r
+#define YY_DECL_IS_OURS 1\r
+\r
+extern int yyfmi2lex \\r
+               (YYSTYPE * yylval_param ,yyscan_t yyscanner);\r
+\r
+#define YY_DECL int yyfmi2lex \\r
+               (YYSTYPE * yylval_param , yyscan_t yyscanner)\r
+#endif /* !YY_DECL */\r
+\r
+/* yy_get_previous_state - get the state just before the EOB char was reached */\r
+\r
+#undef YY_NEW_FILE\r
+#undef YY_FLUSH_BUFFER\r
+#undef yy_set_bol\r
+#undef yy_new_buffer\r
+#undef yy_set_interactive\r
+#undef YY_DO_BEFORE_ACTION\r
+\r
+#ifdef YY_DECL_IS_OURS\r
+#undef YY_DECL_IS_OURS\r
+#undef YY_DECL\r
+#endif\r
+\r
+#line 338 "C:/Users/victor.johnsson/Documents/Projects/FMIL/trunk/src/XML//src-gen/FMI2/fmi2_xml_variable_name_lex.h"\r
+#undef yyfmi2IN_HEADER\r
+#endif /* yyfmi2HEADER_H */\r