XINU
Data Structures | Macros | Typedefs | Functions | Variables
lex.yy.c File Reference

flexにより生成された字句解析 More...

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for lex.yy.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  yy_buffer_state
 
struct  yy_trans_info
 

Macros

#define BEGIN   (yy_start) = 1 + 2 *
 
#define ECHO
 
#define EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define FLEX_BETA
 
#define FLEX_SCANNER
 
#define FLEXINT_H
 
#define INITIAL   0
 
#define INT16_MAX   (32767)
 
#define INT16_MIN   (-32767 - 1)
 
#define INT32_MAX   (2147483647)
 
#define INT32_MIN   (-2147483647 - 1)
 
#define INT8_MAX   (127)
 
#define INT8_MIN   (-128)
 
#define REJECT   reject_used_but_not_detected
 
#define SIZE_MAX   (~(size_t)0)
 
#define UINT16_MAX   (65535U)
 
#define UINT32_MAX   (4294967295U)
 
#define UINT8_MAX   (255U)
 
#define unput(c)   yyunput(c, (yytext_ptr))
 
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 
#define YY_BREAK   /*LINTED*/ break;
 
#define YY_BUF_SIZE   16384
 
#define YY_BUFFER_EOF_PENDING   2
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_CURRENT_BUFFER
 
#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
 
#define YY_END_OF_BUFFER   28
 
#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   6
 
#define YY_FLEX_SUBMINOR_VERSION   4
 
#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER)
 
#define YY_INPUT(buf, result, max_size)
 
#define YY_INT_ALIGNED   short int
 
#define YY_LESS_LINENO(n)
 
#define YY_LINENO_REWIND_TO(ptr)
 
#define YY_MORE_ADJ   0
 
#define yy_new_buffer   yy_create_buffer
 
#define YY_NEW_FILE   yyrestart(yyin)
 
#define YY_NULL   0
 
#define YY_NUM_RULES   27
 
#define YY_READ_BUF_SIZE   8192
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define YY_RULE_SETUP   YY_USER_ACTION
 
#define YY_SC_TO_UI(c)   ((YY_CHAR)(c))
 
#define yy_set_bol(at_bol)
 
#define yy_set_interactive(is_interactive)
 
#define YY_START   (((yy_start)-1) / 2)
 
#define YY_START_STACK_INCR   25
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_STRUCT_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#define YY_USER_ACTION
 
#define yyconst   const
 
#define yyless(n)
 
#define yyless(n)
 
#define yymore()   yymore_used_but_not_detected
 
#define yynoreturn
 
#define YYSTATE   YY_START
 
#define YYTABLES_NAME   "yytables"
 
#define yyterminate()   return YY_NULL
 
#define yytext_ptr   yytext
 

Typedefs

typedef short int flex_int16_t
 
typedef int flex_int32_t
 
typedef signed char flex_int8_t
 
typedef unsigned short int flex_uint16_t
 
typedef unsigned int flex_uint32_t
 
typedef unsigned char flex_uint8_t
 
typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef flex_uint8_t YY_CHAR
 
typedef size_t yy_size_t
 
typedef int yy_state_type
 

Functions

 if (!(yy_init))
 
static int input (void)
 
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size)
 
void yy_delete_buffer (YY_BUFFER_STATE b)
 
static void yynoreturn yy_fatal_error (const char *msg)
 
void yy_flush_buffer (YY_BUFFER_STATE b)
 
static int yy_get_next_buffer (void)
 
static yy_state_type yy_get_previous_state (void)
 
static void yy_init_buffer (YY_BUFFER_STATE b, FILE *file)
 
static int yy_init_globals (void)
 
static void yy_load_buffer_state (void)
 
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size)
 
YY_BUFFER_STATE yy_scan_bytes (const char *bytes, int len)
 
YY_BUFFER_STATE yy_scan_string (const char *yy_str)
 
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 
static yy_state_type yy_try_NUL_trans (yy_state_type current_state)
 
void * yyalloc (yy_size_t)
 
static void yyensure_buffer_stack (void)
 
void yyfree (void *)
 
int yyget_debug (void)
 
YY_EXTRA_TYPE yyget_extra (void)
 
FILE * yyget_in (void)
 
int yyget_leng (void)
 
int yyget_lineno (void)
 
FILE * yyget_out (void)
 
