~ubuntu-branches/ubuntu/dapper/libapache2-mod-python/dapper-security

« back to all changes in this revision

Viewing changes to src/include/psp_flex.h

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-09-06 20:27:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040906202757-yzpyu1bcabgpjtiu
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef yyHEADER_H
 
2
#define yyHEADER_H 1
 
3
#define yyIN_HEADER 1
 
4
 
 
5
#line 6 "include/psp_flex.h"
 
6
 
 
7
#line 8 "include/psp_flex.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 31
 
17
#if YY_FLEX_SUBMINOR_VERSION > 0
 
18
#define FLEX_BETA
 
19
#endif
 
20
 
 
21
/* First, we deal with  platform-specific or compiler-specific issues. */
 
22
 
 
23
/* begin standard C headers. */
 
24
#include <stdio.h>
 
25
#include <string.h>
 
26
#include <errno.h>
 
27
#include <stdlib.h>
 
28
 
 
29
/* end standard C headers. */
 
30
 
 
31
/* flex integer type definitions */
 
32
 
 
33
#ifndef FLEXINT_H
 
34
#define FLEXINT_H
 
35
 
 
36
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
 
37
 
 
38
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
 
39
#include <inttypes.h>
 
40
typedef int8_t flex_int8_t;
 
41
typedef uint8_t flex_uint8_t;
 
42
typedef int16_t flex_int16_t;
 
43
typedef uint16_t flex_uint16_t;
 
44
typedef int32_t flex_int32_t;
 
45
typedef uint32_t flex_uint32_t;
 
46
#else
 
47
typedef signed char flex_int8_t;
 
48
typedef short int flex_int16_t;
 
49
typedef int flex_int32_t;
 
50
typedef unsigned char flex_uint8_t; 
 
51
typedef unsigned short int flex_uint16_t;
 
52
typedef unsigned int flex_uint32_t;
 
53
#endif /* ! C99 */
 
54
 
 
55
/* Limits of integral types. */
 
56
#ifndef INT8_MIN
 
57
#define INT8_MIN               (-128)
 
58
#endif
 
59
#ifndef INT16_MIN
 
60
#define INT16_MIN              (-32767-1)
 
61
#endif
 
62
#ifndef INT32_MIN
 
63
#define INT32_MIN              (-2147483647-1)
 
64
#endif
 
65
#ifndef INT8_MAX
 
66
#define INT8_MAX               (127)
 
67
#endif
 
68
#ifndef INT16_MAX
 
69
#define INT16_MAX              (32767)
 
70
#endif
 
71
#ifndef INT32_MAX
 
72
#define INT32_MAX              (2147483647)
 
73
#endif
 
74
#ifndef UINT8_MAX
 
75
#define UINT8_MAX              (255U)
 
76
#endif
 
77
#ifndef UINT16_MAX
 
78
#define UINT16_MAX             (65535U)
 
79
#endif
 
80
#ifndef UINT32_MAX
 
81
#define UINT32_MAX             (4294967295U)
 
82
#endif
 
83
 
 
84
#endif /* ! FLEXINT_H */
 
85
 
 
86
#ifdef __cplusplus
 
87
 
 
88
/* The "const" storage-class-modifier is valid. */
 
89
#define YY_USE_CONST
 
90
 
 
91
#else   /* ! __cplusplus */
 
92
 
 
93
#if __STDC__
 
94
 
 
95
#define YY_USE_CONST
 
96
 
 
97
#endif  /* __STDC__ */
 
98
#endif  /* ! __cplusplus */
 
99
 
 
100
#ifdef YY_USE_CONST
 
101
#define yyconst const
 
102
#else
 
103
#define yyconst
 
104
#endif
 
105
 
 
106
/* An opaque pointer. */
 
107
#ifndef YY_TYPEDEF_YY_SCANNER_T
 
108
#define YY_TYPEDEF_YY_SCANNER_T
 
109
typedef void* yyscan_t;
 
110
#endif
 
111
 
 
112
/* For convenience, these vars (plus the bison vars far below)
 
113
   are macros in the reentrant scanner. */
 
