slow_blink 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,486 @@
1
+ #ifndef yyHEADER_H
2
+ #define yyHEADER_H 1
3
+ #define yyIN_HEADER 1
4
+
5
+ #line 6 "ext/slow_blink/ext_schema_parser/lexer.h"
6
+ #line 36 "ext/slow_blink/ext_schema_parser/parser.l"
7
+
8
+ #include "common.h"
9
+
10
+
11
+
12
+
13
+ #line 14 "ext/slow_blink/ext_schema_parser/lexer.h"
14
+
15
+ #define YY_INT_ALIGNED short int
16
+
17
+ /* A lexical scanner generated by flex */
18
+
19
+ /* %not-for-header */
20
+
21
+ #define FLEX_SCANNER
22
+ #define YY_FLEX_MAJOR_VERSION 2
23
+ #define YY_FLEX_MINOR_VERSION 5
24
+ #define YY_FLEX_SUBMINOR_VERSION 35
25
+ #if YY_FLEX_SUBMINOR_VERSION > 0
26
+ #define FLEX_BETA
27
+ #endif
28
+
29
+ /* %if-c++-only */
30
+ /* %endif */
31
+
32
+ /* %if-c-only */
33
+
34
+ /* %endif */
35
+
36
+ /* %if-c-only */
37
+
38
+ /* %endif */
39
+
40
+ /* First, we deal with platform-specific or compiler-specific issues. */
41
+
42
+ /* begin standard C headers. */
43
+ /* %if-c-only */
44
+ #include <stdio.h>
45
+ #include <string.h>
46
+ #include <errno.h>
47
+ #include <stdlib.h>
48
+ /* %endif */
49
+
50
+ /* %if-tables-serialization */
51
+ /* %endif */
52
+ /* end standard C headers. */
53
+
54
+ /* %if-c-or-c++ */
55
+ /* flex integer type definitions */
56
+
57
+ #ifndef FLEXINT_H
58
+ #define FLEXINT_H
59
+
60
+ /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
61
+
62
+ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
63
+
64
+ /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
65
+ * if you want the limit (max/min) macros for int types.
66
+ */
67
+ #ifndef __STDC_LIMIT_MACROS
68
+ #define __STDC_LIMIT_MACROS 1
69
+ #endif
70
+
71
+ #include <inttypes.h>
72
+ typedef int8_t flex_int8_t;
73
+ typedef uint8_t flex_uint8_t;
74
+ typedef int16_t flex_int16_t;
75
+ typedef uint16_t flex_uint16_t;
76
+ typedef int32_t flex_int32_t;
77
+ typedef uint32_t flex_uint32_t;
78
+ #else
79
+ typedef signed char flex_int8_t;
80
+ typedef short int flex_int16_t;
81
+ typedef int flex_int32_t;
82
+ typedef unsigned char flex_uint8_t;
83
+ typedef unsigned short int flex_uint16_t;
84
+ typedef unsigned int flex_uint32_t;
85
+
86
+ /* Limits of integral types. */
87
+ #ifndef INT8_MIN
88
+ #define INT8_MIN (-128)
89
+ #endif
90
+ #ifndef INT16_MIN
91
+ #define INT16_MIN (-32767-1)
92
+ #endif
93
+ #ifndef INT32_MIN
94
+ #define INT32_MIN (-2147483647-1)
95
+ #endif
96
+ #ifndef INT8_MAX
97
+ #define INT8_MAX (127)
98
+ #endif
99
+ #ifndef INT16_MAX
100
+ #define INT16_MAX (32767)
101
+ #endif
102
+ #ifndef INT32_MAX
103
+ #define INT32_MAX (2147483647)
104
+ #endif
105
+ #ifndef UINT8_MAX
106
+ #define UINT8_MAX (255U)
107
+ #endif
108
+ #ifndef UINT16_MAX
109
+ #define UINT16_MAX (65535U)
110
+ #endif
111
+ #ifndef UINT32_MAX
112
+ #define UINT32_MAX (4294967295U)
113
+ #endif
114
+
115
+ #endif /* ! C99 */
116
+
117
+ #endif /* ! FLEXINT_H */
118
+
119
+ /* %endif */
120
+
121
+ /* %if-c++-only */
122
+ /* %endif */
123
+
124
+ #ifdef __cplusplus
125
+
126
+ /* The "const" storage-class-modifier is valid. */
127
+ #define YY_USE_CONST
128
+
129
+ #else /* ! __cplusplus */
130
+
131
+ /* C99 requires __STDC__ to be defined as 1. */
132
+ #if defined (__STDC__)
133
+
134
+ #define YY_USE_CONST
135
+
136
+ #endif /* defined (__STDC__) */
137
+ #endif /* ! __cplusplus */
138
+
139
+ #ifdef YY_USE_CONST
140
+ #define yyconst const
141
+ #else
142
+ #define yyconst
143
+ #endif
144
+
145
+ /* %not-for-header */
146
+
147
+ /* %not-for-header */
148
+
149
+ /* %if-reentrant */
150
+
151
+ /* An opaque pointer. */
152
+ #ifndef YY_TYPEDEF_YY_SCANNER_T
153
+ #define YY_TYPEDEF_YY_SCANNER_T
154
+ typedef void* yyscan_t;
155
+ #endif
156
+
157
+ /* For convenience, these vars (plus the bison vars far below)
158
+ are macros in the reentrant scanner. */
159
+ #define yyin yyg->yyin_r
160
+ #define yyout yyg->yyout_r
161
+ #define yyextra yyg->yyextra_r
162
+ #define yyleng yyg->yyleng_r
163
+ #define yytext yyg->yytext_r
164
+ #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
165
+ #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
166
+ #define yy_flex_debug yyg->yy_flex_debug_r
167
+
168
+ /* %endif */
169
+
170
+ /* %if-not-reentrant */
171
+ /* %endif */
172
+
173
+ /* Size of default input buffer. */
174
+ #ifndef YY_BUF_SIZE
175
+ #ifdef __ia64__
176
+ /* On IA-64, the buffer size is 16k, not 8k.
177
+ * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
178
+ * Ditto for the __ia64__ case accordingly.
179
+ */
180
+ #define YY_BUF_SIZE 32768
181
+ #else
182
+ #define YY_BUF_SIZE 16384
183
+ #endif /* __ia64__ */
184
+ #endif
185
+
186
+ #ifndef YY_TYPEDEF_YY_BUFFER_STATE
187
+ #define YY_TYPEDEF_YY_BUFFER_STATE
188
+ typedef struct yy_buffer_state *YY_BUFFER_STATE;
189
+ #endif
190
+
191
+ /* %if-not-reentrant */
192
+ /* %endif */
193
+
194
+ /* %if-c-only */
195
+ /* %if-not-reentrant */
196
+ /* %endif */
197
+ /* %endif */
198
+
199
+ #ifndef YY_TYPEDEF_YY_SIZE_T
200
+ #define YY_TYPEDEF_YY_SIZE_T
201
+ typedef size_t yy_size_t;
202
+ #endif
203
+
204
+ #ifndef YY_STRUCT_YY_BUFFER_STATE
205
+ #define YY_STRUCT_YY_BUFFER_STATE
206
+ struct yy_buffer_state
207
+ {
208
+ /* %if-c-only */
209
+ FILE *yy_input_file;
210
+ /* %endif */
211
+
212
+ /* %if-c++-only */
213
+ /* %endif */
214
+
215
+ char *yy_ch_buf; /* input buffer */
216
+ char *yy_buf_pos; /* current position in input buffer */
217
+
218
+ /* Size of input buffer in bytes, not including room for EOB
219
+ * characters.
220
+ */
221
+ yy_size_t yy_buf_size;
222
+
223
+ /* Number of characters read into yy_ch_buf, not including EOB
224
+ * characters.
225
+ */
226
+ int yy_n_chars;
227
+
228
+ /* Whether we "own" the buffer - i.e., we know we created it,
229
+ * and can realloc() it to grow it, and should free() it to
230
+ * delete it.
231
+ */
232
+ int yy_is_our_buffer;
233
+
234
+ /* Whether this is an "interactive" input source; if so, and
235
+ * if we're using stdio for input, then we want to use getc()
236
+ * instead of fread(), to make sure we stop fetching input after
237
+ * each newline.
238
+ */
239
+ int yy_is_interactive;
240
+
241
+ /* Whether we're considered to be at the beginning of a line.
242
+ * If so, '^' rules will be active on the next match, otherwise
243
+ * not.
244
+ */
245
+ int yy_at_bol;
246
+
247
+ int yy_bs_lineno; /**< The line count. */
248
+ int yy_bs_column; /**< The column count. */
249
+
250
+ /* Whether to try to fill the input buffer when we reach the
251
+ * end of it.
252
+ */
253
+ int yy_fill_buffer;
254
+
255
+ int yy_buffer_status;
256
+
257
+ };
258
+ #endif /* !YY_STRUCT_YY_BUFFER_STATE */
259
+
260
+ /* %if-c-only Standard (non-C++) definition */
261
+ /* %not-for-header */
262
+
263
+ /* %endif */
264
+
265
+ /* %if-c-only Standard (non-C++) definition */
266
+
267
+ /* %if-not-reentrant */
268
+ /* %not-for-header */
269
+
270
+ /* %endif */
271
+
272
+ void yyrestart (FILE *input_file ,yyscan_t yyscanner );
273
+ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
274
+ YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
275
+ void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
276
+ void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
277
+ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
278
+ void yypop_buffer_state (yyscan_t yyscanner );
279
+
280
+ YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
281
+ YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
282
+ YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
283
+
284
+ /* %endif */
285
+
286
+ void *yyalloc (yy_size_t ,yyscan_t yyscanner );
287
+ void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
288
+ void yyfree (void * ,yyscan_t yyscanner );
289
+
290
+ /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
291
+ /* Begin user sect3 */
292
+
293
+ #define yywrap(n) 1
294
+ #define YY_SKIP_YYWRAP
295
+
296
+ #define FLEX_DEBUG
297
+
298
+ #define yytext_ptr yytext_r
299
+
300
+ /* %if-c-only Standard (non-C++) definition */
301
+
302
+ /* %endif */
303
+
304
+ #ifdef YY_HEADER_EXPORT_START_CONDITIONS
305
+ #define INITIAL 0
306
+ #define LITERAL_C 1
307
+ #define LITERAL_A 2
308
+
309
+ #endif
310
+
311
+ #ifndef YY_NO_UNISTD_H
312
+ /* Special case for "unistd.h", since it is non-ANSI. We include it way
313
+ * down here because we want the user's section 1 to have been scanned first.
314
+ * The user has a chance to override it with an option.
315
+ */
316
+ /* %if-c-only */
317
+ #include <unistd.h>
318
+ /* %endif */
319
+ /* %if-c++-only */
320
+ /* %endif */
321
+ #endif
322
+
323
+ #ifndef YY_EXTRA_TYPE
324
+ #define YY_EXTRA_TYPE void *
325
+ #endif
326
+
327
+ /* %if-c-only Reentrant structure and macros (non-C++). */
328
+ /* %if-reentrant */
329
+
330
+ /* %if-c-only */
331
+
332
+ /* %endif */
333
+
334
+ /* %if-reentrant */
335
+
336
+ int yylex_init (yyscan_t* scanner);
337
+
338
+ int yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
339
+
340
+ /* %endif */
341
+
342
+ /* %endif End reentrant structures and macros. */
343
+
344
+ /* Accessor methods to globals.
345
+ These are made visible to non-reentrant scanners for convenience. */
346
+
347
+ int yylex_destroy (yyscan_t yyscanner );
348
+
349
+ int yyget_debug (yyscan_t yyscanner );
350
+
351
+ void yyset_debug (int debug_flag ,yyscan_t yyscanner );
352
+
353
+ YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
354
+
355
+ void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
356
+
357
+ FILE *yyget_in (yyscan_t yyscanner );
358
+
359
+ void yyset_in (FILE * in_str ,yyscan_t yyscanner );
360
+
361
+ FILE *yyget_out (yyscan_t yyscanner );
362
+
363
+ void yyset_out (FILE * out_str ,yyscan_t yyscanner );
364
+
365
+ int yyget_leng (yyscan_t yyscanner );
366
+
367
+ char *yyget_text (yyscan_t yyscanner );
368
+
369
+ int yyget_lineno (yyscan_t yyscanner );
370
+
371
+ void yyset_lineno (int line_number ,yyscan_t yyscanner );
372
+
373
+ /* %if-bison-bridge */
374
+
375
+ YYSTYPE * yyget_lval (yyscan_t yyscanner );
376
+
377
+ void yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
378
+
379
+ YYLTYPE *yyget_lloc (yyscan_t yyscanner );
380
+
381
+ void yyset_lloc (YYLTYPE * yylloc_param ,yyscan_t yyscanner );
382
+
383
+ /* %endif */
384
+
385
+ /* Macros after this point can all be overridden by user definitions in
386
+ * section 1.
387
+ */
388
+
389
+ #ifndef YY_SKIP_YYWRAP
390
+ #ifdef __cplusplus
391
+ extern "C" int yywrap (yyscan_t yyscanner );
392
+ #else
393
+ extern int yywrap (yyscan_t yyscanner );
394
+ #endif
395
+ #endif
396
+
397
+ /* %not-for-header */
398
+
399
+ /* %endif */
400
+
401
+ #ifndef yytext_ptr
402
+ static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
403
+ #endif
404
+
405
+ #ifdef YY_NEED_STRLEN
406
+ static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
407
+ #endif
408
+
409
+ #ifndef YY_NO_INPUT
410
+ /* %if-c-only Standard (non-C++) definition */
411
+ /* %not-for-header */
412
+
413
+ /* %endif */
414
+ #endif
415
+
416
+ /* %if-c-only */
417
+
418
+ /* %endif */
419
+
420
+ /* Amount of stuff to slurp up with each read. */
421
+ #ifndef YY_READ_BUF_SIZE
422
+ #ifdef __ia64__
423
+ /* On IA-64, the buffer size is 16k, not 8k */
424
+ #define YY_READ_BUF_SIZE 16384
425
+ #else
426
+ #define YY_READ_BUF_SIZE 8192
427
+ #endif /* __ia64__ */
428
+ #endif
429
+
430
+ /* Number of entries by which start-condition stack grows. */
431
+ #ifndef YY_START_STACK_INCR
432
+ #define YY_START_STACK_INCR 25
433
+ #endif
434
+
435
+ /* %if-tables-serialization structures and prototypes */
436
+ /* %not-for-header */
437
+
438
+ /* %not-for-header */
439
+
440
+ /* Default declaration of generated scanner - a define so the user can
441
+ * easily add parameters.
442
+ */
443
+ #ifndef YY_DECL
444
+ #define YY_DECL_IS_OURS 1
445
+ /* %if-c-only Standard (non-C++) definition */
446
+
447
+ extern int yylex \
448
+ (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner);
449
+
450
+ #define YY_DECL int yylex \
451
+ (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
452
+ /* %endif */
453
+ /* %if-c++-only C++ definition */
454
+ /* %endif */
455
+ #endif /* !YY_DECL */
456
+
457
+ /* %not-for-header */
458
+
459
+ /* %if-c++-only */
460
+ /* %not-for-header */
461
+
462
+ /* %endif */
463
+
464
+ /* yy_get_previous_state - get the state just before the EOB char was reached */
465
+
466
+ /* %if-c-only */
467
+ /* %not-for-header */
468
+
469
+ #undef YY_NEW_FILE
470
+ #undef YY_FLUSH_BUFFER
471
+ #undef yy_set_bol
472
+ #undef yy_new_buffer
473
+ #undef yy_set_interactive
474
+ #undef YY_DO_BEFORE_ACTION
475
+
476
+ #ifdef YY_DECL_IS_OURS
477
+ #undef YY_DECL_IS_OURS
478
+ #undef YY_DECL
479
+ #endif
480
+
481
+ #line 116 "ext/slow_blink/ext_schema_parser/parser.l"
482
+
483
+
484
+ #line 485 "ext/slow_blink/ext_schema_parser/lexer.h"
485
+ #undef yyIN_HEADER
486
+ #endif /* yyHEADER_H */