char * yyget_text (void)
 
int yylex (void)
 
int yylex_destroy (void)
 
void yypop_buffer_state (void)
 
void yypush_buffer_state (YY_BUFFER_STATE new_buffer)
 
void * yyrealloc (void *, yy_size_t)
 
void yyrestart (FILE *input_file)
 
void yyset_debug (int debug_flag)
 
void yyset_extra (YY_EXTRA_TYPE user_defined)
 
void yyset_in (FILE *_in_str)
 
void yyset_lineno (int _line_number)
 
void yyset_out (FILE *_out_str)
 
static void yyunput (int c, char *buf_ptr)
 
int yywrap (void)
 

Variables

int brkcount
 
int linectr
 
int skipping
 
static const flex_int16_t yy_accept [60]
 
int yy_act
 
static const flex_int16_t yy_base [62]
 
char * yy_bp
 
static YY_BUFFER_STATEyy_buffer_stack = NULL
 
static size_t yy_buffer_stack_max = 0
 
static size_t yy_buffer_stack_top = 0
 
static char * yy_c_buf_p = NULL
 
static const flex_int16_t yy_chk [99]
 
char * yy_cp
 
 YY_DECL
 
static const flex_int16_t yy_def [62]
 
static int yy_did_buffer_switch_on_eof
 
static const YY_CHAR yy_ec [256]
 
int yy_flex_debug = 0
 
static char yy_hold_char
 
static int yy_init = 0
 
static char * yy_last_accepting_cpos
 
static yy_state_type yy_last_accepting_state
 
static const YY_CHAR yy_meta [27]
 
static int yy_n_chars
 
static const flex_int16_t yy_nxt [99]
 
static int yy_start = 0
 
FILE * yyin = NULL
 
int yyleng
 
int yylineno = 1
 
FILE * yyout = NULL
 
char * yytext
 

Detailed Description

flexにより生成された字句解析

Definition in file lex.yy.c.

Macro Definition Documentation

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 123 of file lex.yy.c.

◆ ECHO

#define ECHO
Value:
do \
{ \
if (fwrite(yytext, (size_t)yyleng, 1, yyout)) \
{ \
} \
} while (0)
FILE * yyout
Definition: lex.yy.c:331
int yyleng
Definition: lex.yy.c:273
char * yytext
Definition: lex.yy.c:476

Definition at line 580 of file lex.yy.c.

Referenced by if().

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 167 of file lex.yy.c.

Referenced by if().

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 168 of file lex.yy.c.

Referenced by if().

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 169 of file lex.yy.c.

Referenced by if().

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 19 of file lex.yy.c.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 14 of file lex.yy.c.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 35 of file lex.yy.c.

◆ INITIAL

#define INITIAL   0

Definition at line 485 of file lex.yy.c.

Referenced by if().

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 77 of file lex.yy.c.

◆ INT16_MIN

#define INT16_MIN   (-32767 - 1)

Definition at line 68 of file lex.yy.c.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 80 of file lex.yy.c.

◆ INT32_MIN

#define INT32_MIN   (-2147483647 - 1)

Definition at line 71 of file lex.yy.c.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 74 of file lex.yy.c.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 65 of file lex.yy.c.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 472 of file lex.yy.c.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 93 of file lex.yy.c.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 86 of file lex.yy.c.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 89 of file lex.yy.c.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 83 of file lex.yy.c.

◆ unput

#define unput (   c)    yyunput(c, (yytext_ptr))

Definition at line 185 of file lex.yy.c.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 327 of file lex.yy.c.

◆ YY_BREAK

#define YY_BREAK   /*LINTED*/ break;

Definition at line 665 of file lex.yy.c.

Referenced by if().

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 145 of file lex.yy.c.

Referenced by if().

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 247 of file lex.yy.c.

Referenced by if().

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 235 of file lex.yy.c.

Referenced by if().

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 236 of file lex.yy.c.

Referenced by if().

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
: NULL)
#define NULL
連結リスト用のNULLポインタ
Definition: kernel.h:68
static YY_BUFFER_STATE * yy_buffer_stack
Definition: lex.yy.c:254
static size_t yy_buffer_stack_top
Definition: lex.yy.c:252

Definition at line 262 of file lex.yy.c.

Referenced by if().

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 268 of file lex.yy.c.

Referenced by if().

◆ YY_DECL

