Cross reference for er/lex.er_yy.c of index.

# File er/lex.er_yy.c

## Included Files

- `#include <stdio.h>`

- `#include "/home/shane/code/RIP/include/erroutines.h"`
  - `#include <stdio.h>`
  - `#include <unistd.h>`
  - `#include <stdlib.h>`
  - `#include <assert.h>`
  - `#include <time.h>`
  - `#include <stdarg.h>`
  - `#include <strings.h>`
  - `#include <sys/param.h>`
  - `#include </ncc/dbwork/platforms/yucca-debug/glib-indep/include/glib-1.2/glib.h>`
  - `#include <pthread.h>`
  - `#include </home/shane/code/RIP/include/bitmask.h>`
  - `#include </home/shane/code/RIP/include/stubs.h>`
  - `#include "/home/shane/code/RIP/include/thread.h"`
    - `#include <pthread.h>`
  - `#include <pthread.h>`
  - `#include "/home/shane/code/RIP/include/er_facilities.h"`
    - `#include </home/shane/code/RIP/include/erroutines.h>`
    - `#include "/home/shane/code/RIP/include/er_RX_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_ER_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_IP_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_UP_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_UT_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_WH_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_RP_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_QI_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_QC_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_PW_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_SK_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_TH_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_SQ_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_PM_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_MM_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_SV_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_AC_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_UD_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_PA_errors.h"`
    - `#include "/home/shane/code/RIP/include/er_PC_errors.h"`
    - `#include "/home/shane/code/RIP/include/erroutines.h"`
  - `#include "/home/shane/code/RIP/include/er_aspects.h"`
    - `#include "/home/shane/code/RIP/include/erroutines.h"`
  - `#include "/home/shane/code/RIP/include/er_formats.h"`

- `#include "/home/shane/code/RIP/include/er.yacc.tab.h"`

- `#include "string.h"`

- `#include "/home/shane/code/RIP/include/er_yacc_helper.h"`

- `#include "/home/shane/code/RIP/include/memwrap.h"`
  - `#include <erroutines.h>`
  - `#include <glib.h>`

- `#include <stdlib.h>`

## Preprocessor definitions

`#define yy_create_buffer er_yy_create_buffer`

`#define yy_delete_buffer er_yy_delete_buffer`

`#define yy_scan_buffer er_yy_scan_buffer`

`#define yy_scan_string er_yy_scan_string`

`#define yy_scan_bytes er_yy_scan_bytes`

`#define yy_flex_debug er_yy_flex_debug`

`#define yy_init_buffer er_yy_init_buffer`

`#define yy_flush_buffer er_yy_flush_buffer`

`#define yy_load_buffer_state er_yy_load_buffer_state`

`#define yy_switch_to_buffer er_yy_switch_to_buffer`

`#define yyin er_yyin`

`#define yyleng er_yyleng`

`#define yylex er_yylex`

`#define yyout er_yyout`

`#define yyrestart er_yyrestart`

`#define yytext er_yytext`

`#define FLEX_SCANNER`

`#define YY_FLEX_MAJOR_VERSION 2`

`#define YY_FLEX_MINOR_VERSION 5`

`#define YY_USE_PROTOS`

`#define YY_USE_CONST`

`#define yyconst const`

`#define YY_PROTO( proto )`

`#define YY_NULL 0`

`#define YY_SC_TO_UI( c )`

`#define BEGIN`

`#define YY_START`

`#define YYSTATE YY_START`

`#define YY_STATE_EOF( state )`

`#define YY_NEW_FILE`

`#define YY_END_OF_BUFFER_CHAR 0`

`#define YY_BUF_SIZE 16384`

`#define EOB_ACT_CONTINUE_SCAN 0`

`#define EOB_ACT_END_OF_FILE 1`

`#define EOB_ACT_LAST_MATCH 2`

`#define yyless( n )`

`#define unput( c )`

`#define YY_BUFFER_NEW 0`

`#define YY_BUFFER_NORMAL 1`

`#define YY_BUFFER_EOF_PENDING 2`

`#define YY_CURRENT_BUFFER yy_current_buffer`

`#define YY_FLUSH_BUFFER`

`#define yy_new_buffer yy_create_buffer`

