GDB (xrefs)
Classes | Macros | Typedefs | Functions | Variables
/tmp/gdb-8.1/gdb/ada-lex.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "common/diagnostics.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   6
 
#define YY_FLEX_SUBMINOR_VERSION   1
 
#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   const
 
#define yynoreturn
 
#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, (size_t) 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   /*LINTED*/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, int 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 yynoreturn 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)
 
int 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

int yyleng
 
FILE * yyin = NULL
 
FILE * yyout = NULL
 
static size_t yy_buffer_stack_top = 0
 
static size_t yy_buffer_stack_max = 0
 
static YY_BUFFER_STATEyy_buffer_stack = NULL
 
static char yy_hold_char
 
static int yy_n_chars
 
static char * yy_c_buf_p = NULL
 
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 YY_CHAR yy_ec [256]
 
static yyconst YY_CHAR yy_meta [68]
 
static yyconst flex_uint16_t yy_base [229]
 
static yyconst flex_int16_t yy_def [229]
 
static yyconst flex_uint16_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
 
char * yy_cp
 
char * yy_bp
 
int yy_act
 
dummy_function ada_flex_use []
 

Macro Definition Documentation

◆ BEFORE_QUAL_QUOTE

#define BEFORE_QUAL_QUOTE   1

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

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

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

◆ ECHO

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

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

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

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

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

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

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

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

◆ FLEX_BETA

#define FLEX_BETA

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

◆ FLEX_SCANNER

#define FLEX_SCANNER

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

◆ FLEXINT_H

#define FLEXINT_H

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

◆ INITIAL

#define INITIAL   0

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

◆ INT16_MAX

#define INT16_MAX   (32767)

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

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

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

◆ INT32_MAX

#define INT32_MAX   (2147483647)

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

Referenced by s390_displaced_step_copy_insn().

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

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

◆ INT8_MAX

#define INT8_MAX   (127)

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

◆ INT8_MIN

#define INT8_MIN   (-128)

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

◆ LONGEST_SIGN

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

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

◆ NUMERAL_WIDTH

#define NUMERAL_WIDTH   256

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

◆ REJECT

#define REJECT   reject_used_but_not_detected

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

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

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

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

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

◆ UINT8_MAX

#define UINT8_MAX   (255U)

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

◆ unput

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

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

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

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

◆ YY_BREAK

#define YY_BREAK   /*LINTED*/break;

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

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

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

Referenced by if().

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

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

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

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

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

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

◆ YY_CURRENT_BUFFER

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

Definition at line 261 of file ada-lex.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 ada-lex.c.

Referenced by if().

◆ YY_DECL

#define YY_DECL   static int yylex ( void )

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

◆ YY_DO_BEFORE_ACTION

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

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

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   56

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

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

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

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

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

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

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

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

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

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

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

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   1

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

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER )

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

◆ YY_INPUT

#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:101
static const char * lexptr

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

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

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

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

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

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO (   ptr)

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

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

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

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

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

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart(yyin )

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

◆ YY_NO_INPUT

#define YY_NO_INPUT

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

◆ YY_NULL

#define YY_NULL   0

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

◆ YY_NUM_RULES

#define YY_NUM_RULES   55

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

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

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

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

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

◆ YY_RULE_SETUP

#define YY_RULE_SETUP   YY_USER_ACTION

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

◆ YY_SC_TO_UI

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

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

◆ yy_set_bol

#define yy_set_bol (   at_bol)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_CURRENT_BUFFER
Definition: ada-lex.c:261
FILE * yyin
Definition: ada-lex.c:335
#define YY_BUF_SIZE
Definition: ada-lex.c:140

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

◆ yy_set_interactive

#define yy_set_interactive (   is_interactive)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define YY_CURRENT_BUFFER
Definition: ada-lex.c:261
FILE * yyin
Definition: ada-lex.c:335
#define YY_BUF_SIZE
Definition: ada-lex.c:140

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

◆ YY_START

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

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

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

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

◆ YY_STATE_BUF_SIZE

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

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

◆ YY_STATE_EOF

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

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

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

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

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

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

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

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

◆ YY_USER_ACTION

#define YY_USER_ACTION

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

◆ yyconst

#define yyconst   const

Definition at line 92 of file ada-lex.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 )
#define YY_MORE_ADJ
Definition: ada-lex.c:810
static char * yy_c_buf_p
Definition: ada-lex.c:276
static char yy_hold_char
Definition: ada-lex.c:271
char * yy_cp
Definition: ada-lex.c:1072
char * yy_bp
Definition: ada-lex.c:1072