#define YY_DECL   int yylex(void)

Definition at line 653 of file lex.yy.c.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 649 of file lex.yy.c.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyleng = (int)(yy_cp - yy_bp); \
*yy_cp = '\0'; \
char * yy_bp
Definition: lex.yy.c:676
char * yy_cp
Definition: lex.yy.c:676
static char * yy_c_buf_p
Definition: lex.yy.c:276
static char yy_hold_char
Definition: lex.yy.c:271
#define yytext_ptr
Definition: lex.yy.c:342

Definition at line 352 of file lex.yy.c.

Referenced by if().

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   28

Definition at line 359 of file lex.yy.c.

Referenced by if().

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 134 of file lex.yy.c.

Referenced by if().

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

Referenced by if().

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

Definition at line 496 of file lex.yy.c.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error(msg)

Definition at line 640 of file lex.yy.c.

Referenced by if().

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 15 of file lex.yy.c.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 16 of file lex.yy.c.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 17 of file lex.yy.c.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER)

Definition at line 296 of file lex.yy.c.

◆ YY_INPUT

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if (YY_CURRENT_BUFFER_LVALUE->yy_is_interactive) \
{ \
int c = '*'; \
int n; \
for (n = 0; n < max_size && \
(c = getc(yyin)) != EOF && c != '\n'; \
++n) \
buf[n] = (char)c; \
if (c == '\n') \
buf[n++] = (char)c; \
if (c == EOF && ferror(yyin)) \
YY_FATAL_ERROR("input in flex scanner failed"); \
result = n; \
} \
else \
{ \
errno = 0; \
while ((result = (int)fread(buf, 1, (yy_size_t)max_size, yyin)) == 0 && ferror(yyin)) \
{ \
if (errno != EINTR) \
{ \
YY_FATAL_ERROR("input in flex scanner failed"); \
break; \
} \
errno = 0; \
clearerr(yyin); \
} \
}
FILE * yyin
Definition: lex.yy.c:331
#define EOF
ファイルの終端(End of File)に達した場合(読み込み処理に用いる)
Definition: kernel.h:81
syscall getc(did32)
Definition: getc.c:9
size_t yy_size_t
Definition: lex.yy.c:160
#define YY_CURRENT_BUFFER_LVALUE
Definition: lex.yy.c:268

Definition at line 593 of file lex.yy.c.

Referenced by if().

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 10 of file lex.yy.c.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

Definition at line 171 of file lex.yy.c.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 172 of file lex.yy.c.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 474 of file lex.yy.c.

Referenced by if().

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 306 of file lex.yy.c.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart(yyin)

Definition at line 133 of file lex.yy.c.

Referenced by if().

◆ YY_NULL

#define YY_NULL   0

Definition at line 112 of file lex.yy.c.

◆ YY_NUM_RULES

#define YY_NUM_RULES   27

Definition at line 358 of file lex.yy.c.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 571 of file lex.yy.c.

Referenced by if().

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 475 of file lex.yy.c.

Referenced by if().

◆ YY_RULE_SETUP

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 668 of file lex.yy.c.

Referenced by if().

◆ YY_SC_TO_UI

#define YY_SC_TO_UI (   c)    ((YY_CHAR)(c))

Definition at line 117 of file lex.yy.c.

Referenced by if().

◆ yy_set_bol