`#define yy_set_interactive( is_interactive )`

`#define yy_set_bol( at_bol )`

`#define YY_AT_BOL`

`#define yywrap`

`#define YY_SKIP_YYWRAP`

`#define yytext_ptr yytext`

`#define YY_DO_BEFORE_ACTION`

`#define YY_NUM_RULES 31`

`#define YY_END_OF_BUFFER 32`

`#define REJECT reject_used_but_not_detected`

`#define yymore`

`#define YY_MORE_ADJ 0`

`#define YY_RESTORE_YY_MORE_OFFSET`

`#define INITIAL 0`

`#define YY_DECL`

`#define YY_USER_ACTION`

`#define YY_NO_UNPUT`

`#define YY_NO_PUSH_STATE 1`

`#define YY_NO_POP_STATE 1`

`#define YY_NO_TOP_STATE 1`

`#define YY_READ_BUF_SIZE 8192`

`#define ECHO`

`#define YY_INPUT( buf, result, max_size )`

`#define yyterminate`

`#define YY_START_STACK_INCR 25`

`#define YY_FATAL_ERROR( msg )`

`#define YY_BREAK break`

`#define YY_RULE_SETUP YY_USER_ACTION`

`#define YY_EXIT_FAILURE 2`

`#define yyless( n )`

## Typedef YY_BUFFER_STATE

`typedef struct yy_buffer_state* YY_BUFFER_STATE`

See:
  - Type struct yy_buffer_state

## Typedef yy_size_t

`typedef unsigned int yy_size_t`

## Type struct yy_buffer_state

`struct yy_buffer_state`

`struct yy_buffer_state` |
`{` |
`FILE* yy_input_file;` |
`char* yy_ch_buf;` |
`char* yy_buf_pos;` |
`yy_size_t yy_buf_size;` |
`int yy_n_chars;` |
`int yy_is_our_buffer;` |
`int yy_is_interactive;` |
`int yy_at_bol;` |
`int yy_fill_buffer;` |
`int yy_buffer_status;` |
`}` |

## Typedef YY_CHAR

`typedef unsigned char YY_CHAR`

## Typedef yy_state_type

`typedef int yy_state_type`

## Global Variable er_yyleng

`int er_yyleng`

Visible in: |  | er/lex.er_yy.c
Used in: | er_yylex() | er/lex.er_yy.c

## Global Variable er_yyin

`FILE* er_yyin`

Visible in: |  | er/lex.er_yy.c
Used in: | er_yy_load_buffer_state() | er/lex.er_yy.c
| er_yylex() | er/lex.er_yy.c
| er_yyrestart() | er/lex.er_yy.c
| input() | er/lex.er_yy.c
| yy_get_next_buffer() | er/lex.er_yy.c

## Global Variable er_yyout

`FILE* er_yyout`

Visible in: |  | er/lex.er_yy.c
Used in: | er_yylex() | er/lex.er_yy.c

## Global Variable er_yytext

`char* er_yytext`

Visible in: |  | er/lex.er_yy.c
Used in: | er_yy_load_buffer_state() | er/lex.er_yy.c
| er_yylex() | er/lex.er_yy.c
| input() | er/lex.er_yy.c
| yy_get_next_buffer() | er/lex.er_yy.c
| yy_get_previous_state() | er/lex.er_yy.c

## Global Variable errorColon

`int errorColon`

Visible in: |  | er/lex.er_yy.c

## Local Variables

yy_current_buffer
`static YY_BUFFER_STATE yy_current_buffer`

Used in: | er_yy_delete_buffer()
| er_yy_flush_buffer()
| er_yy_load_buffer_state()
| er_yy_switch_to_buffer()
| er_yylex()
| er_yyrestart()
| input()
| lexcleancurbuf()
| yy_get_next_buffer()

yy_hold_char
`static char yy_hold_char`

Used in: | er_yy_load_buffer_state()
| er_yy_switch_to_buffer()
| er_yylex()
| input()

yy_n_chars
`static int yy_n_chars`

Used in: | er_yy_load_buffer_state()
| er_yy_switch_to_buffer()
| er_yylex()
| input()
| yy_get_next_buffer()

yy_c_buf_p
`static char* yy_c_buf_p`

