#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
Go to the source code of this file.
◆ FLEX_BETA
◆ FLEX_SCANNER
◆ FLEXINT_H
◆ INT16_MAX
◆ INT16_MIN
◆ INT32_MAX
#define INT32_MAX (2147483647) |
◆ INT32_MIN
#define INT32_MIN (-2147483647-1) |
◆ INT8_MAX
◆ INT8_MIN
◆ ppy_IN_HEADER
◆ SIZE_MAX
◆ UINT16_MAX
◆ UINT32_MAX
#define UINT32_MAX (4294967295U) |
◆ UINT8_MAX
◆ YY_BUF_SIZE
◆ yy_create_buffer
◆ YY_DECL
◆ YY_DECL_IS_OURS
◆ yy_delete_buffer
◆ YY_EXTRA_TYPE
◆ yy_flex_debug
◆ YY_FLEX_MAJOR_VERSION
#define YY_FLEX_MAJOR_VERSION 2 |
◆ YY_FLEX_MINOR_VERSION
#define YY_FLEX_MINOR_VERSION 6 |
◆ YY_FLEX_SUBMINOR_VERSION
#define YY_FLEX_SUBMINOR_VERSION 4 |
◆ yy_flush_buffer
◆ yy_init_buffer
◆ YY_INT_ALIGNED
◆ yy_load_buffer_state
◆ YY_READ_BUF_SIZE
◆ yy_scan_buffer
◆ yy_scan_bytes
◆ yy_scan_string
◆ YY_START_STACK_INCR
#define YY_START_STACK_INCR 25 |
◆ YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE |
◆ yy_switch_to_buffer
◆ YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE |
◆ YY_TYPEDEF_YY_SIZE_T
◆ yyalloc
◆ yyconst
◆ yyensure_buffer_stack
◆ yyfree
◆ yyget_debug
◆ yyget_extra
◆ yyget_in
◆ yyget_leng
◆ yyget_lineno
◆ yyget_out
◆ yyget_text
◆ yyin
◆ yyleng
◆ yylex
◆ yylex_destroy
◆ yylex_init
#define yylex_init ppy_lex_init |
◆ yylex_init_extra
#define yylex_init_extra ppy_lex_init_extra |
◆ yylineno
◆ yynoreturn
◆ yyout
◆ yypop_buffer_state
◆ yypush_buffer_state
◆ yyrealloc
◆ yyrestart
◆ yyset_debug
◆ yyset_extra
◆ yyset_in
◆ yyset_lineno
◆ yyset_out
◆ yytext
◆ yytext_ptr
◆ yywrap
◆ flex_int16_t
◆ flex_int32_t
◆ flex_int8_t
◆ flex_uint16_t
◆ flex_uint32_t
◆ flex_uint8_t
◆ YY_BUFFER_STATE
◆ yy_size_t
◆ yy_create_buffer()
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.
Definition at line 1351 of file macro.lex.yy.c.
1359 b->yy_buf_size =
size;
1364 b->yy_ch_buf = (
char *)
yyalloc(
b->yy_buf_size + 2 );
1365 if ( !
b->yy_ch_buf )
1368 b->yy_is_our_buffer = 1;
#define YY_FATAL_ERROR(msg)
void * yyalloc(yy_size_t)
GLboolean GLboolean GLboolean b
static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file)
struct yy_buffer_state * YY_BUFFER_STATE
◆ yy_delete_buffer()
Destroy the buffer.
- Parameters
-
Definition at line 1379 of file macro.lex.yy.c.
1388 if (
b->yy_is_our_buffer )
1389 yyfree((
void *)
b->yy_ch_buf );
#define YY_CURRENT_BUFFER_LVALUE
GLboolean GLboolean GLboolean b
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_CURRENT_BUFFER
◆ yy_flush_buffer()
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 . |
Definition at line 1426 of file macro.lex.yy.c.
1440 b->yy_buf_pos = &
b->yy_ch_buf[0];
GLboolean GLboolean GLboolean b
#define YY_END_OF_BUFFER_CHAR
static void yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
◆ yy_scan_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.
Definition at line 1553 of file macro.lex.yy.c.
1567 b->yy_buf_size =
size - 2;
1568 b->yy_buf_pos =
b->yy_ch_buf =
base;
1569 b->yy_is_our_buffer = 0;
1570 b->yy_input_file = 0;
1571 b->yy_n_chars =
b->yy_buf_size;
1572 b->yy_is_interactive = 0;
1574 b->yy_fill_buffer = 0;
#define YY_FATAL_ERROR(msg)
void * yyalloc(yy_size_t)
GLboolean GLboolean GLboolean b
#define YY_END_OF_BUFFER_CHAR
void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
struct yy_buffer_state * YY_BUFFER_STATE
◆ yy_scan_bytes()
◆ yy_scan_string()
◆ yy_switch_to_buffer()
Switch to a different input buffer.
- Parameters
-
new_buffer | The new input buffer. |
Definition at line 1306 of file macro.lex.yy.c.
#define YY_CURRENT_BUFFER_LVALUE
static void yyensure_buffer_stack(void)
static int yy_did_buffer_switch_on_eof
static yy_size_t yy_n_chars
static void yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
◆ yyalloc()
◆ yyfree()
◆ yyget_debug()
◆ yyget_extra()
◆ yyget_in()
◆ yyget_leng()
◆ yyget_lineno()
◆ yyget_out()
◆ yyget_text()
◆ yylex()
◆ yylex_destroy()
Definition at line 1769 of file macro.lex.yy.c.
void yy_delete_buffer(YY_BUFFER_STATE b)
#define YY_CURRENT_BUFFER_LVALUE
static int yy_init_globals(void)
static YY_BUFFER_STATE * yy_buffer_stack
void yypop_buffer_state(void)
#define YY_CURRENT_BUFFER
◆ yypop_buffer_state()
Removes and deletes the top of the stack, if present. The next element becomes the new top.
Definition at line 1485 of file macro.lex.yy.c.
void yy_delete_buffer(YY_BUFFER_STATE b)
static size_t yy_buffer_stack_top
#define YY_CURRENT_BUFFER_LVALUE
static int yy_did_buffer_switch_on_eof
static void yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
◆ yypush_buffer_state()
Pushes the new state onto the stack. The new state becomes the current state. This function will allocate the stack if necessary.
- Parameters
-
Definition at line 1455 of file macro.lex.yy.c.
1457 if (new_buffer ==
NULL)
static size_t yy_buffer_stack_top
#define YY_CURRENT_BUFFER_LVALUE
static void yyensure_buffer_stack(void)
static int yy_did_buffer_switch_on_eof
static yy_size_t yy_n_chars
static void yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
◆ yyrealloc()
◆ yyrestart()
Immediately switch to a different input stream.
- Parameters
-
input_file | A readable stream. |
- Note
- This function does not reset the start condition to
INITIAL
.
Definition at line 1289 of file macro.lex.yy.c.
#define YY_CURRENT_BUFFER_LVALUE
static void yyensure_buffer_stack(void)
static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file)
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
static void yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
◆ yyset_debug()
◆ yyset_extra()
◆ yyset_in()
◆ yyset_lineno()
void yyset_lineno |
( |
int |
line_number | ) |
|
◆ yyset_out()
◆ yywrap()
◆ yyin
◆ yyleng
◆ yylineno
◆ yyout
◆ yytext