#define yy_set_bol (   at_bol)
Value:
{ \
{ \
yyensure_buffer_stack(); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin, YY_BUF_SIZE); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
FILE * yyin
Definition: lex.yy.c:331
#define YY_CURRENT_BUFFER
Definition: lex.yy.c:262
#define YY_BUF_SIZE
Definition: lex.yy.c:145

Definition at line 317 of file lex.yy.c.

◆ yy_set_interactive

#define yy_set_interactive (   is_interactive)
Value:
{ \
{ \
yyensure_buffer_stack(); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin, YY_BUF_SIZE); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
FILE * yyin
Definition: lex.yy.c:331
#define YY_CURRENT_BUFFER
Definition: lex.yy.c:262
#define YY_BUF_SIZE
Definition: lex.yy.c:145

Definition at line 307 of file lex.yy.c.

◆ YY_START

#define YY_START   (((yy_start)-1) / 2)

Definition at line 128 of file lex.yy.c.

Referenced by if().

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 635 of file lex.yy.c.

◆ YY_STATE_BUF_SIZE

#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 151 of file lex.yy.c.

◆ YY_STATE_EOF

#define YY_STATE_EOF (   state)    (YY_END_OF_BUFFER + state + 1)

Definition at line 131 of file lex.yy.c.

Referenced by if().

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 188 of file lex.yy.c.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 154 of file lex.yy.c.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 159 of file lex.yy.c.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 660 of file lex.yy.c.

◆ yyconst

#define yyconst   const

Definition at line 103 of file lex.yy.c.

◆ yyless [1/2]

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg); \
YY_RESTORE_YY_MORE_OFFSET(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} while (0)
char * yy_bp
Definition: lex.yy.c:676
#define YY_MORE_ADJ
Definition: lex.yy.c:474
char * yy_cp
Definition: lex.yy.c:676
static char * yy_c_buf_p
Definition: lex.yy.c:276
static char yy_hold_char
Definition: lex.yy.c:271

Definition at line 175 of file lex.yy.c.

◆ yyless [2/2]

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg); \
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} while (0)
static char * yy_c_buf_p
Definition: lex.yy.c:276
int yyleng
Definition: lex.yy.c:273
static char yy_hold_char
Definition: lex.yy.c:271
char * yytext
Definition: lex.yy.c:476

Definition at line 175 of file lex.yy.c.

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 473 of file lex.yy.c.

◆ yynoreturn

#define yynoreturn

Definition at line 108 of file lex.yy.c.

Referenced by if().

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 129 of file lex.yy.c.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 630 of file lex.yy.c.

Referenced by if().

◆ yytext_ptr

#define yytext_ptr   yytext

Definition at line 342 of file lex.yy.c.

Referenced by if().

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 57 of file lex.yy.c.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 58 of file lex.yy.c.

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 56 of file lex.yy.c.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 60 of file lex.yy.c.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 61 of file lex.yy.c.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 59 of file lex.yy.c.

◆ YY_BUFFER_STATE

Definition at line 155 of file lex.yy.c.

◆ YY_CHAR

Definition at line 329 of file lex.yy.c.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 160 of file lex.yy.c.

◆ yy_state_type

typedef int yy_state_type

Definition at line 333 of file lex.yy.c.

Function Documentation

◆ if()

if ( yy_init)

Definition at line 679 of file lex.yy.c.

References brkcount, CLOSE, COLON, CONTROL, CSR, DEFBRK, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, exit(), fprintf(), free(), GETC, IDENT, INIT, INITIAL, input(), INTEGER, INTR, IRQ, IS, linectr, malloc(), memset(), NULL, ON, OPEN, PUTC, READ, SEEK, skipping, stderr, stdin, stdout, strlen(), WRITE, yy_accept, yy_buffer_state::yy_at_bol, yy_base, YY_BREAK, yy_buffer_state::yy_bs_column, yy_buffer_state::yy_bs_lineno, yy_buffer_state::yy_buf_pos, YY_BUF_SIZE, yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, yy_buffer_state::yy_buffer_status, yy_c_buf_p, yy_buffer_state::yy_ch_buf, yy_chk, yy_cp, yy_create_buffer(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_def, yy_delete_buffer(), yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_END_OF_BUFFER_CHAR, YY_EXIT_FAILURE, yy_fatal_error(), YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_flex_debug, yy_flush_buffer(), yy_get_next_buffer(), yy_get_previous_state(), yy_hold_char, yy_init, yy_init_buffer(), yy_init_globals(), YY_INPUT, yy_buffer_state::yy_input_file, yy_buffer_state::yy_is_interactive, yy_buffer_state::yy_is_our_buffer, yy_last_accepting_cpos, yy_last_accepting_state, yy_load_buffer_state(), yy_meta, YY_MORE_ADJ, yy_buffer_state::yy_n_chars, YY_NEW_FILE, yy_nxt, YY_READ_BUF_SIZE, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, yy_scan_buffer(), yy_scan_bytes(), yy_scan_string(), YY_START, yy_start, YY_STATE_EOF, yy_switch_to_buffer(), yy_try_NUL_trans(), yyalloc(), yyensure_buffer_stack(), yyfree(), yyget_debug(), yyget_in(), yyget_leng(), yyget_lineno(), yyget_out(), yyget_text(), yyin, yyleng, yylex_destroy(), yylineno, yynoreturn, yyout, yypop_buffer_state(), yypush_buffer_state(), yyrealloc(), yyrestart(), yyset_debug(), yyset_in(), yyset_lineno(), yyset_out(), yyterminate, yytext, yytext_ptr, yyunput(), and yywrap().

Referenced by ttyhandler(), udp_recv(), and udp_recvaddr().

680  {
681  (yy_init) = 1;
682 
683 #ifdef YY_USER_INIT
684  YY_USER_INIT;
685 #endif
686 
687  if (!(yy_start))
688  (yy_start) = 1; /* first start state */
689 
690  if (!yyin)
691  yyin = stdin;
692 
693  if (!yyout)
694  yyout = stdout;
695 
696  if (!YY_CURRENT_BUFFER)
697  {
701  }
702 
704  }
static void yyensure_buffer_stack(void)
FILE * yyin
Definition: lex.yy.c:331
#define YY_CURRENT_BUFFER
Definition: lex.yy.c:262
#define stdout
Definition: stdio.h:16
static int yy_init
Definition: lex.yy.c:277
#define YY_CURRENT_BUFFER_LVALUE
Definition: lex.yy.c:268
static int yy_start
Definition: lex.yy.c:278
#define stdin
Definition: stdio.h:15
FILE * yyout
Definition: lex.yy.c:331
static void yy_load_buffer_state(void)
#define YY_BUF_SIZE
Definition: lex.yy.c:145
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ input()

static int input ( void  )
static

Referenced by if(), and main().

Here is the caller graph for this function:

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE *  file,
int  size 
)