Used in: | er_yy_load_buffer_state()
| er_yy_switch_to_buffer()
| er_yylex()
| input()
| yy_get_next_buffer()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_init
`static int yy_init`

Used in: | er_yylex()

yy_start
`static int yy_start`

Used in: | er_yylex()
| yy_get_previous_state()

yy_did_buffer_switch_on_eof
`static int yy_did_buffer_switch_on_eof`

Used in: | er_yy_switch_to_buffer()
| er_yylex()
| input()

yy_accept
`static const short int yy_accept[90]`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_ec
`static const int yy_ec[256]`

Used in: | er_yylex()
| yy_get_previous_state()

yy_meta
`static const int yy_meta[36]`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_base
`static const short int yy_base[93]`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_def
`static const short int yy_def[93]`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_nxt
`static const short int yy_nxt[150]`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_chk
`static const short int yy_chk[150]`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_last_accepting_state
`static yy_state_type yy_last_accepting_state`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

yy_last_accepting_cpos
`static char* yy_last_accepting_cpos`

Used in: | er_yylex()
| yy_get_previous_state()
| yy_try_NUL_trans()

## Global Function er_yy_create_buffer()

`YY_BUFFER_STATE er_yy_create_buffer ( FILE* file, int size )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_init_buffer() | er/lex.er_yy.c
| yy_fatal_error() | er/lex.er_yy.c
| yy_flex_alloc() | er/lex.er_yy.c
Called by: | er_yylex() | er/lex.er_yy.c
| er_yyrestart() | er/lex.er_yy.c

## Global Function er_yy_delete_buffer()

`void er_yy_delete_buffer ( YY_BUFFER_STATE b )`

Prototyped in: | er/lex.er_yy.c
Calls: | yy_flex_free() | er/lex.er_yy.c
Called by: | lexcleancurbuf() | er/lex.er_yy.c
References Variables: | yy_current_buffer | er/lex.er_yy.c

## Global Function er_yy_flush_buffer()

`void er_yy_flush_buffer ( YY_BUFFER_STATE b )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_load_buffer_state() | er/lex.er_yy.c
Called by: | er_yy_init_buffer() | er/lex.er_yy.c
References Variables: | yy_current_buffer | er/lex.er_yy.c

## Global Function er_yy_init_buffer()

`void er_yy_init_buffer ( YY_BUFFER_STATE b, FILE* file )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_flush_buffer() | er/lex.er_yy.c
| fileno(), isatty()
Called by: | er_yy_create_buffer() | er/lex.er_yy.c
| er_yyrestart() | er/lex.er_yy.c

## Global Function er_yy_load_buffer_state()

`void er_yy_load_buffer_state ( void )`

Prototyped in: | er/lex.er_yy.c
Called by: | er_yy_flush_buffer() | er/lex.er_yy.c
| er_yy_switch_to_buffer() | er/lex.er_yy.c
| er_yylex() | er/lex.er_yy.c
| er_yyrestart() | er/lex.er_yy.c
References Variables: | er_yyin | er/lex.er_yy.c
| er_yytext | er/lex.er_yy.c
| yy_c_buf_p | er/lex.er_yy.c
| yy_current_buffer | er/lex.er_yy.c
| yy_hold_char | er/lex.er_yy.c
| yy_n_chars | er/lex.er_yy.c

## Global Function er_yy_scan_buffer()

`YY_BUFFER_STATE er_yy_scan_buffer ( char* base, yy_size_t size )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_switch_to_buffer() | er/lex.er_yy.c
| yy_fatal_error() | er/lex.er_yy.c
| yy_flex_alloc() | er/lex.er_yy.c
Called by: | er_yy_scan_bytes() | er/lex.er_yy.c

## Global Function er_yy_scan_bytes()

`YY_BUFFER_STATE er_yy_scan_bytes ( const char* bytes, int len )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_scan_buffer() | er/lex.er_yy.c
| yy_fatal_error() | er/lex.er_yy.c
| yy_flex_alloc() | er/lex.er_yy.c
Called by: | er_yy_scan_string() | er/lex.er_yy.c

## Global Function er_yy_scan_string()

`YY_BUFFER_STATE er_yy_scan_string ( const char* yy_str )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_scan_bytes() | er/lex.er_yy.c
Called by: | ER_parse_spec() | er/er.yacc.tab.c

