#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#define BEGIN (yy_start) = 1 + 2 * |
#define EOB_ACT_CONTINUE_SCAN 0 |
#define EOB_ACT_END_OF_FILE 1 |
#define EOB_ACT_LAST_MATCH 2 |
#define INT16_MAX (32767) |
#define INT16_MIN (-32767-1) |
#define INT32_MAX (2147483647) |
#define INT32_MIN (-2147483647-1) |
#define min |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) <= (b) ? (a) : (b)) |
#define REJECT reject_used_but_not_detected |
#define UINT16_MAX (65535U) |
#define UINT32_MAX (4294967295U) |
#define YY_BUF_SIZE 16384 |
#define YY_BUFFER_EOF_PENDING 2 |
#define YY_BUFFER_NORMAL 1 |
#define YY_CURRENT_BUFFER |
Value:( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
#define YY_DECL int yylex (void) |
#define YY_DECL_IS_OURS 1 |
#define YY_DO_BEFORE_ACTION |
Value:
(yy_hold_char) = *
yy_cp; \
register char * yy_bp
Definition: parser_def.c:682
#define yytext_ptr
Definition: parser_def.c:346
register char * yy_cp
Definition: parser_def.c:682
int yyleng
Definition: parser_def.c:275
#define YY_END_OF_BUFFER 12 |
#define YY_END_OF_BUFFER_CHAR 0 |
#define YY_EXIT_FAILURE 2 |
#define YY_EXTRA_TYPE void * |
#define YY_FATAL_ERROR |
( |
|
msg | ) |
yy_fatal_error( msg ) |
#define YY_FLEX_MAJOR_VERSION 2 |
#define YY_FLEX_MINOR_VERSION 5 |
#define YY_FLEX_SUBMINOR_VERSION 35 |
#define YY_INT_ALIGNED short int |
#define YY_LESS_LINENO |
( |
|
n | ) |
|
#define YY_READ_BUF_SIZE 16384 |
#define YY_RESTORE_YY_MORE_OFFSET |
#define YY_SC_TO_UI |
( |
|
c | ) |
((unsigned int) (unsigned char) c) |
#define yy_set_bol |
( |
|
at_bol | ) |
|
Value:
yyensure_buffer_stack ();
\
}
#define YY_CURRENT_BUFFER
Definition: parser_def.c:263
#define YY_BUF_SIZE
Definition: parser_def.c:144
#define YY_CURRENT_BUFFER_LVALUE
Definition: parser_def.c:270
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
Definition: parser_def.c:1306
FILE * yyin
Definition: parser_def.c:337
if(!(yy_init))
Definition: parser_def.c:690
#define yy_set_interactive |
( |
|
is_interactive | ) |
|
Value:
yyensure_buffer_stack ();
\
}
#define YY_CURRENT_BUFFER
Definition: parser_def.c:263
#define YY_BUF_SIZE
Definition: parser_def.c:144
#define YY_CURRENT_BUFFER_LVALUE
Definition: parser_def.c:270
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
Definition: parser_def.c:1306
FILE * yyin
Definition: parser_def.c:337
if(!(yy_init))
Definition: parser_def.c:690
#define YY_START (((yy_start) - 1) / 2) |
#define YY_START_STACK_INCR 25 |
#define YY_STRUCT_YY_BUFFER_STATE |
#define YY_TYPEDEF_YY_BUFFER_STATE |
#define YY_TYPEDEF_YY_SIZE_T |
Value:do \
{ \
\
int yyless_macro_arg = (n);
\
register char * yy_bp
Definition: parser_def.c:682
#define YY_RESTORE_YY_MORE_OFFSET
Definition: parser_def.c:463
#define YY_LESS_LINENO(n)
Definition: parser_def.c:164
register char * yy_cp
Definition: parser_def.c:682
#define YY_MORE_ADJ
Definition: parser_def.c:462
while(1)
Definition: parser_def.c:716
#define YY_DO_BEFORE_ACTION
Definition: parser_def.c:356
Value:do \
{ \
\
int yyless_macro_arg = (n);
\
(yy_c_buf_p) =
yytext + yyless_macro_arg; \
(yy_hold_char) = *(yy_c_buf_p); \
char * yytext
Definition: parser_def.c:464
#define YY_LESS_LINENO(n)
Definition: parser_def.c:164
int yyleng
Definition: parser_def.c:275
while(1)
Definition: parser_def.c:716
#define yymore |
( |
| ) |
yymore_used_but_not_detected |
#define YYTABLES_NAME "yytables" |
#define yyterminate |
( |
| ) |
return YY_NULL |
int synaps__yyinput |
( |
char * |
buf, |
|
|
int |
max_size |
|
) |
| |
Allocate and initialize an input buffer state.
- Parameters
-
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
- Returns
- the allocated buffer state.
Destroy the buffer.
- Parameters
-
Discard all buffered characters. On the next scan, YY_INPUT will be called.
- Parameters
-
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
Setup the input buffer state to scan directly from a user-specified character buffer.
- Parameters
-
base | the character buffer |
size | the size in bytes of the character buffer |
- Returns
- the newly allocated buffer state object.
Setup the input buffer state to scan the given bytes. The next call to yylex() will scan from a copy of bytes.
- Parameters
-
yybytes | the byte buffer to scan |
_yybytes_len | the number of bytes in the buffer pointed to by bytes. |
- Returns
- the newly allocated buffer state object.
Setup the input buffer state to scan a string. The next call to yylex() will scan from a copy of str.
- Parameters
-
yystr | a NUL-terminated string to scan |
- Returns
- the newly allocated buffer state object.
- Note
- If you want to scan bytes that may contain NUL values, then use yy_scan_bytes() instead.
Switch to a different input buffer.
- Parameters
-
new_buffer | The new input buffer. |
void yyfree |
( |
void * |
ptr | ) |
|
Get the length of the current token.
int yyget_lineno |
( |
void |
| ) |
|
Get the current line number.
FILE * yyget_out |
( |
void |
| ) |
|
char * yyget_text |
( |
void |
| ) |
|
int yylex_destroy |
( |
void |
| ) |
|
void yypop_buffer_state |
( |
void |
| ) |
|
Removes and deletes the top of the stack, if present. The next element becomes the new top.
Pushes the new state onto the stack. The new state becomes the current state. This function will allocate the stack if necessary.
- Parameters
-
void * yyrealloc |
( |
void * |
ptr, |
|
|
yy_size_t |
size |
|
) |
| |
void yyrestart |
( |
FILE * |
input_file | ) |
|
Immediately switch to a different input stream.
- Parameters
-
input_file | A readable stream. |
- Note
- This function does not reset the start condition to
INITIAL
.
void yyset_debug |
( |
int |
debug_flag | ) |
|
void yyset_in |
( |
FILE * |
in_str | ) |
|
Set the input stream. This does not discard the current input buffer.
- Parameters
-
- See also
- yy_switch_to_buffer
void yyset_lineno |
( |
int |
line_number | ) |
|
Set the current line number.
- Parameters
-
void yyset_out |
( |
FILE * |
out_str | ) |
|
char* synaps_inputlim = 0 |
char* synaps_inputptr = 0 |
The main scanner function which does all the work.
FILE * yyout = (FILE *) 0 |