Referenced by if().

Here is the caller graph for this function:

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE  b)

Referenced by if().

Here is the caller graph for this function:

◆ yy_fatal_error()

static void yynoreturn yy_fatal_error ( const char *  msg)
static

Referenced by if().

Here is the caller graph for this function:

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE  b)

Referenced by if().

Here is the caller graph for this function:

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( void  )
static

Referenced by if().

Here is the caller graph for this function:

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( void  )
static

Referenced by if().

Here is the caller graph for this function:

◆ yy_init_buffer()

static void yy_init_buffer ( YY_BUFFER_STATE  b,
FILE *  file 
)
static

Referenced by if().

Here is the caller graph for this function:

◆ yy_init_globals()

static int yy_init_globals ( void  )
static

Referenced by if().

Here is the caller graph for this function:

◆ yy_load_buffer_state()

static void yy_load_buffer_state ( void  )
static

Referenced by if().

Here is the caller graph for this function:

◆ yy_scan_buffer()

YY_BUFFER_STATE yy_scan_buffer ( char *  base,
yy_size_t  size 
)

Referenced by if().

Here is the caller graph for this function:

◆ yy_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( const char *  bytes,
int  len 
)

Referenced by if().

Here is the caller graph for this function:

◆ yy_scan_string()

YY_BUFFER_STATE yy_scan_string ( const char *  yy_str)

Referenced by if().

Here is the caller graph for this function:

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

Referenced by if().

Here is the caller graph for this function:

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state)
static

Referenced by if().

Here is the caller graph for this function:

◆ yyalloc()

void* yyalloc ( yy_size_t  )

Referenced by if().

Here is the caller graph for this function:

◆ yyensure_buffer_stack()

static void yyensure_buffer_stack ( void  )
static

Referenced by if().

Here is the caller graph for this function:

◆ yyfree()

void yyfree ( void *  )

Referenced by if().

Here is the caller graph for this function:

◆ yyget_debug()

int yyget_debug ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yyget_extra()

YY_EXTRA_TYPE yyget_extra ( void  )

◆ yyget_in()

FILE* yyget_in ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yyget_leng()

int yyget_leng ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yyget_lineno()

int yyget_lineno ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yyget_out()

FILE* yyget_out ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yyget_text()

char* yyget_text ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yylex()

int yylex ( void  )

◆ yylex_destroy()

int yylex_destroy ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yypop_buffer_state()

void yypop_buffer_state ( void  )

Referenced by if().

Here is the caller graph for this function:

◆ yypush_buffer_state()

void yypush_buffer_state ( YY_BUFFER_STATE  new_buffer)

Referenced by if().

Here is the caller graph for this function:

◆ yyrealloc()

void* yyrealloc ( void *  ,
yy_size_t   
)