## Global Function er_yy_switch_to_buffer()

`void er_yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_load_buffer_state() | er/lex.er_yy.c
Called by: | ER_parse_spec() | er/er.yacc.tab.c
| er_yy_scan_buffer() | er/lex.er_yy.c
References Variables: | yy_c_buf_p | er/lex.er_yy.c
| yy_current_buffer | er/lex.er_yy.c
| yy_did_buffer_switch_on_eof | er/lex.er_yy.c
| yy_hold_char | er/lex.er_yy.c
| yy_n_chars | er/lex.er_yy.c

## Global Function er_yylex()

`int er_yylex ( YYSTYPE* yylval, lexerr_t* erst )`

Prototyped in: | /home/shane/code/RIP/include/er_yacc_helper.h
Calls: | er_yy_create_buffer() | er/lex.er_yy.c
| er_yy_load_buffer_state() | er/lex.er_yy.c
| er_yyrestart() | er/lex.er_yy.c
| yy_fatal_error() | er/lex.er_yy.c
| yy_get_next_buffer() | er/lex.er_yy.c
| yy_get_previous_state() | er/lex.er_yy.c
| yy_try_NUL_trans() | er/lex.er_yy.c
| UT_strdup_real(), atoi(), fwrite(), sscanf(), strdup()
Called by: | er_yyparse() | er/er.yacc.tab.c
References Variables: | er_yyin | er/lex.er_yy.c
| er_yyleng | er/lex.er_yy.c
| er_yyout | er/lex.er_yy.c
| er_yytext | er/lex.er_yy.c
| yy_accept | er/lex.er_yy.c
| yy_base | er/lex.er_yy.c
| yy_c_buf_p | er/lex.er_yy.c
| yy_chk | er/lex.er_yy.c
| yy_current_buffer | er/lex.er_yy.c
| yy_def | er/lex.er_yy.c
| yy_did_buffer_switch_on_eof | er/lex.er_yy.c
| yy_ec | er/lex.er_yy.c
| yy_hold_char | er/lex.er_yy.c
| yy_init | er/lex.er_yy.c
| yy_last_accepting_cpos | er/lex.er_yy.c
| yy_last_accepting_state | er/lex.er_yy.c
| yy_meta | er/lex.er_yy.c
| yy_n_chars | er/lex.er_yy.c
| yy_nxt | er/lex.er_yy.c
| yy_start | er/lex.er_yy.c

## Global Function er_yyrestart()

`void er_yyrestart ( FILE* input_file )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yy_create_buffer() | er/lex.er_yy.c
| er_yy_init_buffer() | er/lex.er_yy.c
| er_yy_load_buffer_state() | er/lex.er_yy.c
Called by: | er_yylex() | er/lex.er_yy.c
| input() | er/lex.er_yy.c
| yy_get_next_buffer() | er/lex.er_yy.c
References Variables: | er_yyin | er/lex.er_yy.c
| yy_current_buffer | er/lex.er_yy.c

## Global Function lexcleancurbuf()

`void lexcleancurbuf ( void )`

Prototyped in: | /home/shane/code/RIP/include/er_yacc_helper.h
Calls: | er_yy_delete_buffer() | er/lex.er_yy.c
Called by: | ER_parse_spec() | er/er.yacc.tab.c
References Variables: | yy_current_buffer | er/lex.er_yy.c

## Local Function asctime_r()

