source: cpp/_old/f8-to-f1/conv_f8tof1_scanner.h @ 674

Last change on this file since 674 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 6.0 KB
Line 
1#ifndef yyHEADER_H
2#define yyHEADER_H 1
3#define yyIN_HEADER 1
4
5#line 6 "conv_f8tof1_scanner.h"
6
7#line 8 "conv_f8tof1_scanner.h"
8
9#define  YY_INT_ALIGNED short int
10
11/* A lexical scanner generated by flex */
12
13#define FLEX_SCANNER
14#define YY_FLEX_MAJOR_VERSION 2
15#define YY_FLEX_MINOR_VERSION 5
16#define YY_FLEX_SUBMINOR_VERSION 35
17#if YY_FLEX_SUBMINOR_VERSION > 0
18#define FLEX_BETA
19#endif
20
21    /* The c++ scanner is a mess. The FlexLexer.h header file relies on the
22     * following macro. This is required in order to pass the c++-multiple-scanners
23     * test in the regression suite. We get reports that it breaks inheritance.
24     * We will address this in a future release of flex, or omit the C++ scanner
25     * altogether.
26     */
27    #define yyFlexLexer yyFlexLexer
28
29/* First, we deal with  platform-specific or compiler-specific issues. */
30
31/* begin standard C headers. */
32
33/* end standard C headers. */
34
35/* flex integer type definitions */
36
37#ifndef FLEXINT_H
38#define FLEXINT_H
39
40/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
41
42#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
43
44/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
45 * if you want the limit (max/min) macros for int types.
46 */
47#ifndef __STDC_LIMIT_MACROS
48#define __STDC_LIMIT_MACROS 1
49#endif
50
51#include <inttypes.h>
52typedef int8_t flex_int8_t;
53typedef uint8_t flex_uint8_t;
54typedef int16_t flex_int16_t;
55typedef uint16_t flex_uint16_t;
56typedef int32_t flex_int32_t;
57typedef uint32_t flex_uint32_t;
58#else
59typedef signed char flex_int8_t;
60typedef short int flex_int16_t;
61typedef int flex_int32_t;
62typedef unsigned char flex_uint8_t;
63typedef unsigned short int flex_uint16_t;
64typedef unsigned int flex_uint32_t;
65
66/* Limits of integral types. */
67#ifndef INT8_MIN
68#define INT8_MIN               (-128)
69#endif
70#ifndef INT16_MIN
71#define INT16_MIN              (-32767-1)
72#endif
73#ifndef INT32_MIN
74#define INT32_MIN              (-2147483647-1)
75#endif
76#ifndef INT8_MAX
77#define INT8_MAX               (127)
78#endif
79#ifndef INT16_MAX
80#define INT16_MAX              (32767)
81#endif
82#ifndef INT32_MAX
83#define INT32_MAX              (2147483647)
84#endif
85#ifndef UINT8_MAX
86#define UINT8_MAX              (255U)
87#endif
88#ifndef UINT16_MAX
89#define UINT16_MAX             (65535U)
90#endif
91#ifndef UINT32_MAX
92#define UINT32_MAX             (4294967295U)
93#endif
94
95#endif /* ! C99 */
96
97#endif /* ! FLEXINT_H */
98
99/* begin standard C++ headers. */
100#include <iostream>
101#include <errno.h>
102#include <cstdlib>
103#include <cstring>
104/* end standard C++ headers. */
105
106#ifdef __cplusplus
107
108/* The "const" storage-class-modifier is valid. */
109#define YY_USE_CONST
110
111#else   /* ! __cplusplus */
112
113/* C99 requires __STDC__ to be defined as 1. */
114#if defined (__STDC__)
115
116#define YY_USE_CONST
117
118#endif  /* defined (__STDC__) */
119#endif  /* ! __cplusplus */
120
121#ifdef YY_USE_CONST
122#define yyconst const
123#else
124#define yyconst
125#endif
126
127/* Size of default input buffer. */
128#ifndef YY_BUF_SIZE
129#define YY_BUF_SIZE 16384
130#endif
131
132#ifndef YY_TYPEDEF_YY_BUFFER_STATE
133#define YY_TYPEDEF_YY_BUFFER_STATE
134typedef struct yy_buffer_state *YY_BUFFER_STATE;
135#endif
136
137extern int yyleng;
138
139#ifndef YY_TYPEDEF_YY_SIZE_T
140#define YY_TYPEDEF_YY_SIZE_T
141typedef size_t yy_size_t;
142#endif
143
144#ifndef YY_STRUCT_YY_BUFFER_STATE
145#define YY_STRUCT_YY_BUFFER_STATE
146struct yy_buffer_state
147        {
148
149        std::istream* yy_input_file;
150
151        char *yy_ch_buf;                /* input buffer */
152        char *yy_buf_pos;               /* current position in input buffer */
153
154        /* Size of input buffer in bytes, not including room for EOB
155         * characters.
156         */
157        yy_size_t yy_buf_size;
158
159        /* Number of characters read into yy_ch_buf, not including EOB
160         * characters.
161         */
162        int yy_n_chars;
163
164        /* Whether we "own" the buffer - i.e., we know we created it,
165         * and can realloc() it to grow it, and should free() it to
166         * delete it.
167         */
168        int yy_is_our_buffer;
169
170        /* Whether this is an "interactive" input source; if so, and
171         * if we're using stdio for input, then we want to use getc()
172         * instead of fread(), to make sure we stop fetching input after
173         * each newline.
174         */
175        int yy_is_interactive;
176
177        /* Whether we're considered to be at the beginning of a line.
178         * If so, '^' rules will be active on the next match, otherwise
179         * not.
180         */
181        int yy_at_bol;
182
183    int yy_bs_lineno; /**< The line count. */
184    int yy_bs_column; /**< The column count. */
185   
186        /* Whether to try to fill the input buffer when we reach the
187         * end of it.
188         */
189        int yy_fill_buffer;
190
191        int yy_buffer_status;
192
193        };
194#endif /* !YY_STRUCT_YY_BUFFER_STATE */
195
196void *yyalloc (yy_size_t  );
197void *yyrealloc (void *,yy_size_t  );
198void yyfree (void *  );
199
200/* Begin user sect3 */
201
202#define yytext_ptr yytext
203#define YY_INTERACTIVE
204
205#include <FlexLexer.h>
206
207#ifdef YY_HEADER_EXPORT_START_CONDITIONS
208#define INITIAL 0
209
210#endif
211
212#ifndef YY_NO_UNISTD_H
213/* Special case for "unistd.h", since it is non-ANSI. We include it way
214 * down here because we want the user's section 1 to have been scanned first.
215 * The user has a chance to override it with an option.
216 */
217#include <unistd.h>
218#endif
219
220#ifndef YY_EXTRA_TYPE
221#define YY_EXTRA_TYPE void *
222#endif
223
224#ifndef yytext_ptr
225static void yy_flex_strncpy (char *,yyconst char *,int );
226#endif
227
228#ifdef YY_NEED_STRLEN
229static int yy_flex_strlen (yyconst char * );
230#endif
231
232#ifndef YY_NO_INPUT
233
234#endif
235
236/* Amount of stuff to slurp up with each read. */
237#ifndef YY_READ_BUF_SIZE
238#define YY_READ_BUF_SIZE 8192
239#endif
240
241/* Number of entries by which start-condition stack grows. */
242#ifndef YY_START_STACK_INCR
243#define YY_START_STACK_INCR 25
244#endif
245
246/* Default declaration of generated scanner - a define so the user can
247 * easily add parameters.
248 */
249#ifndef YY_DECL
250#define YY_DECL_IS_OURS 1
251#define YY_DECL int yyFlexLexer::yylex()
252#endif /* !YY_DECL */
253
254/* yy_get_previous_state - get the state just before the EOB char was reached */
255
256#undef YY_NEW_FILE
257#undef YY_FLUSH_BUFFER
258#undef yy_set_bol
259#undef yy_new_buffer
260#undef yy_set_interactive
261#undef YY_DO_BEFORE_ACTION
262
263#ifdef YY_DECL_IS_OURS
264#undef YY_DECL_IS_OURS
265#undef YY_DECL
266#endif
267
268#line 82 "conv_f8tof1_scanner.l"
269
270
271#line 272 "conv_f8tof1_scanner.h"
272#undef yyIN_HEADER
273#endif /* yyHEADER_H */
Note: See TracBrowser for help on using the repository browser.