GDB (xrefs)
Classes | Macros | Typedefs | Functions | Variables
/tmp/gdb-7.10/gdb/ada-lex.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state
 
struct  yy_trans_info
 

Macros

#define YY_INT_ALIGNED   short int
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   5
 
#define YY_FLEX_SUBMINOR_VERSION   39
 
#define FLEX_BETA
 
#define FLEXINT_H
 
#define INT8_MIN   (-128)
 
#define INT16_MIN   (-32767-1)
 
#define INT32_MIN   (-2147483647-1)
 
#define INT8_MAX   (127)
 
#define INT16_MAX   (32767)
 
#define INT32_MAX   (2147483647)
 
#define UINT8_MAX   (255U)
 
#define UINT16_MAX   (65535U)
 
#define UINT32_MAX   (4294967295U)
 
#define yyconst
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
 
#define BEGIN   (yy_start) = 1 + 2 *
 
#define YY_START   (((yy_start) - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_NEW_FILE   yyrestart(yyin )
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#define EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define YY_LESS_LINENO(n)
 
#define YY_LINENO_REWIND_TO(ptr)
 
#define yyless(n)
 
#define unput(c)   yyunput( c, (yytext_ptr) )
 
#define YY_STRUCT_YY_BUFFER_STATE
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_BUFFER_EOF_PENDING   2
 
#define YY_CURRENT_BUFFER
 
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 
#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER )
 
#define yy_new_buffer   yy_create_buffer
 
#define yy_set_interactive(is_interactive)
 
#define yy_set_bol(at_bol)
 
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 
#define yytext_ptr   yytext
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   55
 
#define YY_END_OF_BUFFER   56
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()   yymore_used_but_not_detected
 
#define YY_MORE_ADJ   0
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define NUMERAL_WIDTH   256
 
#define LONGEST_SIGN   ((ULONGEST) 1 << (sizeof(LONGEST) * HOST_CHAR_BIT - 1))
 
#define YY_DECL   static int yylex ( void )
 
#define YY_NO_INPUT
 
#define YY_INPUT(BUF, RESULT, MAX_SIZE)
 
#define INITIAL   0
 
#define BEFORE_QUAL_QUOTE   1
 
#define YY_EXTRA_TYPE   void *
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
 
#define yyterminate()   return YY_NULL
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
 
#define YY_USER_ACTION
 
#define YY_BREAK   break;
 
#define YY_RULE_SETUP   YY_USER_ACTION
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 
#define YYTABLES_NAME   "yytables"
 

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_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef unsigned char YY_CHAR
 
typedef int yy_state_type
 
typedef void(* dummy_function) ()
 

Functions

void yyrestart (FILE *input_file)
 
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size)
 
void yy_delete_buffer (YY_BUFFER_STATE b)
 
void yy_flush_buffer (YY_BUFFER_STATE b)
 
void yypush_buffer_state (YY_BUFFER_STATE new_buffer)
 
void yypop_buffer_state (void)
 
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, yy_size_t len)
 
void * yyalloc (yy_size_t)
 