`static char* asctime_r ( const struct tm* __tm, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_asctime_r()

## Local Function ctime_r()

`static char* ctime_r ( const time_t* __time, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_ctime_r()

## Local Function getlogin_r()

`static int getlogin_r ( char* __name, int __len )`

Included from: | /usr/include/unistd.h
Calls: | __posix_getlogin_r()

## Local Function input()

`static int input ( void )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yyrestart() | er/lex.er_yy.c
| input() | er/lex.er_yy.c
| yy_get_next_buffer() | er/lex.er_yy.c
Called by: | input() | er/lex.er_yy.c
References Variables: | er_yyin | er/lex.er_yy.c
| er_yytext | er/lex.er_yy.c
| yy_c_buf_p | er/lex.er_yy.c
| yy_current_buffer | er/lex.er_yy.c
| yy_did_buffer_switch_on_eof | er/lex.er_yy.c
| yy_hold_char | er/lex.er_yy.c
| yy_n_chars | er/lex.er_yy.c

## Local Function ttyname_r()

`static int ttyname_r ( int __fildes, char* __buf, size_t __size )`

Included from: | /usr/include/unistd.h
Calls: | __posix_ttyname_r()

## Local Function yy_fatal_error()

`static void yy_fatal_error ( const char msg[] )`

Prototyped in: | er/lex.er_yy.c
Calls: | exit(), fprintf()
Called by: | er_yy_create_buffer() | er/lex.er_yy.c
| er_yy_scan_buffer() | er/lex.er_yy.c
| er_yy_scan_bytes() | er/lex.er_yy.c
| er_yylex() | er/lex.er_yy.c
| yy_get_next_buffer() | er/lex.er_yy.c

## Local Function yy_flex_alloc()

`static void* yy_flex_alloc ( yy_size_t size )`

Prototyped in: | er/lex.er_yy.c
Calls: | malloc()
Called by: | er_yy_create_buffer() | er/lex.er_yy.c
| er_yy_scan_buffer() | er/lex.er_yy.c
| er_yy_scan_bytes() | er/lex.er_yy.c

## Local Function yy_flex_free()

`static void yy_flex_free ( void* ptr )`

Prototyped in: | er/lex.er_yy.c
Calls: | free()
Called by: | er_yy_delete_buffer() | er/lex.er_yy.c

## Local Function yy_flex_realloc()

`static void* yy_flex_realloc ( void* ptr, yy_size_t size )`

Prototyped in: | er/lex.er_yy.c
Calls: | realloc()
Called by: | yy_get_next_buffer() | er/lex.er_yy.c

## Local Function yy_get_next_buffer()

`static int yy_get_next_buffer ( void )`

Prototyped in: | er/lex.er_yy.c
Calls: | er_yyrestart() | er/lex.er_yy.c
| yy_fatal_error() | er/lex.er_yy.c
| yy_flex_realloc() | er/lex.er_yy.c
| ferror(), fread(), getc()
Called by: | er_yylex() | er/lex.er_yy.c
| input() | er/lex.er_yy.c
References Variables: | er_yyin | er/lex.er_yy.c
| er_yytext | er/lex.er_yy.c
| yy_c_buf_p | er/lex.er_yy.c
| yy_current_buffer | er/lex.er_yy.c
| yy_n_chars | er/lex.er_yy.c

## Local Function yy_get_previous_state()

`static yy_state_type yy_get_previous_state ( void )`

Prototyped in: | er/lex.er_yy.c
Called by: | er_yylex() | er/lex.er_yy.c
References Variables: | er_yytext | er/lex.er_yy.c
| yy_accept | er/lex.er_yy.c
| yy_base | er/lex.er_yy.c
| yy_c_buf_p | er/lex.er_yy.c
| yy_chk | er/lex.er_yy.c
| yy_def | er/lex.er_yy.c
| yy_ec | er/lex.er_yy.c
| yy_last_accepting_cpos | er/lex.er_yy.c
| yy_last_accepting_state | er/lex.er_yy.c
| yy_meta | er/lex.er_yy.c
| yy_nxt | er/lex.er_yy.c
| yy_start | er/lex.er_yy.c

## Local Function yy_try_NUL_trans()

`static yy_state_type yy_try_NUL_trans ( yy_state_type yy_current_state )`

Prototyped in: | er/lex.er_yy.c
Called by: | er_yylex() | er/lex.er_yy.c
References Variables: | yy_accept | er/lex.er_yy.c
| yy_base | er/lex.er_yy.c
| yy_c_buf_p | er/lex.er_yy.c
| yy_chk | er/lex.er_yy.c
| yy_def | er/lex.er_yy.c
| yy_last_accepting_cpos | er/lex.er_yy.c
| yy_last_accepting_state | er/lex.er_yy.c
| yy_meta | er/lex.er_yy.c
| yy_nxt | er/lex.er_yy.c