Definition at line 170 of file ada-lex.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 )
int yyleng
Definition: ada-lex.c:273
char * yytext
Definition: ada-lex.c:812
static char * yy_c_buf_p
Definition: ada-lex.c:276
static char yy_hold_char
Definition: ada-lex.c:271

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

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

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

◆ yynoreturn

#define yynoreturn

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

◆ YYSTATE

#define YYSTATE   YY_START

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

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

◆ yyterminate

#define yyterminate ( )    return YY_NULL

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

◆ yytext_ptr

#define yytext_ptr   yytext

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

Typedef Documentation

◆ dummy_function

typedef void(* dummy_function) ()

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

◆ flex_int16_t

typedef short int flex_int16_t

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

◆ flex_int32_t

typedef int flex_int32_t

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

◆ flex_int8_t

typedef signed char flex_int8_t

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

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

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

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

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

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

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

◆ YY_BUFFER_STATE

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

◆ YY_CHAR

typedef unsigned char YY_CHAR

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

◆ yy_size_t

typedef size_t yy_size_t

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

◆ yy_state_type

typedef int yy_state_type

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

Function Documentation

◆ canonicalizeNumeral()

static void canonicalizeNumeral ( char *  s1,
const char *   
)
static

◆ find_dot_all()

static int find_dot_all ( const char *  )
static

◆ if()

if ( yy_init)

Definition at line 1075 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(), ax_print(), bpfinishpy_detect_out_scope_cb(), 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(), create_cus_from_debug_names_list(), darwin_relocate_section_addresses(), decode_vmflags(), delete_breakpoint(), discard_pending_stop_replies(), display_descriptor(), display_selector(), do_ppc_sysv_return_value(), dwarf2_compile_property_to_c(), dwarf2_evaluate_property(), emit_stop_event(), execute_cfa_program(), execute_control_command_1(), find_definition(), frscm_scm_from_frame(), frv_fetch_objfile_link_map(), gdbpy_apply_type_printers(), gdbpy_breakpoint_modified(), gdbpy_free_type_printers(), gdbscm_breakpoint_expression(), handle_unload_dll(), hppa_frame_cache(), info_mappings_callback(), infpy_search_memory(), infpy_write_memory(), install_new_value(), kill_child_of_pending_fork(), library_list_start_list(), lm_addr_check(), macro_undef(), mips_elf_make_msymbol_special(), net_windows_socket_check_pending(), new_height_ok(), parse_partial_symbols(), parse_symbol(), pipe_done_wait_handle(), pipe_wait_handle(), ppc64_sysv_abi_push_val(), ppc_collect_fpregset(), ppc_collect_gregset(), ppc_collect_vrregset(), ppc_linux_collect_gregset(), ppc_linux_remove_hw_breakpoint(), ppc_supply_fpregset(), ppc_supply_gregset(), ppc_supply_vrregset(), psymtab_to_symtab_1(), rank_one_type(), read_formatted_entries(), read_one_sym(), record_linux_system_call(), remote_notif_remove_once_on_match(), remove_child_of_pending_fork(), remove_stop_reply_for_inferior(), remove_stop_reply_of_remote_state(), ser_console_close(), ser_console_done_wait_handle(), ser_console_wait_handle(), ser_windows_read_prim(), ser_windows_wait_handle(), signal_catchpoint_breakpoint_hit(), signal_catchpoint_insert_location(), signal_catchpoint_remove_location(), solib_aix_free_so(), solib_aix_relocate_section_addresses(), solib_target_relocate_section_addresses(), solist_update_incremental(), sparc32_sol2_sigtramp_frame_cache(), sparc64_sol2_sigtramp_frame_cache(), svr4_clear_so(), svr4_current_sos(), tdesc_start_enum_value(), tdesc_start_field(), tdesc_start_struct(), thumb2_record_asimd_struct_ld_st(), typy_legacy_template_argument(), watchpoint_check(), xtensa_frame_prev_register(), xtensa_window_interrupt_frame_cache(), and yyparse().

◆ processAttribute()

static int processAttribute ( const char *  str)
static

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

References _, error(), and name.

◆ processId()

static struct stoken processId ( const char *  ,
int   
)
static

◆ processInt()

static int processInt ( struct parser_state ,
const char *  ,
const char *  ,
const char *   
)
static

◆ processReal()

static int processReal ( struct parser_state ,
const char *   
)
static

◆ processString()

static struct stoken processString ( const char *  ,
int   
)
static

◆ rewind_to_char()

static void rewind_to_char ( int  ch)
static

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

References lexptr, yyleng, and yyrestart().

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE *  file,
int  size 
)

Referenced by if().

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE  b)

◆ yy_fatal_error()

