![]() |
GnuCOBOL
2.0
A free COBOL compiler
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "config.h"
#include <ctype.h>
#include "cobc.h"
#include "tree.h"
#include "parser.h"
Data Structures | |
struct | yy_buffer_state |
struct | yy_trans_info |
struct | cb_level_78 |
struct | cb_top_level_78 |
Typedefs | |
typedef signed char | flex_int8_t |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef unsigned char | flex_uint8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef unsigned char | YY_CHAR |
typedef int | yy_state_type |
Functions | |
void | yyrestart (FILE *input_file) |
Immediately switch to a different input stream. More... | |
void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
Switch to a different input buffer. More... | |
YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
Allocate and initialize an input buffer state. More... | |
void | yy_delete_buffer (YY_BUFFER_STATE b) |
Destroy the buffer. More... | |
void | yy_flush_buffer (YY_BUFFER_STATE b) |
Discard all buffered characters. More... | |
void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
Pushes the new state onto the stack. More... | |
void | yypop_buffer_state (void) |
Removes and deletes the top of the stack, if present. More... | |
static void | yyensure_buffer_stack (void) |
static void | yy_load_buffer_state (void) |
static void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
YY_BUFFER_STATE | yy_scan_string (yyconst char *yy_str) |
YY_BUFFER_STATE | yy_scan_bytes (yyconst char *bytes, int len) |
void * | yyalloc (yy_size_t) |
void * | yyrealloc (void *, yy_size_t) |
void | yyfree (void *) |
static yy_state_type | yy_get_previous_state (void) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
static int | yy_get_next_buffer (void) |
static void | yy_fatal_error (yyconst char msg[]) |
static void | read_literal (const int) |
static int | scan_x (char *, const int) |
static int | scan_z (char *, const int, const cob_u32_t) |
static int | scan_h (char *, const int) |
static int | scan_numeric (char *) |
static int | scan_floating_numeric (const char *) |
static void | scan_picture (char *) |
static void | count_lines (const char *) |
static void | scan_define_options (const char *) |
static void | scan_options (const char *, const unsigned int) |
static int | yy_init_globals (void) |
Get the current token. More... | |
int | yylex_destroy (void) |
static void | yyunput (int c, char *buf_ptr) |
static int | input (void) |
int | yylex (void) |
if (likely(current_program)) | |
if (last_token_is_dot) | |
if (!(yy_init)) | |
while (1) | |
static void | yyunput (int c, register char *yy_bp) |
static void | yy_fatal_error (yyconst char *msg) |
static int | can_replace (const char *src1, const char *src2, const size_t size, const size_t iteration) |
static const char * | check_78_replace (const cb_tree p) |
static void | cb_add_const_var (const char *name, cb_tree value) |
void | ylex_clear_all (void) |
void | ylex_call_destroy (void) |
void | cb_unput_dot (void) |
void | cb_reset_78 (void) |
void | cb_reset_global_78 (void) |
void | cb_add_78 (struct cb_field *f) |
struct cb_field * | check_level_78 (const char *name) |
void | cobc_init_scanner (void) |
Variables | |
int | yyleng |
FILE * | yyin = (FILE *) 0 |
FILE * | yyout = (FILE *) 0 |
static size_t | yy_buffer_stack_top = 0 |
index of top of stack. More... | |
static size_t | yy_buffer_stack_max = 0 |
capacity of stack. More... | |
static YY_BUFFER_STATE * | yy_buffer_stack = 0 |
Stack as an array. More... | |
static char | yy_hold_char |
static int | yy_n_chars |
static char * | yy_c_buf_p = (char *) 0 |
static int | yy_init = 0 |
static int | yy_start = 0 |
static int | yy_did_buffer_switch_on_eof |
int | yylineno = 1 |
char * | yytext |
static yyconst flex_int16_t | yy_accept [841] |
static yyconst flex_int32_t | yy_ec [256] |
static yyconst flex_int32_t | yy_meta [84] |
static yyconst flex_int16_t | yy_base [869] |
static yyconst flex_int16_t | yy_def [869] |
static yyconst flex_int16_t | yy_nxt [3140] |
static yyconst flex_int16_t | yy_chk [3140] |
static yy_state_type | yy_last_accepting_state |
static char * | yy_last_accepting_cpos |
int | yy_flex_debug = 0 |
static struct cb_level_78 * | top78ptr = NULL |
static struct cb_level_78 * | const78ptr = NULL |
static struct cb_level_78 * | lev78ptr = NULL |
static struct cb_level_78 * | globlev78ptr = NULL |
static unsigned char * | plexbuff = NULL |
static char * | picbuff1 = NULL |
static char * | picbuff2 = NULL |
static size_t | plexsize |
static size_t | pic1size |
static size_t | pic2size |
static unsigned int | last_token_is_dot = 0 |
static unsigned int | integer_is_label = 0 |
static unsigned int | inside_bracket = 0 |
static unsigned char | valid_char [256] |
static const unsigned char | pvalid_char [] |
YY_DECL | |
The main scanner function which does all the work. More... | |
register char * | yy_cp |
register char * | yy_bp |
register int | yy_act |
else | |
#define COB_IN_SCANNER 1 |
#define EOB_ACT_CONTINUE_SCAN 0 |
Referenced by input(), while(), and yy_get_next_buffer().
#define EOB_ACT_END_OF_FILE 1 |
Referenced by input(), while(), and yy_get_next_buffer().
#define EOB_ACT_LAST_MATCH 2 |
Referenced by input(), while(), and yy_get_next_buffer().
#define FLEX_BETA |
#define FLEX_SCANNER |
#define FLEXINT_H |
#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 SET_LOCATION | ( | x | ) |
Referenced by read_literal(), scan_floating_numeric(), scan_h(), scan_numeric(), scan_x(), scan_z(), and while().
#define UINT16_MAX (65535U) |
#define UINT32_MAX (4294967295U) |
#define UINT8_MAX (255U) |
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Referenced by cb_unput_dot(), read_literal(), scan_picture(), and while().
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Referenced by while(), and yy_get_previous_state().
#define YY_BUF_SIZE 16384 |
#define YY_BUF_SIZE 32768 |
#define YY_BUFFER_EOF_PENDING 2 |
Referenced by yy_get_next_buffer().
#define YY_BUFFER_NEW 0 |
Referenced by while(), and yy_flush_buffer().
#define YY_CURRENT_BUFFER |
Referenced by if(), yy_delete_buffer(), yy_flush_buffer(), yy_get_next_buffer(), yy_init_buffer(), yy_switch_to_buffer(), yylex_destroy(), yypop_buffer_state(), yypush_buffer_state(), and yyrestart().
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
#define YY_DECL_IS_OURS 1 |
#define YY_DO_BEFORE_ACTION |
Referenced by while().
#define YY_END_OF_BUFFER_CHAR 0 |
Referenced by input(), yy_flush_buffer(), and yy_get_next_buffer().
#define YY_EXIT_FAILURE 2 |
Referenced by yy_fatal_error().
#define YY_EXTRA_TYPE void * |
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Referenced by while(), yy_create_buffer(), yy_get_next_buffer(), yyensure_buffer_stack(), and yyunput().
#define YY_FLEX_MAJOR_VERSION 2 |
#define YY_FLEX_MINOR_VERSION 5 |
#define YY_FLEX_SUBMINOR_VERSION 35 |
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) |
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Referenced by yy_get_next_buffer().
#define YY_INT_ALIGNED short int |
#define YY_LESS_LINENO | ( | n | ) |
#define YY_MORE_ADJ 0 |
Referenced by while(), yy_get_next_buffer(), and yy_get_previous_state().
#define yy_new_buffer yy_create_buffer |
#define YY_NO_UNISTD_H 1 |
#define YY_NULL 0 |
#define YY_NUM_RULES 129 |
#define YY_READ_BUF_SIZE 32768 |
Referenced by yy_get_next_buffer().
#define YY_RULE_SETUP |
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Referenced by while(), and yy_get_previous_state().
#define yy_set_bol | ( | at_bol | ) |
#define yy_set_interactive | ( | is_interactive | ) |
#define YY_SKIP_YYWRAP |
#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) |
Referenced by while().
#define YY_STRUCT_YY_BUFFER_STATE |
#define YY_TYPEDEF_YY_BUFFER_STATE |
#define YY_TYPEDEF_YY_SIZE_T |
#define YY_USER_ACTION |
#define YY_USER_INIT |
Referenced by if().
#define yyconst |
#define yyless | ( | n | ) |
#define yyless | ( | n | ) |
#define yymore | ( | ) | yymore_used_but_not_detected |
#define YYTABLES_NAME "yytables" |
Referenced by input(), while(), yy_get_next_buffer(), yy_get_previous_state(), yy_load_buffer_state(), and yyunput().
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_state* YY_BUFFER_STATE |
typedef unsigned char YY_CHAR |
typedef size_t yy_size_t |
typedef int yy_state_type |
|
static |
void cb_add_78 | ( | struct cb_field * | f | ) |
|
static |
References cb_build_constant(), cb_build_reference(), CB_FIELD, cb_validate_78_item(), CB_VALUE, check_78_replace(), cb_level_78::chk_const, cob_u32_t, cobc_malloc(), const78ptr, cb_field::flag_is_global, cb_field::flag_item_78, cb_level_78::fld78, cb_level_78::globnext, cb_level_78::last, cb_field::level, cb_field::name, cb_level_78::name_len, cb_level_78::next, NULL, cb_level_78::pic_len, cb_level_78::pic_replace, cb_level_78::prog, and cb_field::values.
Referenced by scan_define_options().
void cb_reset_78 | ( | void | ) |
void cb_reset_global_78 | ( | void | ) |
void cb_unput_dot | ( | void | ) |
|
static |
References cb_high, CB_LITERAL, CB_LITERAL_P, cb_low, cb_null, cb_quote, cb_space, cb_zero, and NULL.
Referenced by cb_add_78(), and cb_add_const_var().
|
read |
|
static |
if | ( | likely(current_program) | ) |
References BEGIN, current_program, DECIMAL_IS_COMMA, DECIMAL_IS_PERIOD, cb_program::decimal_point, and likely.
if | ( | last_token_is_dot | ) |
if | ( | ! | yy_init | ) |
|
static |
References EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, yy_c_buf_p, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, YY_END_OF_BUFFER_CHAR, yy_get_next_buffer(), yy_hold_char, yy_n_chars, YY_NEW_FILE, yyin, yyrestart(), yytext_ptr, and yywrap.
Referenced by read_literal(), and while().
|
static |
References _, cb_build_alphanumeric_literal(), cb_warning(), cob_u8_t, cobc_realloc(), input(), SET_LOCATION, unput, and yylval.
Referenced by while().
|
static |
References _, cb_add_const_var(), cb_build_alphanumeric_literal(), cb_build_numeric_literal(), cb_error(), COB_MAX_DIGITS, cobc_free(), cobc_strdup(), cb_level_78::fld78, cb_level_78::globnext, cb_field::name, NULL, p, and sign.
Referenced by while().
|
static |
References _, cb_build_numeric_literal(), cb_error(), LITERAL, SET_LOCATION, sign, and yylval.
Referenced by while().
|
static |
References _, cb_build_numeric_literal(), cb_error(), cb_error_node, CB_FMT_LLU, cob_u64_t, LITERAL, p, SET_LOCATION, and yylval.
Referenced by while().
|
static |
References _, cb_build_numeric_literal(), cb_error(), COB_MAX_DIGITS, current_program, cb_program::decimal_point, LITERAL, SET_LOCATION, sign, unlikely, and yylval.
Referenced by while().
|
static |
References COB_UNUSED.
Referenced by while().
|
static |
References can_replace(), cb_build_picture(), cb_level_78::fld78, cb_level_78::globnext, cb_field::name, cb_level_78::name_len, p, cb_level_78::pic_len, cb_level_78::pic_replace, unput, and yylval.
Referenced by while().
|
static |
References _, cb_build_alphanumeric_literal(), cb_error(), cb_error_node, cob_u8_t, cobc_realloc(), LITERAL, plexbuff, SET_LOCATION, and yylval.
Referenced by while().
|
static |
References cb_build_alphanumeric_literal(), CB_LITERAL, cobc_realloc(), LITERAL, plexbuff, SET_LOCATION, and yylval.
Referenced by while().
while | ( | 1 | ) |
References _, BEGIN, BOTTOM, cb_build_alphanumeric_literal(), cb_build_comment(), cb_build_reference(), CB_CHAIN, CB_CS_EXIT, cb_error(), cb_error_node, CB_FUNCTION_TYPE, cb_intrinsic_list, CB_LITERAL, cb_source_file, cb_source_line, CB_SYSTEM_NAME_P, CB_VALUE, CB_WORD_COUNT, CB_WORD_ITEMS, cb_level_78::chk_const, COB_MAX_WORDLEN, cobc_cs_check, cobc_force_literal, cobc_free(), cobc_in_procedure, cobc_in_repository, cobc_parse_strdup(), cobc_strdup(), COMMA_DELIM, count_lines(), current_program, DECIMAL_IS_COMMA, DECIMAL_IS_PERIOD, EC, END, END_FUNCTION, END_PROGRAM, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, EOP, EQUAL, EVENT_STATUS, EXCEPTION, EXCEPTION_CONDITION, EXPONENTIATION, cb_level_78::fld78, FROM_CRT, FUNCTION, FUNCTION_NAME, cb_program::function_spec_list, FUNCTION_STATE, functions_are_all, cb_level_78::globnext, GREATER, GREATER_OR_EQUAL, INITIAL, input(), INVALID_KEY, LENGTH_OF, LESS, LESS_OR_EQUAL, LITERAL, lookup_intrinsic(), lookup_reserved_word(), MNEMONIC_NAME, cb_field::name, cb_text_list::next, cb_level_78::next, NEXT_PAGE, NO_ADVANCING, cobc_reserved::nodegen, non_const_word, cb_level_78::not_const, NOT_END, NOT_EOP, NOT_EQUAL, NOT_EXCEPTION, NOT_INVALID_KEY, NOT_OVERFLOW, NOT_SIZE_ERROR, NULL, cb_program::orig_program_id, PICTURE, PICTURE_STATE, PICTURE_SYMBOL, cb_level_78::prog, cb_program::prog_type, PROGRAM_NAME, read_literal(), READY_TRACE, REPLACING, REPO_FUNCTION, RESET_TRACE, scan_define_options(), scan_floating_numeric(), scan_h(), scan_numeric(), scan_options(), scan_picture(), scan_x(), scan_z(), SCREEN_CONTROL, SEMI_COLON, SET_LOCATION, SIZE_ERROR, cb_text_list::text, TOK_AMPER, TOK_CLOSE_PAREN, TOK_COLON, TOK_DIV, TOK_DOT, TOK_EQUAL, TOK_GREATER, TOK_LESS, TOK_MINUS, TOK_MUL, TOK_OPEN_PAREN, TOK_OVERFLOW, TOK_PLUS, cobc_reserved::token, cb_intrinsic_table::token, TOP, unlikely, unput, UPON_ARGUMENT_NUMBER, UPON_COMMAND_LINE, UPON_ENVIRONMENT_NAME, UPON_ENVIRONMENT_VALUE, USER_FUNCTION_NAME, USER_REPO_FUNCTION, cb_program::user_spec_list, cb_field::values, warningopt, WORD, YY_AT_BOL, YY_BREAK, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_c_buf_p, yy_cp, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_get_next_buffer(), yy_get_previous_state(), yy_hold_char, yy_last_accepting_cpos, yy_last_accepting_state, YY_MORE_ADJ, yy_n_chars, YY_NEW_FILE, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, yy_start, YY_STATE_EOF, yy_try_NUL_trans(), yyin, yyleng, yylval, yyterminate, yytext_ptr, and yywrap.
void ylex_call_destroy | ( | void | ) |
References NULL, and yylex_destroy().
void ylex_clear_all | ( | void | ) |
References cobc_free(), and NULL.
YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, |
int | size | ||
) |
Allocate and initialize an input buffer state.
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
References yy_buffer_state::yy_buf_size, yy_buffer_state::yy_ch_buf, YY_FATAL_ERROR, yy_init_buffer(), yy_buffer_state::yy_is_our_buffer, and yyalloc().
Referenced by if(), and yyrestart().
void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with yy_create_buffer() |
References yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_buffer_state::yy_is_our_buffer, and yyfree().
Referenced by yylex_destroy(), and yypop_buffer_state().
|
static |
|
static |
References YY_EXIT_FAILURE.
void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_END_OF_BUFFER_CHAR, yy_load_buffer_state(), and yy_buffer_state::yy_n_chars.
Referenced by yy_init_buffer().
|
static |
References EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, yy_c_buf_p, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, YY_INPUT, yy_buffer_state::yy_is_our_buffer, YY_MORE_ADJ, yy_n_chars, YY_READ_BUF_SIZE, yyin, yyrealloc(), yyrestart(), and yytext_ptr.
Referenced by input(), and while().
|
static |
References YY_AT_BOL, yy_c_buf_p, yy_cp, yy_last_accepting_cpos, yy_last_accepting_state, YY_MORE_ADJ, YY_SC_TO_UI, yy_start, and yytext_ptr.
Referenced by while().
|
static |
|
static |
Get the current token.
References yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, yy_c_buf_p, yy_init, yy_start, yyin, and yyout.
Referenced by yylex_destroy().
|
static |
References yy_c_buf_p, YY_CURRENT_BUFFER_LVALUE, yy_hold_char, yy_n_chars, yyin, and yytext_ptr.
Referenced by if(), yy_flush_buffer(), yy_switch_to_buffer(), yypop_buffer_state(), yypush_buffer_state(), and yyrestart().
YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
YY_BUFFER_STATE yy_scan_bytes | ( | yyconst char * | bytes, |
int | len | ||
) |
YY_BUFFER_STATE yy_scan_string | ( | yyconst char * | yy_str | ) |
void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
References yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state(), yy_n_chars, and yyensure_buffer_stack().
|
static |
Referenced by yy_create_buffer(), and yyensure_buffer_stack().
|
static |
References yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, YY_FATAL_ERROR, yyalloc(), and yyrealloc().
Referenced by if(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
void yyfree | ( | void * | ptr | ) |
Referenced by yy_delete_buffer(), and yylex_destroy().
int yylex | ( | void | ) |
int yylex_destroy | ( | void | ) |
References NULL, yy_buffer_stack, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_delete_buffer(), yy_init_globals(), yyfree(), and yypop_buffer_state().
Referenced by ylex_call_destroy().
void yypop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
References NULL, yy_buffer_stack_top, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_delete_buffer(), yy_did_buffer_switch_on_eof, and yy_load_buffer_state().
Referenced by yylex_destroy().
void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. |
References NULL, yy_buffer_stack_top, yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state(), yy_n_chars, and yyensure_buffer_stack().
void * yyrealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Referenced by yy_get_next_buffer(), and yyensure_buffer_stack().
void yyrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. References YY_BUF_SIZE, yy_create_buffer(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init_buffer(), yy_load_buffer_state(), yyensure_buffer_stack(), and yyin.
Referenced by input(), and yy_get_next_buffer().
|
static |
|
static |
References if(), yy_c_buf_p, yy_cp, YY_CURRENT_BUFFER_LVALUE, YY_FATAL_ERROR, yy_hold_char, yy_n_chars, and yytext_ptr.
|
static |
Referenced by cb_add_78(), cb_add_const_var(), cb_reset_78(), and cb_reset_global_78().
else |
|
static |
Referenced by cb_add_78(), and cb_reset_78().
|
static |
|
static |
|
static |
|
static |
Referenced by cb_add_78().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
register int yy_act |
|
static |
register char * yy_bp |
|
static |
Stack as an array.
Referenced by yy_init_globals(), yyensure_buffer_stack(), and yylex_destroy().
|
static |
capacity of stack.
Referenced by yy_init_globals(), and yyensure_buffer_stack().
|
static |
index of top of stack.
Referenced by yy_init_globals(), yyensure_buffer_stack(), yypop_buffer_state(), and yypush_buffer_state().
|
static |
|
static |
register char* yy_cp |
YY_DECL |
The main scanner function which does all the work.
|
static |
|
static |
Referenced by input(), while(), yy_switch_to_buffer(), yypop_buffer_state(), and yypush_buffer_state().
|
static |
int yy_flex_debug = 0 |
|
static |
Referenced by input(), while(), yy_load_buffer_state(), yy_switch_to_buffer(), yypush_buffer_state(), and yyunput().
|
static |
Referenced by if(), and yy_init_globals().
|
static |
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
|
static |
Referenced by input(), while(), yy_get_next_buffer(), yy_load_buffer_state(), yy_switch_to_buffer(), yypush_buffer_state(), and yyunput().
|
static |
|
static |
Referenced by if(), while(), yy_get_previous_state(), and yy_init_globals().
FILE* yyin = (FILE *) 0 |
int yyleng |
Referenced by check_comments(), and while().
int yylineno = 1 |
FILE * yyout = (FILE *) 0 |
char* yytext |
Referenced by ppecho().