void * yyxrealloc (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 canonicalizeNumeral (char *s1, const char *)
 
static struct stoken processString (const char *, int)
 
static int processInt (struct parser_state *, const char *, const char *, const char *)
 
static int processReal (struct parser_state *, const char *)
 
static struct stoken processId (const char *, int)
 
static int processAttribute (const char *)
 
static int find_dot_all (const char *)
 
static void rewind_to_char (int)
 
static int yy_init_globals (void)
 
int yylex_destroy (void)
 
int yyget_debug (void)
 
void yyset_debug (int debug_flag)
 
YY_EXTRA_TYPE yyget_extra (void)
 
void yyset_extra (YY_EXTRA_TYPE user_defined)
 
FILE * yyget_in (void)
 
void yyset_in (FILE *in_str)
 
FILE * yyget_out (void)
 
void yyset_out (FILE *out_str)
 
yy_size_t yyget_leng (void)
 
char * yyget_text (void)
 
int yyget_lineno (void)
 
void yyset_lineno (int line_number)
 
int yywrap (void)
 
static void yyunput (int c, char *buf_ptr)
 
 if (!(yy_init))
 

Variables

yy_size_t yyleng
 
FILE * yyin = (FILE *) 0
 
FILE * yyout = (FILE *) 0
 
static size_t yy_buffer_stack_top = 0
 
static size_t yy_buffer_stack_max = 0
 
static YY_BUFFER_STATEyy_buffer_stack = 0
 
static char yy_hold_char
 
static yy_size_t 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 [207]
 
static yyconst flex_int32_t yy_ec [256]
 
static yyconst flex_int32_t yy_meta [68]
 
static yyconst flex_int16_t yy_base [229]
 
static yyconst flex_int16_t yy_def [229]
 
static yyconst flex_int16_t yy_nxt [1320]
 
static yyconst flex_int16_t yy_chk [1320]
 
static yy_state_type yy_last_accepting_state
 
static char * yy_last_accepting_cpos
 
int yy_flex_debug = 0
 
static char numbuf [NUMERAL_WIDTH]
 
 YY_DECL
 
register char * yy_cp
 
register char * yy_bp
 
register int yy_act
 
dummy_function ada_flex_use []
 

Macro Definition Documentation

#define BEFORE_QUAL_QUOTE   1

Definition at line 887 of file ada-lex.c.

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 126 of file ada-lex.c.

#define ECHO   do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)

Definition at line 979 of file ada-lex.c.

Referenced by hardwire_raw().

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 174 of file ada-lex.c.

#define EOB_ACT_END_OF_FILE   1

Definition at line 175 of file ada-lex.c.

#define EOB_ACT_LAST_MATCH   2

Definition at line 176 of file ada-lex.c.

#define FLEX_BETA

Definition at line 14 of file ada-lex.c.

#define FLEX_SCANNER

Definition at line 9 of file ada-lex.c.

#define FLEXINT_H

Definition at line 30 of file ada-lex.c.

#define INITIAL   0

Definition at line 886 of file ada-lex.c.

#define INT16_MAX   (32767)

Definition at line 72 of file ada-lex.c.

#define INT16_MIN   (-32767-1)

Definition at line 63 of file ada-lex.c.

#define INT32_MAX   (2147483647)

Definition at line 75 of file ada-lex.c.

#define INT32_MIN   (-2147483647-1)

Definition at line 66 of file ada-lex.c.

#define INT8_MAX   (127)

Definition at line 69 of file ada-lex.c.

#define INT8_MIN   (-128)

Definition at line 60 of file ada-lex.c.

#define LONGEST_SIGN   ((ULONGEST) 1 << (sizeof(LONGEST) * HOST_CHAR_BIT - 1))

Definition at line 849 of file ada-lex.c.

#define NUMERAL_WIDTH   256

Definition at line 848 of file ada-lex.c.

#define REJECT   reject_used_but_not_detected

Definition at line 817 of file ada-lex.c.

#define UINT16_MAX   (65535U)

Definition at line 81 of file ada-lex.c.

#define UINT32_MAX   (4294967295U)

Definition at line 84 of file ada-lex.c.

#define UINT8_MAX   (255U)

Definition at line 78 of file ada-lex.c.

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

Definition at line 195 of file ada-lex.c.

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 341 of file ada-lex.c.

#define YY_BREAK   break;

Definition at line 1058 of file ada-lex.c.

#define YY_BUF_SIZE   16384

Definition at line 152 of file ada-lex.c.

Referenced by if().

#define YY_BUFFER_EOF_PENDING   2

Definition at line 257 of file ada-lex.c.

#define YY_BUFFER_NEW   0

Definition at line 245 of file ada-lex.c.

#define YY_BUFFER_NORMAL   1

Definition at line 246 of file ada-lex.c.

#define YY_CURRENT_BUFFER
Value:
: NULL)
static YY_BUFFER_STATE * yy_buffer_stack
Definition: ada-lex.c:265
static size_t yy_buffer_stack_top
Definition: ada-lex.c:263

Definition at line 273 of file ada-lex.c.

Referenced by if().

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 280 of file ada-lex.c.

Referenced by if().

#define YY_DECL   static int yylex ( void )

Definition at line 864 of file ada-lex.c.

#define YY_DO_BEFORE_ACTION
Value:
yyleng = (size_t) (yy_cp - yy_bp); \
*yy_cp = '\0'; \
static char * yy_c_buf_p
Definition: ada-lex.c:288
static char yy_hold_char
Definition: ada-lex.c:283
#define yytext_ptr
Definition: ada-lex.c:356
yy_size_t yyleng
Definition: ada-lex.c:285
register char * yy_bp
Definition: ada-lex.c:1069
register char * yy_cp
Definition: ada-lex.c:1069