Referenced by if().

Here is the caller graph for this function:

◆ yyrestart()

void yyrestart ( FILE *  input_file)

Referenced by if().

Here is the caller graph for this function:

◆ yyset_debug()

void yyset_debug ( int  debug_flag)

Referenced by if().

Here is the caller graph for this function:

◆ yyset_extra()

void yyset_extra ( YY_EXTRA_TYPE  user_defined)

◆ yyset_in()

void yyset_in ( FILE *  _in_str)

Referenced by if().

Here is the caller graph for this function:

◆ yyset_lineno()

void yyset_lineno ( int  _line_number)

Referenced by if().

Here is the caller graph for this function:

◆ yyset_out()

void yyset_out ( FILE *  _out_str)

Referenced by if().

Here is the caller graph for this function:

◆ yyunput()

static void yyunput ( int  c,
char *  buf_ptr 
)
static

Referenced by if().

Here is the caller graph for this function:

◆ yywrap()

int yywrap ( void  )

Referenced by if().

Here is the caller graph for this function:

Variable Documentation

◆ brkcount

int brkcount

Definition at line 105 of file y.tab.c.

Referenced by addattr(), if(), and main().

◆ linectr

int linectr

Definition at line 100 of file y.tab.c.

Referenced by addton(), devisid(), devonid(), getattrid(), if(), newdev(), newtype(), and yyerror().

◆ skipping

int skipping

Definition at line 481 of file lex.yy.c.

Referenced by if().

◆ yy_accept

const flex_int16_t yy_accept[60]
static
Initial value:
=
{0,
0, 0, 28, 26, 23, 24, 26, 26, 26, 26,
5, 6, 4, 10, 25, 16, 18, 14, 22, 15,
19, 17, 21, 20, 23, 3, 2, 16, 18, 14,
22, 15, 19, 17, 21, 20, 1, 5, 0, 6,
25, 25, 25, 25, 8, 9, 0, 0, 0, 7,
12, 25, 13, 12, 0, 13, 11, 11, 0}

Definition at line 367 of file lex.yy.c.

Referenced by if().

◆ yy_act

int yy_act

Definition at line 677 of file lex.yy.c.

◆ yy_base

const flex_int16_t yy_base[62]
static
Initial value:
=
{0,
0, 0, 71, 72, 68, 72, 65, 61, 12, 62,
30, 32, 72, 72, 0, 43, 0, 25, 0, 47,
0, 0, 0, 0, 62, 72, 72, 40, 72, 27,
72, 72, 72, 72, 72, 72, 72, 42, 0, 44,
0, 40, 37, 39, 0, 0, 37, 31, 25, 0,
0, 22, 0, 72, 14, 72, 0, 72, 72, 55,
31}

Definition at line 413 of file lex.yy.c.

Referenced by if().

◆ yy_bp

char * yy_bp

Definition at line 676 of file lex.yy.c.

◆ yy_buffer_stack

YY_BUFFER_STATE* yy_buffer_stack = NULL
static

Stack as an array.

Definition at line 254 of file lex.yy.c.

Referenced by if().

◆ yy_buffer_stack_max

size_t yy_buffer_stack_max = 0
static

capacity of stack.

Definition at line 253 of file lex.yy.c.

Referenced by if().

◆ yy_buffer_stack_top

size_t yy_buffer_stack_top = 0
static

index of top of stack.

Definition at line 252 of file lex.yy.c.

Referenced by if().

◆ yy_c_buf_p

char* yy_c_buf_p = NULL
static

Definition at line 276 of file lex.yy.c.

Referenced by if().

◆ yy_chk

const flex_int16_t yy_chk[99]
static
Initial value:
=
{0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 9, 9, 9, 9,
9, 9, 61, 9, 9, 55, 9, 11, 11, 12,
12, 12, 18, 52, 30, 49, 18, 18, 30, 38,
38, 40, 40, 40, 48, 11, 60, 60, 47, 44,
43, 42, 28, 25, 20, 16, 10, 8, 7, 5,
3, 59, 59, 59, 59, 59, 59, 59, 59, 59,
59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
59, 59, 59, 59, 59, 59, 59, 59
}

Definition at line 448 of file lex.yy.c.

Referenced by if().

◆ yy_cp

char* yy_cp

Definition at line 676 of file lex.yy.c.