114
#define yyin yyg->yyin_r
 
115
#define yyout yyg->yyout_r
 
116
#define yyextra yyg->yyextra_r
 
117
#define yyleng yyg->yyleng_r
 
118
#define yytext yyg->yytext_r
 
119
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
 
120
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
 
121
#define yy_flex_debug yyg->yy_flex_debug_r
 
122
 
 
123
int yylex_init (yyscan_t* scanner);
 
124
 
 
125
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
 
126
#define YY_TYPEDEF_YY_BUFFER_STATE
 
127
typedef struct yy_buffer_state *YY_BUFFER_STATE;
 
128
#endif
 
129
 
 
130
/* The following is because we cannot portably get our hands on size_t
 
131
 * (without autoconf's help, which isn't available because we want
 
132
 * flex-generated scanners to compile on their own).
 
133
 */
 
134
 
 
135
#ifndef YY_TYPEDEF_YY_SIZE_T
 
136
#define YY_TYPEDEF_YY_SIZE_T
 
137
typedef unsigned int yy_size_t;
 
138
#endif
 
139
 
 
140
#ifndef YY_STRUCT_YY_BUFFER_STATE
 
141
#define YY_STRUCT_YY_BUFFER_STATE
 
142
struct yy_buffer_state
 
143
        {
 
144
        FILE *yy_input_file;
 
145
 
 
146
        char *yy_ch_buf;                /* input buffer */
 
147
        char *yy_buf_pos;               /* current position in input buffer */
 
148
 
 
149
        /* Size of input buffer in bytes, not including room for EOB
 
150
         * characters.
 
151
         */
 
152
        yy_size_t yy_buf_size;
 
153
 
 
154
        /* Number of characters read into yy_ch_buf, not including EOB
 
155
         * characters.
 
156
         */
 
157
        int yy_n_chars;
 
158
 
 
159
        /* Whether we "own" the buffer - i.e., we know we created it,
 
160
         * and can realloc() it to grow it, and should free() it to
 
161
         * delete it.
 
162
         */
 
163
        int yy_is_our_buffer;
 
164
 
 
165
        /* Whether this is an "interactive" input source; if so, and
 
166
         * if we're using stdio for input, then we want to use getc()
 
167
         * instead of fread(), to make sure we stop fetching input after
 
168
         * each newline.
 
169
         */
 
170
        int yy_is_interactive;
 
171
 
 
172
        /* Whether we're considered to be at the beginning of a line.
 
173
         * If so, '^' rules will be active on the next match, otherwise
 
174
         * not.
 
175
         */
 
176
        int yy_at_bol;
 
177
 
 
178
    int yy_bs_lineno; /**< The line count. */
 
179
    int yy_bs_column; /**< The column count. */
 
180
    
 
181
        /* Whether to try to fill the input buffer when we reach the
 
182
         * end of it.
 
183
         */
 
184
        int yy_fill_buffer;
 
185
 
 
186
        int yy_buffer_status;
 
187
 
 
188
        };
 
189
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
 
190
 
 
191
void yyrestart (FILE *input_file ,yyscan_t yyscanner );
 
192
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
 
193
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
 
194
void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
 
195
void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
 
196
void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
 
197
void yypop_buffer_state (yyscan_t yyscanner );
 
198
 
 
199
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
 
200
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
 
201
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
 
202
 
 
203
void *yyalloc (yy_size_t ,yyscan_t yyscanner );
 
204
void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
 
205
void yyfree (void * ,yyscan_t yyscanner );
 
206
 
 
207
/* Begin user sect3 */
 
208
 
 
209
#define yywrap(n) 1
 
210
#define YY_SKIP_YYWRAP
 
211
 
 
212
#define yytext_ptr yytext_r
 
213
 
 
214
#ifdef YY_HEADER_EXPORT_START_CONDITIONS
 
215
#define INITIAL 0
 
216
#define TEXT 1
 
217
#define PYCODE 2
 
218
#define INDENT 3
 
219
#define DIR 4
 
220
#define COMMENT 5
 
221
 
 
222
#endif
 