static void yynoreturn yy_fatal_error ( yyconst char *  msg)
static

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE  b)

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( void  )
static

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( void  )
static

◆ yy_init_buffer()

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

◆ yy_init_globals()

static int yy_init_globals ( void  )
static

◆ yy_load_buffer_state()

static void yy_load_buffer_state ( void  )
static

Referenced by if().

◆ yy_scan_buffer()

YY_BUFFER_STATE yy_scan_buffer ( char *  base,
yy_size_t  size 
)

◆ yy_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( yyconst char *  bytes,
int  len 
)

◆ yy_scan_string()

YY_BUFFER_STATE yy_scan_string ( yyconst char *  yy_str)

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state)
static

◆ yyalloc()

void* yyalloc ( yy_size_t  )

◆ yyensure_buffer_stack()

static void yyensure_buffer_stack ( void  )
static

Referenced by if().

◆ yyfree()

void yyfree ( void *  )

◆ yyget_debug()

int yyget_debug ( void  )

◆ yyget_extra()

YY_EXTRA_TYPE yyget_extra ( void  )

◆ yyget_in()

FILE* yyget_in ( void  )

◆ yyget_leng()

int yyget_leng ( void  )

◆ yyget_lineno()

int yyget_lineno ( void  )

◆ yyget_out()

FILE* yyget_out ( void  )

◆ yyget_text()

char* yyget_text ( void  )

◆ yylex_destroy()

int yylex_destroy ( void  )

◆ yypop_buffer_state()

void yypop_buffer_state ( void  )

◆ yypush_buffer_state()

void yypush_buffer_state ( YY_BUFFER_STATE  new_buffer)

◆ yyrestart()

void yyrestart ( FILE *  input_file)

Referenced by rewind_to_char().

◆ yyset_debug()

void yyset_debug ( int  debug_flag)

◆ yyset_extra()

void yyset_extra ( YY_EXTRA_TYPE  user_defined)

◆ yyset_in()

void yyset_in ( FILE *  _in_str)

◆ yyset_lineno()

void yyset_lineno ( int  _line_number)

◆ yyset_out()

void yyset_out ( FILE *  _out_str)

◆ yyunput()

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

◆ yywrap()

int yywrap ( void  )

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

◆ yyxrealloc()

void* yyxrealloc ( void *  ,
yy_size_t   
)

Variable Documentation

◆ ada_flex_use

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

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

◆ numbuf

char numbuf[NUMERAL_WIDTH]
static

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

◆ yy_accept

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 373 of file ada-lex.c.

◆ yy_act

int yy_act

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

◆ yy_base

yyconst flex_uint16_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 443 of file ada-lex.c.

◆ yy_bp

char * yy_bp

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

◆ yy_buffer_stack

YY_BUFFER_STATE* yy_buffer_stack = NULL
static

Stack as an array.

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

◆ yy_buffer_stack_max

size_t yy_buffer_stack_max = 0
static

capacity of stack.

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

◆ yy_buffer_stack_top

size_t yy_buffer_stack_top = 0
static

index of top of stack.

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

◆ yy_c_buf_p

char* yy_c_buf_p = NULL
static

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

◆ yy_chk

yyconst flex_int16_t yy_chk[1320]
static

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

◆ yy_cp

char* yy_cp

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

◆ YY_DECL

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

The main scanner function which does all the work.

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

◆ yy_def

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 472 of file ada-lex.c.

◆ yy_did_buffer_switch_on_eof

int yy_did_buffer_switch_on_eof
static

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

◆ yy_ec

yyconst YY_CHAR yy_ec[256]
static

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

◆ yy_flex_debug

int yy_flex_debug = 0

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

◆ yy_hold_char

char yy_hold_char
static

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

◆ yy_init

int yy_init = 0
static

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

Referenced by if().

◆ yy_last_accepting_cpos

char* yy_last_accepting_cpos
static

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

◆ yy_last_accepting_state

yy_state_type yy_last_accepting_state
static

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

◆ yy_meta

yyconst YY_CHAR 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 432 of file ada-lex.c.

◆ yy_n_chars

int yy_n_chars
static

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

◆ yy_nxt

yyconst flex_uint16_t yy_nxt[1320]
static

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

◆ yy_start

int yy_start = 0
static

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

Referenced by if().

◆ yyin

FILE * yyin = NULL

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

Referenced by ada_parse(), and if().

◆ yyleng

int yyleng

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

Referenced by rewind_to_char().

◆ yylineno

int yylineno = 1

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

◆ yyout

FILE * yyout = NULL

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

Referenced by if().

◆ yytext

char* yytext

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