Referenced by if().

◆ YY_DECL

YY_DECL
Initial value:
{
yy_state_type yy_current_state
int yy_state_type
Definition: lex.yy.c:333

The main scanner function which does all the work.

Definition at line 674 of file lex.yy.c.

◆ yy_def

const flex_int16_t yy_def[62]
static
Initial value:
=
{0,
59, 1, 59, 59, 59, 59, 59, 59, 59, 59,
59, 59, 59, 59, 60, 60, 60, 60, 60, 60,
60, 60, 60, 60, 59, 59, 59, 59, 59, 59,
59, 59, 59, 59, 59, 59, 59, 59, 61, 59,
60, 60, 60, 60, 60, 60, 59, 59, 59, 61,
60, 60, 60, 59, 59, 59, 60, 59, 0, 59,
59}

Definition at line 423 of file lex.yy.c.

Referenced by if().

◆ yy_did_buffer_switch_on_eof

int yy_did_buffer_switch_on_eof
static

Definition at line 283 of file lex.yy.c.

Referenced by if().

◆ yy_ec

const YY_CHAR yy_ec[256]
static
Initial value:
=
{0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 1, 1, 1, 4, 1, 1, 1,
1, 5, 1, 1, 6, 1, 7, 8, 9, 9,
9, 9, 9, 9, 9, 10, 10, 11, 1, 1,
12, 1, 1, 1, 13, 13, 13, 13, 13, 13,
14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
1, 1, 1, 1, 14, 1, 13, 13, 15, 13,
13, 13, 16, 14, 17, 14, 14, 14, 14, 18,
19, 20, 21, 22, 23, 24, 14, 14, 25, 26,
14, 14, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1}

Definition at line 376 of file lex.yy.c.

Referenced by if().

◆ yy_flex_debug

int yy_flex_debug = 0

Definition at line 467 of file lex.yy.c.

Referenced by if().

◆ yy_hold_char

char yy_hold_char
static

Definition at line 271 of file lex.yy.c.

Referenced by if().

◆ yy_init

int yy_init = 0
static

Definition at line 277 of file lex.yy.c.

Referenced by if().

◆ yy_last_accepting_cpos

char* yy_last_accepting_cpos
static

Definition at line 464 of file lex.yy.c.

Referenced by if().

◆ yy_last_accepting_state

yy_state_type yy_last_accepting_state
static

Definition at line 463 of file lex.yy.c.

Referenced by if().

◆ yy_meta

const YY_CHAR yy_meta[27]
static
Initial value:
=
{0,
1, 1, 1, 1, 1, 1, 1, 2, 2, 2,
1, 1, 2, 3, 2, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3}

Definition at line 407 of file lex.yy.c.

Referenced by if().

◆ yy_n_chars

int yy_n_chars
static

Definition at line 272 of file lex.yy.c.

◆ yy_nxt

const flex_int16_t yy_nxt[99]
static
Initial value:
=
{0,
4, 5, 6, 7, 8, 9, 10, 11, 12, 12,
13, 14, 15, 15, 16, 17, 18, 19, 20, 21,
15, 22, 23, 15, 24, 15, 28, 29, 30, 31,
32, 33, 50, 34, 35, 58, 36, 38, 38, 40,
40, 40, 43, 57, 48, 56, 44, 45, 49, 38,
38, 40, 40, 40, 55, 39, 41, 41, 54, 53,
52, 51, 47, 25, 46, 42, 37, 27, 26, 25,
59, 3, 59, 59, 59, 59, 59, 59, 59, 59,
59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
59, 59, 59, 59, 59, 59, 59, 59
}

Definition at line 433 of file lex.yy.c.

Referenced by if().

◆ yy_start

int yy_start = 0
static

Definition at line 278 of file lex.yy.c.

Referenced by if().

◆ yyin

FILE * yyin = NULL

Definition at line 331 of file lex.yy.c.

Referenced by if().

◆ yyleng

int yyleng

Definition at line 273 of file lex.yy.c.

Referenced by if().

◆ yylineno

int yylineno = 1

Definition at line 336 of file lex.yy.c.

Referenced by if().

◆ yyout

FILE * yyout = NULL

Definition at line 331 of file lex.yy.c.

Referenced by if().

◆ yytext

char * yytext

Definition at line 476 of file lex.yy.c.

Referenced by if().