allocator fixes
[csql.git] / include / dmllex.h
blob25ddfdf0fcdbf2a249fcb0b88e441d965a1af571
1 #ifndef yyHEADER_H
2 #define yyHEADER_H 1
3 #define yyIN_HEADER 1
5 #line 6 "dmllex.h"
7 #define YY_INT_ALIGNED short int
9 /* A lexical scanner generated by flex */
11 #define FLEX_SCANNER
12 #define YY_FLEX_MAJOR_VERSION 2
13 #define YY_FLEX_MINOR_VERSION 5
14 #define YY_FLEX_SUBMINOR_VERSION 33
15 #if YY_FLEX_SUBMINOR_VERSION > 0
16 #define FLEX_BETA
17 #endif
19 /* First, we deal with platform-specific or compiler-specific issues. */
21 /* begin standard C headers. */
22 #include <stdio.h>
23 #include <string.h>
24 #include <errno.h>
25 #include <stdlib.h>
27 /* end standard C headers. */
29 /* flex integer type definitions */
31 #ifndef FLEXINT_H
32 #define FLEXINT_H
34 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
36 #if __STDC_VERSION__ >= 199901L
38 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
39 * if you want the limit (max/min) macros for int types.
41 #ifndef __STDC_LIMIT_MACROS
42 #define __STDC_LIMIT_MACROS 1
43 #endif
45 #include <inttypes.h>
46 typedef int8_t flex_int8_t;
47 typedef uint8_t flex_uint8_t;
48 typedef int16_t flex_int16_t;
49 typedef uint16_t flex_uint16_t;
50 typedef int32_t flex_int32_t;
51 typedef uint32_t flex_uint32_t;
52 #else
53 typedef signed char flex_int8_t;
54 typedef short int flex_int16_t;
55 typedef int flex_int32_t;
56 typedef unsigned char flex_uint8_t;
57 typedef unsigned short int flex_uint16_t;
58 typedef unsigned int flex_uint32_t;
59 #endif /* ! C99 */
61 /* Limits of integral types. */
62 #ifndef INT8_MIN
63 #define INT8_MIN (-128)
64 #endif
65 #ifndef INT16_MIN
66 #define INT16_MIN (-32767-1)
67 #endif
68 #ifndef INT32_MIN
69 #define INT32_MIN (-2147483647-1)
70 #endif
71 #ifndef INT8_MAX
72 #define INT8_MAX (127)
73 #endif
74 #ifndef INT16_MAX
75 #define INT16_MAX (32767)
76 #endif
77 #ifndef INT32_MAX
78 #define INT32_MAX (2147483647)
79 #endif
80 #ifndef UINT8_MAX
81 #define UINT8_MAX (255U)
82 #endif
83 #ifndef UINT16_MAX
84 #define UINT16_MAX (65535U)
85 #endif
86 #ifndef UINT32_MAX
87 #define UINT32_MAX (4294967295U)
88 #endif
90 #endif /* ! FLEXINT_H */
92 #ifdef __cplusplus
94 /* The "const" storage-class-modifier is valid. */
95 #define YY_USE_CONST
97 #else /* ! __cplusplus */
99 #if __STDC__
101 #define YY_USE_CONST
103 #endif /* __STDC__ */
104 #endif /* ! __cplusplus */
106 #ifdef YY_USE_CONST
107 #define yyconst const
108 #else
109 #define yyconst
110 #endif
112 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
113 #define YY_TYPEDEF_YY_BUFFER_STATE
114 typedef struct yy_buffer_state *YY_BUFFER_STATE;
115 #endif
117 extern int yyleng;
119 extern FILE *yyin, *yyout;
121 /* The following is because we cannot portably get our hands on size_t
122 * (without autoconf's help, which isn't available because we want
123 * flex-generated scanners to compile on their own).
126 #ifndef YY_TYPEDEF_YY_SIZE_T
127 #define YY_TYPEDEF_YY_SIZE_T
128 typedef unsigned int yy_size_t;
129 #endif
131 #ifndef YY_STRUCT_YY_BUFFER_STATE
132 #define YY_STRUCT_YY_BUFFER_STATE
133 struct yy_buffer_state
135 FILE *yy_input_file;
137 char *yy_ch_buf; /* input buffer */
138 char *yy_buf_pos; /* current position in input buffer */
140 /* Size of input buffer in bytes, not including room for EOB
141 * characters.
143 yy_size_t yy_buf_size;
145 /* Number of characters read into yy_ch_buf, not including EOB
146 * characters.
148 int yy_n_chars;
150 /* Whether we "own" the buffer - i.e., we know we created it,
151 * and can realloc() it to grow it, and should free() it to
152 * delete it.
154 int yy_is_our_buffer;
156 /* Whether this is an "interactive" input source; if so, and
157 * if we're using stdio for input, then we want to use getc()
158 * instead of fread(), to make sure we stop fetching input after
159 * each newline.
161 int yy_is_interactive;
163 /* Whether we're considered to be at the beginning of a line.
164 * If so, '^' rules will be active on the next match, otherwise
165 * not.
167 int yy_at_bol;
169 int yy_bs_lineno; /**< The line count. */
170 int yy_bs_column; /**< The column count. */
172 /* Whether to try to fill the input buffer when we reach the
173 * end of it.
175 int yy_fill_buffer;
177 int yy_buffer_status;
180 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
182 void yyrestart (FILE *input_file );
183 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
184 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
185 void yy_delete_buffer (YY_BUFFER_STATE b );
186 void yy_flush_buffer (YY_BUFFER_STATE b );
187 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
188 void yypop_buffer_state (void );
190 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
191 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
192 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
194 void *yyalloc (yy_size_t );
195 void *yyrealloc (void *,yy_size_t );
196 void yyfree (void * );
198 /* Begin user sect3 */
200 extern int yylineno;
202 extern char yytext[];
204 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
205 #define INITIAL 0
207 #endif
209 #ifndef YY_NO_UNISTD_H
210 /* Special case for "unistd.h", since it is non-ANSI. We include it way
211 * down here because we want the user's section 1 to have been scanned first.
212 * The user has a chance to override it with an option.
214 #include <unistd.h>
215 #endif
217 #ifndef YY_EXTRA_TYPE
218 #define YY_EXTRA_TYPE void *
219 #endif
221 /* Macros after this point can all be overridden by user definitions in
222 * section 1.
225 #ifndef YY_SKIP_YYWRAP
226 #ifdef __cplusplus
227 extern "C" int yywrap (void );
228 #else
229 extern int yywrap (void );
230 #endif
231 #endif
233 #ifndef yytext_ptr
234 static void yy_flex_strncpy (char *,yyconst char *,int );
235 #endif
237 #ifdef YY_NEED_STRLEN
238 static int yy_flex_strlen (yyconst char * );
239 #endif
241 #ifndef YY_NO_INPUT
243 #endif
245 /* Amount of stuff to slurp up with each read. */
246 #ifndef YY_READ_BUF_SIZE
247 #define YY_READ_BUF_SIZE 8192
248 #endif
250 /* Number of entries by which start-condition stack grows. */
251 #ifndef YY_START_STACK_INCR
252 #define YY_START_STACK_INCR 25
253 #endif
255 /* Default declaration of generated scanner - a define so the user can
256 * easily add parameters.
258 #ifndef YY_DECL
259 #define YY_DECL_IS_OURS 1
261 extern int yylex (void);
263 #define YY_DECL int yylex (void)
264 #endif /* !YY_DECL */
266 /* yy_get_previous_state - get the state just before the EOB char was reached */
268 #undef YY_NEW_FILE
269 #undef YY_FLUSH_BUFFER
270 #undef yy_set_bol
271 #undef yy_new_buffer
272 #undef yy_set_interactive
273 #undef YY_DO_BEFORE_ACTION
275 #ifdef YY_DECL_IS_OURS
276 #undef YY_DECL_IS_OURS
277 #undef YY_DECL
278 #endif
280 #line 174 "dmllex.lxx"
283 #line 284 "dmllex.h"
284 #undef yyIN_HEADER
285 #endif /* yyHEADER_H */