Definition at line 366 of file ada-lex.c.

#define YY_END_OF_BUFFER   56

Definition at line 374 of file ada-lex.c.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 141 of file ada-lex.c.

#define YY_EXIT_FAILURE   2
#define YY_EXTRA_TYPE   void *

Definition at line 898 of file ada-lex.c.

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Definition at line 1033 of file ada-lex.c.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 10 of file ada-lex.c.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 11 of file ada-lex.c.

#define YY_FLEX_SUBMINOR_VERSION   39

Definition at line 12 of file ada-lex.c.

#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER )

Definition at line 309 of file ada-lex.c.

#define YY_INPUT (   BUF,
  RESULT,
  MAX_SIZE 
)
Value:
if ( *lexptr == '\000' ) \
(RESULT) = YY_NULL; \
else \
{ \
*(BUF) = *lexptr; \
(RESULT) = 1; \
lexptr += 1; \
}
#define YY_NULL
Definition: ada-lex.c:113
static const char * lexptr

Definition at line 871 of file ada-lex.c.

#define YY_INT_ALIGNED   short int

Definition at line 5 of file ada-lex.c.

#define YY_LESS_LINENO (   n)

Definition at line 178 of file ada-lex.c.

#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 179 of file ada-lex.c.

#define YY_MORE_ADJ   0

Definition at line 819 of file ada-lex.c.

#define yy_new_buffer   yy_create_buffer

Definition at line 319 of file ada-lex.c.

#define YY_NEW_FILE   yyrestart(yyin )

Definition at line 139 of file ada-lex.c.

#define YY_NO_INPUT

Definition at line 868 of file ada-lex.c.

#define YY_NULL   0

Definition at line 113 of file ada-lex.c.

#define YY_NUM_RULES   55

Definition at line 373 of file ada-lex.c.

#define YY_READ_BUF_SIZE   8192

Definition at line 970 of file ada-lex.c.

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 820 of file ada-lex.c.

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 1061 of file ada-lex.c.

#define YY_SC_TO_UI (   c)    ((unsigned int) (unsigned char) c)

Definition at line 120 of file ada-lex.c.