223
 
 
224
/* Special case for "unistd.h", since it is non-ANSI. We include it way
 
225
 * down here because we want the user's section 1 to have been scanned first.
 
226
 * The user has a chance to override it with an option.
 
227
 */
 
228
#include <unistd.h>
 
229
 
 
230
#ifndef YY_EXTRA_TYPE
 
231
#define YY_EXTRA_TYPE void *
 
232
#endif
 
233
 
 
234
static int yy_init_globals (yyscan_t yyscanner );
 
235
 
 
236
/* Accessor methods to globals.
 
237
   These are made visible to non-reentrant scanners for convenience. */
 
238
 
 
239
int yylex_destroy (yyscan_t yyscanner );
 
240
 
 
241
int yyget_debug (yyscan_t yyscanner );
 
242
 
 
243
void yyset_debug (int debug_flag ,yyscan_t yyscanner );
 
244
 
 
245
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
 
246
 
 
247
void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
 
248
 
 
249
FILE *yyget_in (yyscan_t yyscanner );
 
250
 
 
251
void yyset_in  (FILE * in_str ,yyscan_t yyscanner );
 
252
 
 
253
FILE *yyget_out (yyscan_t yyscanner );
 
254
 
 
255
void yyset_out  (FILE * out_str ,yyscan_t yyscanner );
 
256
 
 
257
int yyget_leng (yyscan_t yyscanner );
 
258
 
 
259
char *yyget_text (yyscan_t yyscanner );
 
260
 
 
261
int yyget_lineno (yyscan_t yyscanner );
 
262
 
 
263
void yyset_lineno (int line_number ,yyscan_t yyscanner );
 
264
 
 
265
/* Macros after this point can all be overridden by user definitions in
 
266
 * section 1.
 
267
 */
 
268
 
 
269
#ifndef YY_SKIP_YYWRAP
 
270
#ifdef __cplusplus
 
271
extern "C" int yywrap (yyscan_t yyscanner );
 
272
#else
 
273
extern int yywrap (yyscan_t yyscanner );
 
274
#endif
 
275
#endif
 
276
 
 
277
#ifndef yytext_ptr
 
278
static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
 
279
#endif
 
280
 
 
281
#ifdef YY_NEED_STRLEN
 
282
static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
 
283
#endif
 
284
 
 
285
#ifndef YY_NO_INPUT
 
286
 
 
287
#endif
 
288
 
 
289
/* Amount of stuff to slurp up with each read. */
 
290
#ifndef YY_READ_BUF_SIZE
 
291
#define YY_READ_BUF_SIZE 8192
 
292
#endif
 
293
 
 
294
/* Number of entries by which start-condition stack grows. */
 
295
#ifndef YY_START_STACK_INCR
 
296
#define YY_START_STACK_INCR 25
 
297
#endif
 
298
 
 
299
/* Default declaration of generated scanner - a define so the user can
 
300
 * easily add parameters.
 
301
 */
 
302
#ifndef YY_DECL
 
303
#define YY_DECL_IS_OURS 1
 
304
 
 
305
extern int yylex (yyscan_t yyscanner);
 
306
 
 
307
#define YY_DECL int yylex (yyscan_t yyscanner)
 
308
#endif /* !YY_DECL */
 
309
 
 
310
/* yy_get_previous_state - get the state just before the EOB char was reached */
 
311
 
 
312
#undef YY_NEW_FILE
 
313
#undef YY_FLUSH_BUFFER
 
314
#undef yy_set_bol
 
315
#undef yy_new_buffer
 
316
#undef yy_set_interactive
 
317
#undef yytext_ptr
 
318
#undef YY_DO_BEFORE_ACTION
 
319
 
 
320
#ifdef YY_DECL_IS_OURS
 
321
#undef YY_DECL_IS_OURS
 
322
#undef YY_DECL
 
323
#endif
 
324
#line 228 "psp_parser.l"
 
325
 
 
326
 
 
327
#line 328 "include/psp_flex.h"
 
328
#undef yyIN_HEADER
 
329
#endif /* yyHEADER_H */