#define yy_set_bol (   at_bol)
Value:
{ \
yyensure_buffer_stack (); \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
if(!(yy_init))
Definition: ada-lex.c:1072
#define YY_CURRENT_BUFFER
Definition: ada-lex.c:273
FILE * yyin
Definition: ada-lex.c:347
#define YY_BUF_SIZE
Definition: ada-lex.c:152
#define YY_CURRENT_BUFFER_LVALUE
Definition: ada-lex.c:280

Definition at line 331 of file ada-lex.c.

#define yy_set_interactive (   is_interactive)
Value:
{ \
yyensure_buffer_stack (); \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
if(!(yy_init))
Definition: ada-lex.c:1072
#define YY_CURRENT_BUFFER
Definition: ada-lex.c:273
FILE * yyin
Definition: ada-lex.c:347
#define YY_BUF_SIZE
Definition: ada-lex.c:152
#define YY_CURRENT_BUFFER_LVALUE
Definition: ada-lex.c:280

Definition at line 321 of file ada-lex.c.

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

Definition at line 132 of file ada-lex.c.

#define YY_START_STACK_INCR   25

Definition at line 1028 of file ada-lex.c.

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

Definition at line 158 of file ada-lex.c.

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

Definition at line 136 of file ada-lex.c.

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 198 of file ada-lex.c.

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 161 of file ada-lex.c.

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 166 of file ada-lex.c.

#define YY_USER_ACTION

Definition at line 1053 of file ada-lex.c.

#define yyconst

Definition at line 109 of file ada-lex.c.

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define YY_MORE_ADJ
Definition: ada-lex.c:819
#define YY_RESTORE_YY_MORE_OFFSET
Definition: ada-lex.c:820
static char * yy_c_buf_p
Definition: ada-lex.c:288
static char yy_hold_char
Definition: ada-lex.c:283
#define YY_DO_BEFORE_ACTION
Definition: ada-lex.c:366
register char * yy_bp
Definition: ada-lex.c:1069
register char * yy_cp
Definition: ada-lex.c:1069

Definition at line 182 of file ada-lex.c.

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
(yy_c_buf_p) = yytext + yyless_macro_arg; \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
char * yytext
Definition: ada-lex.c:821
static char * yy_c_buf_p
Definition: ada-lex.c:288
static char yy_hold_char
Definition: ada-lex.c:283
yy_size_t yyleng
Definition: ada-lex.c:285

Definition at line 182 of file ada-lex.c.

#define yymore ( )    yymore_used_but_not_detected

Definition at line 818 of file ada-lex.c.

#define YYSTATE   YY_START

Definition at line 133 of file ada-lex.c.

#define YYTABLES_NAME   "yytables"
#define yyterminate ( )    return YY_NULL

Definition at line 1023 of file ada-lex.c.

#define yytext_ptr   yytext

Definition at line 356 of file ada-lex.c.

Typedef Documentation

typedef void(* dummy_function) ()

Definition at line 2900 of file ada-lex.c.

typedef short int flex_int16_t

Definition at line 52 of file ada-lex.c.

typedef int flex_int32_t

Definition at line 53 of file ada-lex.c.

typedef signed char flex_int8_t

Definition at line 51 of file ada-lex.c.

typedef unsigned short int flex_uint16_t

Definition at line 55 of file ada-lex.c.

typedef unsigned int flex_uint32_t

Definition at line 56 of file ada-lex.c.

typedef unsigned char flex_uint8_t

Definition at line 54 of file ada-lex.c.

Definition at line 162 of file ada-lex.c.

typedef unsigned char YY_CHAR

Definition at line 345 of file ada-lex.c.

typedef size_t yy_size_t

Definition at line 167 of file ada-lex.c.

typedef int yy_state_type

Definition at line 349 of file ada-lex.c.

Function Documentation

static void canonicalizeNumeral ( char *  s1,
const char *   
)
static
static int find_dot_all ( const char *  )
static
if ( yy_init)

Definition at line 1072 of file ada-lex.c.

References YY_BUF_SIZE, yy_create_buffer(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init, yy_load_buffer_state(), yy_start, yyensure_buffer_stack(), yyin, and yyout.

Referenced by aarch64_linux_stopped_data_address(), abs_op(), alphacoff_locate_sections(), bppy_get_expression(), breakpoint_hit_catch_exec(), breakpoint_hit_catch_fork(), breakpoint_hit_catch_solib(), breakpoint_hit_catch_syscall(), breakpoint_hit_catch_vfork(), build_bp_list(), check_status_catch_solib(), cplus_describe_child(), decode_vmflags(), delete_breakpoint(), discard_pending_stop_replies(), display_descriptor(), display_selector(), do_ppc_sysv_return_value(), dwarf2_evaluate_loc_desc_full(), emit_stop_event(), execute_cfa_program(), find_definition(), frscm_scm_from_frame(), gdbscm_breakpoint_expression(), hppa_frame_cache(), i387_collect_xsave(), info_mappings_callback(), install_new_value(), kill_child_of_pending_fork(), macro_undef(), mips_elf_make_msymbol_special(), new_height_ok(), parse_partial_symbols(), parse_symbol(), ppc64_sysv_abi_push_val(), ppc_linux_remove_hw_breakpoint(), read_one_sym(), record_linux_system_call(), signal_catchpoint_breakpoint_hit(), signal_catchpoint_insert_location(), signal_catchpoint_remove_location(), sparc32_sol2_sigtramp_frame_cache(), sparc64_sol2_sigtramp_frame_cache(), spu_gdbarch_init(), tdesc_start_field(), thumb2_record_asimd_struct_ld_st(), typy_legacy_template_argument(), watchpoint_check(), xtensa_window_interrupt_frame_cache(), and yyparse().

static int processAttribute ( const char *  str)
static

Definition at line 2854 of file ada-lex.c.

References _, and error().

static struct stoken processId ( const char *  ,
int   
)
static
static int processInt ( struct parser_state ,
const char *  ,
const char *  ,
const char *   
)
static
static int processReal ( struct parser_state ,
const char *   
)
static
static struct stoken processString ( const char *  ,
int   
)
static
static void rewind_to_char ( int  ch)
static

Definition at line 2885 of file ada-lex.c.

References lexptr, yyleng, and yyrestart().

YY_BUFFER_STATE yy_create_buffer ( FILE *  file,
int  size 
)

Referenced by if().

void yy_delete_buffer ( YY_BUFFER_STATE  b)
static void yy_fatal_error ( yyconst char  msg[])
static
void yy_flush_buffer ( YY_BUFFER_STATE  b)
static int yy_get_next_buffer ( void  )
static
static yy_state_type yy_get_previous_state ( void  )
static
static void yy_init_buffer ( YY_BUFFER_STATE  b,
FILE *  file 
)
static
static int yy_init_globals ( void  )
static
static void yy_load_buffer_state ( void  )
static

Referenced by if().

YY_BUFFER_STATE yy_scan_buffer ( char *  base,
yy_size_t  size 
)
YY_BUFFER_STATE yy_scan_bytes ( yyconst char *  bytes,
yy_size_t  len 
)
YY_BUFFER_STATE yy_scan_string ( yyconst 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)
static
void* yyalloc ( yy_size_t  )
static void yyensure_buffer_stack ( void  )
static

Referenced by if().

void yyfree ( void *  )
int yyget_debug ( void  )
YY_EXTRA_TYPE yyget_extra ( void  )
FILE* yyget_in ( void  )
yy_size_t yyget_leng ( void  )
int yyget_lineno ( void  )
FILE* yyget_out ( void  )
char* yyget_text ( void  )
int yylex_destroy ( void  )
void yypop_buffer_state ( void  )
void yypush_buffer_state ( YY_BUFFER_STATE  new_buffer)
void yyrestart ( FILE *  input_file)

Referenced by rewind_to_char().

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 
)
static
int yywrap ( void  )

Definition at line 2894 of file ada-lex.c.

void* yyxrealloc ( void *  ,
yy_size_t   
)

Variable Documentation

dummy_function ada_flex_use[]
Initial value:
=
{
}
void(* dummy_function)()
Definition: ada-lex.c:2900
static void yyunput(int c, char *buf_ptr)

Definition at line 2901 of file ada-lex.c.

char numbuf[NUMERAL_WIDTH]
static

Definition at line 852 of file ada-lex.c.

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

Definition at line 382 of file ada-lex.c.

register int yy_act

Definition at line 1070 of file ada-lex.c.

yyconst flex_int16_t yy_base[229]
static
Initial value:
=
{ 0,
0, 0, 649, 638, 646, 1252, 1252, 1252, 62, 0,
1252, 109, 1252, 1252, 623, 1252, 619, 175, 606, 174,
180, 48, 604, 592, 590, 1252, 204, 71, 214, 186,
235, 244, 304, 256, 39, 368, 40, 430, 179, 1252,
195, 0, 602, 595, 592, 585, 574, 497, 72, 1252,
0, 273, 1252, 0, 39, 0, 1252, 0, 66, 262,
75, 0, 1252, 1252, 1252, 557, 1252, 1252, 284, 300,
1252, 322, 329, 349, 358, 377, 339, 396, 412, 563,
566, 575, 584, 587, 569, 596, 623, 616, 576, 617,
571, 568, 334, 380, 1252, 562, 677, 0, 403, 0,
40, 89, 642, 71, 163, 0, 401, 672, 401, 723,
0, 708, 741, 750, 637, 776, 785, 794, 797, 806,
775, 827, 831, 843, 818, 819, 883, 415, 0, 712,
399, 885, 352, 1252, 0, 191, 0, 202, 772, 170,
243, 334, 222, 244, 247, 259, 766, 47, 209, 216,
203, 251, 302, 892, 916, 890, 942, 715, 946, 958,
930, 974, 274, 1252, 93, 344, 278, 310, 979, 256,
264, 337, 270, 274, 352, 355, 215, 984, 995, 1000,
299, 354, 589, 355, 223, 603, 209, 204, 198, 189,
174, 101, 1004, 1016, 92, 634, 411, 644, 872, 1021,
717, 373, 1252, 793, 832, 1252, 1055, 1065, 1081, 1086,
1102, 1119, 1136, 1139, 1146, 339, 560, 1153, 1169, 1181,
1186, 1197, 1200, 1216, 634, 645, 1223, 1234
}

Definition at line 452 of file ada-lex.c.

register char * yy_bp

Definition at line 1069 of file ada-lex.c.

YY_BUFFER_STATE* yy_buffer_stack = 0
static

Stack as an array.

Definition at line 265 of file ada-lex.c.

size_t yy_buffer_stack_max = 0
static

capacity of stack.

Definition at line 264 of file ada-lex.c.

size_t yy_buffer_stack_top = 0
static

index of top of stack.

Definition at line 263 of file ada-lex.c.

char* yy_c_buf_p = (char *) 0
static

Definition at line 288 of file ada-lex.c.

yyconst flex_int16_t yy_chk[1320]
static

Definition at line 659 of file ada-lex.c.

register char* yy_cp

Definition at line 1069 of file ada-lex.c.

YY_DECL
Initial value:
{
register yy_state_type yy_current_state
int yy_state_type
Definition: ada-lex.c:349

The main scanner function which does all the work.

Definition at line 1067 of file ada-lex.c.

yyconst flex_int16_t yy_def[229]
static
Initial value:
=
{ 0,
206, 1, 1, 1, 206, 206, 206, 206, 207, 208,
206, 206, 206, 206, 206, 206, 206, 209, 206, 206,
206, 206, 210, 206, 206, 206, 211, 211, 211, 211,
211, 211, 211, 211, 33, 211, 33, 206, 207, 206,
207, 208, 212, 38, 38, 212, 206, 206, 212, 206,
213, 209, 206, 214, 215, 215, 206, 216, 206, 206,
206, 217, 206, 206, 206, 218, 206, 206, 206, 206,
206, 219, 211, 211, 211, 211, 211, 211, 211, 211,
211, 211, 211, 211, 36, 211, 211, 36, 33, 36,
48, 220, 206, 206, 206, 48, 212, 213, 221, 215,
215, 222, 206, 206, 206, 217, 218, 206, 219, 206,
223, 224, 211, 211, 33, 211, 211, 211, 211, 211,
33, 211, 211, 211, 33, 33, 211, 206, 225, 206,
206, 97, 221, 206, 215, 206, 226, 222, 206, 206,
206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
206, 206, 227, 224, 211, 33, 211, 36, 211, 211,
36, 211, 206, 206, 212, 206, 228, 206, 206, 206,
206, 206, 206, 206, 206, 206, 227, 211, 211, 211,
212, 206, 206, 206, 228, 206, 206, 206, 206, 206,
206, 206, 211, 211, 212, 206, 206, 206, 206, 206,
206, 206, 206, 206, 206, 0, 206, 206, 206, 206,
206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
206, 206, 206, 206, 206, 206, 206, 206
}

Definition at line 481 of file ada-lex.c.

int yy_did_buffer_switch_on_eof
static

Definition at line 295 of file ada-lex.c.

yyconst flex_int32_t yy_ec[256]
static

Definition at line 409 of file ada-lex.c.

int yy_flex_debug = 0

Definition at line 812 of file ada-lex.c.

char yy_hold_char
static

Definition at line 283 of file ada-lex.c.

int yy_init = 0
static

Definition at line 289 of file ada-lex.c.

Referenced by if().

char* yy_last_accepting_cpos
static

Definition at line 809 of file ada-lex.c.

yy_state_type yy_last_accepting_state
static

Definition at line 808 of file ada-lex.c.

yyconst flex_int32_t yy_meta[68]
static
Initial value:
=
{ 0,
1, 2, 3, 4, 5, 6, 7, 8, 5, 9,
5, 5, 5, 5, 5, 5, 10, 5, 11, 11,
5, 5, 12, 13, 14, 5, 15, 15, 15, 15,
15, 15, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 5, 5, 17, 15,
15, 15, 15, 15, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16
}

Definition at line 441 of file ada-lex.c.

yy_size_t yy_n_chars
static

Definition at line 284 of file ada-lex.c.

yyconst flex_int16_t yy_nxt[1320]
static

Definition at line 510 of file ada-lex.c.

int yy_start = 0
static

Definition at line 290 of file ada-lex.c.

Referenced by if().

FILE * yyin = (FILE *) 0

Definition at line 347 of file ada-lex.c.

Referenced by ada_parse(), and if().

yy_size_t yyleng

Definition at line 285 of file ada-lex.c.

Referenced by rewind_to_char().

int yylineno = 1

Definition at line 353 of file ada-lex.c.

FILE * yyout = (FILE *) 0

Definition at line 347 of file ada-lex.c.

Referenced by if().

char* yytext

Definition at line 821 of file ada-lex.c.