GDB (xrefs)
Classes | Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/ada-exp.c File Reference
#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"
#include "parser-defs.h"
#include "language.h"
#include "ada-lang.h"
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
#include "frame.h"
#include "block.h"
#include "yy-remap.h"
#include <stddef.h>
#include "ada-lex.c"

Go to the source code of this file.

Classes

struct  name_info
 
union  YYSTYPE
 
union  yyalloc
 

Macros

#define YYBISON   1
 
#define YYBISON_VERSION   "3.0.4"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define parse_type(ps)   builtin_type (parse_gdbarch (ps))
 
#define GDB_YY_REMAP_PREFIX   ada_
 
#define YY_NULLPTRPTR   0
 
#define YYERROR_VERBOSE   0
 
#define YYTOKENTYPE
 
#define INT   258
 
#define NULL_PTR   259
 
#define CHARLIT   260
 
#define FLOAT   261
 
#define TRUEKEYWORD   262
 
#define FALSEKEYWORD   263
 
#define COLONCOLON   264
 
#define STRING   265
 
#define NAME   266
 
#define DOT_ID   267
 
#define DOT_ALL   268
 
#define SPECIAL_VARIABLE   269
 
#define ASSIGN   270
 
#define _AND_   271
 
#define OR   272
 
#define XOR   273
 
#define THEN   274
 
#define ELSE   275
 
#define NOTEQUAL   276
 
#define LEQ   277
 
#define GEQ   278
 
#define IN   279
 
#define DOTDOT   280
 
#define UNARY   281
 
#define MOD   282
 
#define REM   283
 
#define STARSTAR   284
 
#define ABS   285
 
#define NOT   286
 
#define VAR   287
 
#define ARROW   288
 
#define TICK_ACCESS   289
 
#define TICK_ADDRESS   290
 
#define TICK_FIRST   291
 
#define TICK_LAST   292
 
#define TICK_LENGTH   293
 
#define TICK_MAX   294
 
#define TICK_MIN   295
 
#define TICK_MODULUS   296
 
#define TICK_POS   297
 
#define TICK_RANGE   298
 
#define TICK_SIZE   299
 
#define TICK_TAG   300
 
#define TICK_VAL   301
 
#define NEW   302
 
#define OTHERS   303
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define YYSTYPE_IS_DECLARED   1
 
#define YYSIZE_T   size_t
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE(Spec)   /* empty */
 
#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
 
#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))
 
#define YYUSE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   xmalloc
 
#define YYFREE   xfree
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   57
 
#define YYLAST   746
 
#define YYNTOKENS   69
 
#define YYNNTS   31
 
#define YYNRULES   122
 
#define YYNSTATES   233
 
#define YYUNDEFTOK   2
 
#define YYMAXUTOK   303
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYPACT_NINF   -104
 
#define yypact_value_is_default(Yystate)   (!!((Yystate) == (-104)))
 
#define YYTABLE_NINF   -83
 
#define yytable_value_is_error(Yytable_value)   0
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYTERROR   1
 
#define YYERRCODE   256
 
#define YYDPRINTF(Args)
 
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define yy_create_buffer   ada_yy_create_buffer
 
#define yy_delete_buffer   ada_yy_delete_buffer
 
#define yy_init_buffer   ada_yy_init_buffer
 
#define yy_load_buffer_state   ada_yy_load_buffer_state
 
#define yy_switch_to_buffer   ada_yy_switch_to_buffer
 
#define yyrestart   ada_yyrestart
 
#define yytext   ada_yytext
 
#define yywrap   ada_yywrap
 
#define qsort   __qsort__dummy
 

Typedefs

typedef union YYSTYPE YYSTYPE
 
typedef unsigned char yytype_uint8
 
typedef signed char yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef short int yytype_int16
 

Enumerations

enum  yytokentype {
  INT = 258, NULL_PTR = 259, CHARLIT = 260, FLOAT = 261,
  TRUEKEYWORD = 262, FALSEKEYWORD = 263, COLONCOLON = 264, STRING = 265,
  NAME = 266, DOT_ID = 267, DOT_ALL = 268, SPECIAL_VARIABLE = 269,
  ASSIGN = 270, _AND_ = 271, OR = 272, XOR = 273,
  THEN = 274, ELSE = 275, NOTEQUAL = 276, LEQ = 277,
  GEQ = 278, IN = 279, DOTDOT = 280, UNARY = 281,
  MOD = 282, REM = 283, STARSTAR = 284, ABS = 285,
  NOT = 286, VAR = 287, ARROW = 288, TICK_ACCESS = 289,
  TICK_ADDRESS = 290, TICK_FIRST = 291, TICK_LAST = 292, TICK_LENGTH = 293,
  TICK_MAX = 294, TICK_MIN = 295, TICK_MODULUS = 296, TICK_POS = 297,
  TICK_RANGE = 298, TICK_SIZE = 299, TICK_TAG = 300, TICK_VAL = 301,
  NEW = 302, OTHERS = 303, INT = 258, FLOAT = 259,
  STRING = 260, NSSTRING = 261, SELECTOR = 262, CHAR = 263,
  NAME = 264, UNKNOWN_CPP_NAME = 265, COMPLETE = 266, TYPENAME = 267,
  CLASSNAME = 268, OBJC_LBRAC = 269, NAME_OR_INT = 270, OPERATOR = 271,
  STRUCT = 272, CLASS = 273, UNION = 274, ENUM = 275,
  SIZEOF = 276, UNSIGNED = 277, COLONCOLON = 278, TEMPLATE = 279,
  ERROR = 280, NEW = 281, DELETE = 282, REINTERPRET_CAST = 283,
  DYNAMIC_CAST = 284, STATIC_CAST = 285, CONST_CAST = 286, ENTRY = 287,
  TYPEOF = 288, DECLTYPE = 289, TYPEID = 290, SIGNED_KEYWORD = 291,
  LONG = 292, SHORT = 293, INT_KEYWORD = 294, CONST_KEYWORD = 295,
  VOLATILE_KEYWORD = 296, DOUBLE_KEYWORD = 297, VARIABLE = 298, ASSIGN_MODIFY = 299,
  TRUEKEYWORD = 300, FALSEKEYWORD = 301, ABOVE_COMMA = 302, OROR = 303,
  ANDAND = 304, EQUAL = 305, NOTEQUAL = 306, LEQ = 307,
  GEQ = 308, LSH = 309, RSH = 310, UNARY = 311,
  INCREMENT = 312, DECREMENT = 313, ARROW = 314, ARROW_STAR = 315,
  DOT_STAR = 316, BLOCKNAME = 317, FILENAME = 318, DOTDOTDOT = 319,
  INT = 258, FLOAT = 259, NAME = 260, STRUCT = 261,
  CLASS = 262, UNION = 263, ENUM = 264, SIZEOF = 265,
  UNSIGNED = 266, COLONCOLON = 267, TEMPLATE = 268, ERROR = 269,
  NEW = 270, DELETE = 271, OPERATOR = 272, STATIC_CAST = 273,
  REINTERPRET_CAST = 274, DYNAMIC_CAST = 275, SIGNED_KEYWORD = 276, LONG = 277,
  SHORT = 278, INT_KEYWORD = 279, CONST_KEYWORD = 280, VOLATILE_KEYWORD = 281,
  DOUBLE_KEYWORD = 282, BOOL = 283, ELLIPSIS = 284, RESTRICT = 285,
  VOID = 286, FLOAT_KEYWORD = 287, CHAR = 288, WCHAR_T = 289,
  ASSIGN_MODIFY = 290, TRUEKEYWORD = 291, FALSEKEYWORD = 292, DEMANGLER_SPECIAL = 293,
  CONSTRUCTION_VTABLE = 294, CONSTRUCTION_IN = 295, OROR = 296, ANDAND = 297,
  EQUAL = 298, NOTEQUAL = 299, LEQ = 300, GEQ = 301,
  LSH = 302, RSH = 303, UNARY = 304, INCREMENT = 305,
  DECREMENT = 306, ARROW = 307, IDENTIFIER = 258, UNKNOWN_NAME = 259,
  TYPENAME = 260, COMPLETE = 261, NAME_OR_INT = 262, INTEGER_LITERAL = 263,
  FLOAT_LITERAL = 264, CHARACTER_LITERAL = 265, STRING_LITERAL = 266, ENTRY = 267,
  ERROR = 268, TRUE_KEYWORD = 269, FALSE_KEYWORD = 270, NULL_KEYWORD = 271,
  SUPER_KEYWORD = 272, CAST_KEYWORD = 273, SIZEOF_KEYWORD = 274, TYPEOF_KEYWORD = 275,
  TYPEID_KEYWORD = 276, INIT_KEYWORD = 277, IMMUTABLE_KEYWORD = 278, CONST_KEYWORD = 279,
  SHARED_KEYWORD = 280, STRUCT_KEYWORD = 281, UNION_KEYWORD = 282, CLASS_KEYWORD = 283,
  INTERFACE_KEYWORD = 284, ENUM_KEYWORD = 285, TEMPLATE_KEYWORD = 286, DELEGATE_KEYWORD = 287,
  FUNCTION_KEYWORD = 288, DOLLAR_VARIABLE = 289, ASSIGN_MODIFY = 290, OROR = 291,
  ANDAND = 292, EQUAL = 293, NOTEQUAL = 294, LEQ = 295,
  GEQ = 296, LSH = 297, RSH = 298, HATHAT = 299,
  IDENTITY = 300, NOTIDENTITY = 301, INCREMENT = 302, DECREMENT = 303,
  DOTDOT = 304, INT = 258, FLOAT = 259, STRING_LITERAL = 260,
  BOOLEAN_LITERAL = 261, NAME = 262, TYPENAME = 263, NAME_OR_INT = 264,
  SIZEOF = 265, ERROR = 266, INT_KEYWORD = 267, INT_S2_KEYWORD = 268,
  LOGICAL_S1_KEYWORD = 269, LOGICAL_S2_KEYWORD = 270, LOGICAL_S8_KEYWORD = 271, LOGICAL_KEYWORD = 272,
  REAL_KEYWORD = 273, REAL_S8_KEYWORD = 274, REAL_S16_KEYWORD = 275, COMPLEX_S8_KEYWORD = 276,
  COMPLEX_S16_KEYWORD = 277, COMPLEX_S32_KEYWORD = 278, BOOL_AND = 279, BOOL_OR = 280,
  BOOL_NOT = 281, CHARACTER = 282, VARIABLE = 283, ASSIGN_MODIFY = 284,
  ABOVE_COMMA = 285, EQUAL = 286, NOTEQUAL = 287, LESSTHAN = 288,
  GREATERTHAN = 289, LEQ = 290, GEQ = 291, LSH = 292,
  RSH = 293, STARSTAR = 294, UNARY = 295, INT = 258,
  FLOAT = 259, RAW_STRING = 260, STRING = 261, CHAR = 262,
  NAME = 263, TYPENAME = 264, COMPLETE = 265, NAME_OR_INT = 266,
  TRUE_KEYWORD = 267, FALSE_KEYWORD = 268, STRUCT_KEYWORD = 269, INTERFACE_KEYWORD = 270,
  TYPE_KEYWORD = 271, CHAN_KEYWORD = 272, SIZEOF_KEYWORD = 273, LEN_KEYWORD = 274,
  CAP_KEYWORD = 275, NEW_KEYWORD = 276, IOTA_KEYWORD = 277, NIL_KEYWORD = 278,
  CONST_KEYWORD = 279, DOTDOTDOT = 280, ENTRY = 281, ERROR = 282,
  BYTE_KEYWORD = 283, DOLLAR_VARIABLE = 284, ASSIGN_MODIFY = 285, ABOVE_COMMA = 286,
  OROR = 287, ANDAND = 288, ANDNOT = 289, EQUAL = 290,
  NOTEQUAL = 291, LEQ = 292, GEQ = 293, LSH = 294,
  RSH = 295, UNARY = 296, INCREMENT = 297, DECREMENT = 298,
  LEFT_ARROW = 299, INT = 258, HEX = 259, ERROR = 260,
  UINT = 261, M2_TRUE = 262, M2_FALSE = 263, CHAR = 264,
  FLOAT = 265, STRING = 266, NAME = 267, BLOCKNAME = 268,
  IDENT = 269, VARNAME = 270, TYPENAME = 271, SIZE = 272,
  CAP = 273, ORD = 274, HIGH = 275, ABS = 276,
  MIN_FUNC = 277, MAX_FUNC = 278, FLOAT_FUNC = 279, VAL = 280,
  CHR = 281, ODD = 282, TRUNC = 283, TSIZE = 284,
  INC = 285, DEC = 286, INCL = 287, EXCL = 288,
  COLONCOLON = 289, INTERNAL_VAR = 290, ABOVE_COMMA = 291, ASSIGN = 292,
  LEQ = 293, GEQ = 294, NOTEQUAL = 295, IN = 296,
  OROR = 297, LOGICAL_AND = 298, DIV = 299, MOD = 300,
  UNARY = 301, DOT = 302, NOT = 303, QID = 304,
  INT = 258, FLOAT = 259, STRING = 260, FIELDNAME = 261,
  COMPLETE = 262, NAME = 263, TYPENAME = 264, NAME_OR_INT = 265,
  STRUCT = 266, CLASS = 267, SIZEOF = 268, COLONCOLON = 269,
  ERROR = 270, VARIABLE = 271, THIS = 272, TRUEKEYWORD = 273,
  FALSEKEYWORD = 274, ABOVE_COMMA = 275, ASSIGN = 276, NOT = 277,
  OR = 278, XOR = 279, ANDAND = 280, NOTEQUAL = 281,
  LEQ = 282, GEQ = 283, LSH = 284, RSH = 285,
  DIV = 286, MOD = 287, UNARY = 288, INCREMENT = 289,
  DECREMENT = 290, ARROW = 291, BLOCKNAME = 292, GDBVAR = 258,
  IDENT = 259, COMPLETE = 260, INTEGER = 261, DECIMAL_INTEGER = 262,
  STRING = 263, BYTESTRING = 264, FLOAT = 265, COMPOUND_ASSIGN = 266,
  KW_AS = 267, KW_IF = 268, KW_TRUE = 269, KW_FALSE = 270,
  KW_SUPER = 271, KW_SELF = 272, KW_MUT = 273, KW_EXTERN = 274,
  KW_CONST = 275, KW_FN = 276, KW_SIZEOF = 277, DOTDOT = 278,
  OROR = 279, ANDAND = 280, EQEQ = 281, NOTEQ = 282,
  LTEQ = 283, GTEQ = 284, LSH = 285, RSH = 286,
  COLONCOLON = 287, ARROW = 288, UNARY = 289
}
 

Functions

int yyparse (void)
 
static int yylex (void)
 
void yyerror (const char *)
 
static void write_int (struct parser_state *, LONGEST, struct type *)
 
static void write_object_renaming (struct parser_state *, const struct block *, const char *, int, const char *, int)
 
static struct typewrite_var_or_type (struct parser_state *, const struct block *, struct stoken)
 
static void write_name_assoc (struct parser_state *, struct stoken)
 
static void write_exp_op_with_string (struct parser_state *, enum exp_opcode, struct stoken)
 
static const struct blockblock_lookup (const struct block *, const char *)
 
static LONGEST convert_char_literal (struct type *, LONGEST)
 
static void write_ambiguous_var (struct parser_state *, const struct block *, char *, int)
 
static struct typetype_int (struct parser_state *)
 
static struct typetype_long (struct parser_state *)
 
static struct typetype_long_long (struct parser_state *)
 
static struct typetype_long_double (struct parser_state *)
 
static struct typetype_char (struct parser_state *)
 
static struct typetype_boolean (struct parser_state *)
 
static struct typetype_system_address (struct parser_state *)
 
void * xmalloc (YYSIZE_T)
 
void xfree (void *)
 
static void yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
 
static void yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
 
static void yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
 
static void yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule)
 
static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
 
int ada_parse (struct parser_state *par_state)
 
static void write_var_from_sym (struct parser_state *par_state, const struct block *block, struct symbol *sym)
 
static struct symbolselect_possible_type_sym (struct block_symbol *syms, int nsyms)
 
static struct typefind_primitive_type (struct parser_state *par_state, char *name)
 
static int chop_selector (char *name, int end)
 
static char * chop_separator (char *name)
 
static void write_selectors (struct parser_state *par_state, char *sels)
 
static int ada_nget_field_index (const struct type *type, const char *field_name0, int field_name_len, int maybe_missing)
 
static struct typeget_symbol_field_type (struct symbol *sym, char *encoded_field_name)
 
void _initialize_ada_exp (void)
 

Variables

static struct parser_statepstate = NULL
 
static struct stoken empty_stoken = { "", 0 }
 
static struct typetype_qualifier
 
int yydebug
 
YYSTYPE yylval
 
static const yytype_uint8 yytranslate []
 
static const yytype_uint16 yyrline []
 
static const char *const yytname []
 
static const yytype_int16 yypact []
 
static const yytype_uint8 yydefact []
 
static const yytype_int16 yypgoto []
 
static const yytype_int16 yydefgoto []
 
static const yytype_int16 yytable []
 
static const yytype_int16 yycheck []
 
static const yytype_uint8 yystos []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
int yychar
 
int yynerrs
 
static struct obstack temp_parse_space
 

Macro Definition Documentation

◆ _AND_

#define _AND_   271

Definition at line 242 of file ada-exp.c.

◆ ABS

#define ABS   285

Definition at line 256 of file ada-exp.c.

◆ ARROW

#define ARROW   288

Definition at line 259 of file ada-exp.c.

◆ ASSIGN

#define ASSIGN   270

Definition at line 241 of file ada-exp.c.

◆ CHARLIT

#define CHARLIT   260

Definition at line 231 of file ada-exp.c.

◆ COLONCOLON

#define COLONCOLON   264

Definition at line 235 of file ada-exp.c.

◆ DOT_ALL

#define DOT_ALL   268

Definition at line 239 of file ada-exp.c.

◆ DOT_ID

#define DOT_ID   267

Definition at line 238 of file ada-exp.c.

◆ DOTDOT

#define DOTDOT   280

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

◆ ELSE

#define ELSE   275

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

◆ FALSEKEYWORD

#define FALSEKEYWORD   263

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

◆ FLOAT

#define FLOAT   261

Definition at line 232 of file ada-exp.c.

◆ GDB_YY_REMAP_PREFIX

#define GDB_YY_REMAP_PREFIX   ada_

Definition at line 85 of file ada-exp.c.

◆ GEQ

#define GEQ   278

Definition at line 249 of file ada-exp.c.

◆ IN

#define IN   279

Definition at line 250 of file ada-exp.c.

◆ INT

#define INT   258

Definition at line 229 of file ada-exp.c.

◆ LEQ

#define LEQ   277

Definition at line 248 of file ada-exp.c.

◆ MOD

#define MOD   282

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

◆ NAME

#define NAME   266

Definition at line 237 of file ada-exp.c.

◆ NEW

#define NEW   302

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

◆ NOT

#define NOT   286

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

◆ NOTEQUAL

#define NOTEQUAL   276

Definition at line 247 of file ada-exp.c.

◆ NULL_PTR

#define NULL_PTR   259

Definition at line 230 of file ada-exp.c.

◆ OR

#define OR   272

Definition at line 243 of file ada-exp.c.

◆ OTHERS

#define OTHERS   303

Definition at line 274 of file ada-exp.c.

◆ parse_type

#define parse_type (   ps)    builtin_type (parse_gdbarch (ps))

◆ qsort

#define qsort   __qsort__dummy

◆ REM

#define REM   283

Definition at line 254 of file ada-exp.c.

◆ SPECIAL_VARIABLE

#define SPECIAL_VARIABLE   269

Definition at line 240 of file ada-exp.c.

◆ STARSTAR

#define STARSTAR   284

Definition at line 255 of file ada-exp.c.

◆ STRING

#define STRING   265

Definition at line 236 of file ada-exp.c.

◆ THEN

#define THEN   274

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

◆ TICK_ACCESS

#define TICK_ACCESS   289

Definition at line 260 of file ada-exp.c.

◆ TICK_ADDRESS

#define TICK_ADDRESS   290

Definition at line 261 of file ada-exp.c.

◆ TICK_FIRST

#define TICK_FIRST   291

Definition at line 262 of file ada-exp.c.

◆ TICK_LAST

#define TICK_LAST   292

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

◆ TICK_LENGTH

#define TICK_LENGTH   293

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

◆ TICK_MAX

#define TICK_MAX   294

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

◆ TICK_MIN

#define TICK_MIN   295

Definition at line 266 of file ada-exp.c.

◆ TICK_MODULUS

#define TICK_MODULUS   296

Definition at line 267 of file ada-exp.c.

◆ TICK_POS

#define TICK_POS   297

Definition at line 268 of file ada-exp.c.

◆ TICK_RANGE

#define TICK_RANGE   298

Definition at line 269 of file ada-exp.c.

◆ TICK_SIZE

#define TICK_SIZE   299

Definition at line 270 of file ada-exp.c.

◆ TICK_TAG

#define TICK_TAG   300

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

◆ TICK_VAL

#define TICK_VAL   301

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

◆ TRUEKEYWORD

#define TRUEKEYWORD   262

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

◆ UNARY

#define UNARY   281

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

◆ VAR

#define VAR   287

Definition at line 258 of file ada-exp.c.

◆ XOR

#define XOR   273

Definition at line 244 of file ada-exp.c.

◆ YY_

#define YY_ (   Msgid)    Msgid

Definition at line 368 of file ada-exp.c.

Referenced by yyparse().

◆ YY_ATTRIBUTE

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 378 of file ada-exp.c.

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 383 of file ada-exp.c.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 387 of file ada-exp.c.

◆ yy_create_buffer

#define yy_create_buffer   ada_yy_create_buffer

Definition at line 2681 of file ada-exp.c.

◆ yy_delete_buffer

#define yy_delete_buffer   ada_yy_delete_buffer

Definition at line 2682 of file ada-exp.c.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 418 of file ada-exp.c.

Referenced by yydestruct(), and yyparse().

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 419 of file ada-exp.c.

Referenced by yydestruct(), and yyparse().

◆ yy_init_buffer

#define yy_init_buffer   ada_yy_init_buffer

Definition at line 2683 of file ada-exp.c.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 415 of file ada-exp.c.

◆ yy_load_buffer_state

#define yy_load_buffer_state   ada_yy_load_buffer_state

Definition at line 2684 of file ada-exp.c.

◆ YY_LOCATION_PRINT

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 1039 of file ada-exp.c.

◆ YY_NULLPTRPTR

#define YY_NULLPTRPTR   0

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

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)
Value:
do { \
if (yydebug) \
yy_reduce_print (yyssp, yyvsp, Rule); \
} while (0)
#define yyssp
#define yyvsp
int yydebug
Definition: ada-exp.c:1144

Definition at line 1136 of file ada-exp.c.

Referenced by yyparse().

◆ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)
Value:
do { \
if (yydebug) \
yy_stack_print ((Bottom), (Top)); \
} while (0)
int yydebug
Definition: ada-exp.c:1144

Definition at line 1105 of file ada-exp.c.

Referenced by yyparse().

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   ada_yy_switch_to_buffer

Definition at line 2685 of file ada-exp.c.

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)
Value:
do { \
if (yydebug) \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Type, Value); \
YYFPRINTF (stderr, "\n"); \
} \
} while (0)
int yydebug
Definition: ada-exp.c:1144

Definition at line 1043 of file ada-exp.c.

Referenced by yydestruct(), and yyparse().

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 994 of file ada-exp.c.

Referenced by yyparse().

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 993 of file ada-exp.c.

Referenced by yyparse().

◆ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (0)
#define YYEMPTY
Definition: ada-exp.c:990
#define yylen
#define yyssp
if(!(yy_init))
Definition: ada-lex.c:1075
int yychar
Definition: ada-exp.c:1413
#define YY_(Msgid)
Definition: ada-exp.c:368

Definition at line 1000 of file ada-exp.c.

◆ YYBISON

#define YYBISON   1

Definition at line 44 of file ada-exp.c.

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.0.4"

Definition at line 47 of file ada-exp.c.

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 989 of file ada-exp.c.

◆ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)

Definition at line 541 of file ada-exp.c.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 513 of file ada-exp.c.

◆ YYDPRINTF

#define YYDPRINTF (   Args)
Value:
do { \
if (yydebug) \
YYFPRINTF Args; \
} while (0)
int yydebug
Definition: ada-exp.c:1144

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

Referenced by yyparse().

◆ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 990 of file ada-exp.c.

Referenced by yyparse().

◆ YYEOF

#define YYEOF   0

Definition at line 991 of file ada-exp.c.

Referenced by yyparse().

◆ YYERRCODE

#define YYERRCODE   256

Definition at line 1019 of file ada-exp.c.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 988 of file ada-exp.c.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 995 of file ada-exp.c.

◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE   0

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

◆ YYFINAL

#define YYFINAL   57

Definition at line 554 of file ada-exp.c.

Referenced by yyparse().

◆ YYFREE

#define YYFREE   xfree

Definition at line 484 of file ada-exp.c.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 1155 of file ada-exp.c.

Referenced by yyparse().

◆ YYLAST

#define YYLAST   746

Definition at line 556 of file ada-exp.c.

Referenced by yyparse().

◆ YYMALLOC

#define YYMALLOC   xmalloc

Definition at line 478 of file ada-exp.c.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 1166 of file ada-exp.c.

Referenced by yyparse().

◆ YYMAXUTOK

#define YYMAXUTOK   303

Definition at line 570 of file ada-exp.c.

◆ YYNNTS

#define YYNNTS   31

Definition at line 561 of file ada-exp.c.

◆ YYNRULES

#define YYNRULES   122

Definition at line 563 of file ada-exp.c.

◆ YYNSTATES

#define YYNSTATES   233

Definition at line 565 of file ada-exp.c.

◆ YYNTOKENS

#define YYNTOKENS   69

Definition at line 559 of file ada-exp.c.

Referenced by yy_symbol_print(), yy_symbol_value_print(), and yyparse().

◆ YYPACT_NINF

#define YYPACT_NINF   -104

Definition at line 671 of file ada-exp.c.

◆ yypact_value_is_default

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-104)))

Definition at line 673 of file ada-exp.c.

Referenced by yyparse().

◆ YYPOPSTACK

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))

Referenced by yyparse().

◆ YYPULL

#define YYPULL   1

Definition at line 59 of file ada-exp.c.

◆ YYPURE

#define YYPURE   0

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

◆ YYPUSH

#define YYPUSH   0

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

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 998 of file ada-exp.c.

◆ yyrestart

#define yyrestart   ada_yyrestart

Definition at line 2686 of file ada-exp.c.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 358 of file ada-exp.c.

◆ YYSIZE_T

#define YYSIZE_T   size_t

Definition at line 352 of file ada-exp.c.

Referenced by yyparse().

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file ada-exp.c.

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 464 of file ada-exp.c.

Referenced by yyparse().

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 467 of file ada-exp.c.

◆ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
#define YYSTACK_GAP_MAXIMUM
Definition: ada-exp.c:505
union YYSTYPE YYSTYPE
Definition: ada-exp.c:301
short int yytype_int16
Definition: ada-exp.c:342

Definition at line 509 of file ada-exp.c.

Referenced by yyparse().

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 465 of file ada-exp.c.

Referenced by yyparse().

◆ YYSTACK_GAP_MAXIMUM

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 505 of file ada-exp.c.

◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define YYSTACK_GAP_MAXIMUM
Definition: ada-exp.c:505
#define yystacksize

Definition at line 520 of file ada-exp.c.

Referenced by yyparse().

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

Definition at line 303 of file ada-exp.c.

◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 302 of file ada-exp.c.

◆ YYTABLE_NINF

#define YYTABLE_NINF   -83

Definition at line 676 of file ada-exp.c.

◆ yytable_value_is_error

#define yytable_value_is_error (   Yytable_value)    0

Definition at line 678 of file ada-exp.c.

Referenced by yyparse().

◆ YYTERROR

#define YYTERROR   1

Definition at line 1018 of file ada-exp.c.

Referenced by yyparse().

◆ yytext

char * yytext   ada_yytext

Definition at line 2687 of file ada-exp.c.

◆ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 177 of file ada-exp.c.

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 572 of file ada-exp.c.

Referenced by yyparse().

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 569 of file ada-exp.c.

◆ YYUSE

#define YYUSE (   E)    ((void) (E))

Definition at line 401 of file ada-exp.c.

Referenced by yy_symbol_value_print(), and yydestruct().

◆ yywrap

#define yywrap   ada_yywrap

Definition at line 2688 of file ada-exp.c.

Typedef Documentation

◆ YYSTYPE

typedef union YYSTYPE YYSTYPE

Definition at line 301 of file ada-exp.c.

◆ yytype_int16

typedef short int yytype_int16

Definition at line 342 of file ada-exp.c.

◆ yytype_int8

typedef signed char yytype_int8

Definition at line 330 of file ada-exp.c.

◆ yytype_uint16

typedef unsigned short int yytype_uint16

Definition at line 336 of file ada-exp.c.

◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 324 of file ada-exp.c.

Enumeration Type Documentation

◆ yytokentype

Enumerator
INT 
NULL_PTR 
CHARLIT 
FLOAT 
TRUEKEYWORD 
FALSEKEYWORD 
COLONCOLON 
STRING 
NAME 
DOT_ID 
DOT_ALL 
SPECIAL_VARIABLE 
ASSIGN 
_AND_ 
OR 
XOR 
THEN 
ELSE 
NOTEQUAL 
LEQ 
GEQ 
IN 
DOTDOT 
UNARY 
MOD 
REM 
STARSTAR 
ABS 
NOT 
VAR 
ARROW 
TICK_ACCESS 
TICK_ADDRESS 
TICK_FIRST 
TICK_LAST 
TICK_LENGTH 
TICK_MAX 
TICK_MIN 
TICK_MODULUS 
TICK_POS 
TICK_RANGE 
TICK_SIZE 
TICK_TAG 
TICK_VAL 
NEW 
OTHERS 
INT 
FLOAT 
STRING 
NSSTRING 
SELECTOR 
CHAR 
NAME 
UNKNOWN_CPP_NAME 
COMPLETE 
TYPENAME 
CLASSNAME 
OBJC_LBRAC 
NAME_OR_INT 
OPERATOR 
STRUCT 
CLASS 
UNION 
ENUM 
SIZEOF 
UNSIGNED 
COLONCOLON 
TEMPLATE 
ERROR 
NEW 
DELETE 
REINTERPRET_CAST 
DYNAMIC_CAST 
STATIC_CAST 
CONST_CAST 
ENTRY 
TYPEOF 
DECLTYPE 
TYPEID 
SIGNED_KEYWORD 
LONG 
SHORT 
INT_KEYWORD 
CONST_KEYWORD 
VOLATILE_KEYWORD 
DOUBLE_KEYWORD 
VARIABLE 
ASSIGN_MODIFY 
TRUEKEYWORD 
FALSEKEYWORD 
ABOVE_COMMA 
OROR 
ANDAND 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
UNARY 
INCREMENT 
DECREMENT 
ARROW 
ARROW_STAR 
DOT_STAR 
BLOCKNAME 
FILENAME 
DOTDOTDOT 
INT 
FLOAT 
NAME 
STRUCT 
CLASS 
UNION 
ENUM 
SIZEOF 
UNSIGNED 
COLONCOLON 
TEMPLATE 
ERROR 
NEW 
DELETE 
OPERATOR 
STATIC_CAST 
REINTERPRET_CAST 
DYNAMIC_CAST 
SIGNED_KEYWORD 
LONG 
SHORT 
INT_KEYWORD 
CONST_KEYWORD 
VOLATILE_KEYWORD 
DOUBLE_KEYWORD 
BOOL 
ELLIPSIS 
RESTRICT 
VOID 
FLOAT_KEYWORD 
CHAR 
WCHAR_T 
ASSIGN_MODIFY 
TRUEKEYWORD 
FALSEKEYWORD 
DEMANGLER_SPECIAL 
CONSTRUCTION_VTABLE 
CONSTRUCTION_IN 
OROR 
ANDAND 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
UNARY 
INCREMENT 
DECREMENT 
ARROW 
IDENTIFIER 
UNKNOWN_NAME 
TYPENAME 
COMPLETE 
NAME_OR_INT 
INTEGER_LITERAL 
FLOAT_LITERAL 
CHARACTER_LITERAL 
STRING_LITERAL 
ENTRY 
ERROR 
TRUE_KEYWORD 
FALSE_KEYWORD 
NULL_KEYWORD 
SUPER_KEYWORD 
CAST_KEYWORD 
SIZEOF_KEYWORD 
TYPEOF_KEYWORD 
TYPEID_KEYWORD 
INIT_KEYWORD 
IMMUTABLE_KEYWORD 
CONST_KEYWORD 
SHARED_KEYWORD 
STRUCT_KEYWORD 
UNION_KEYWORD 
CLASS_KEYWORD 
INTERFACE_KEYWORD 
ENUM_KEYWORD 
TEMPLATE_KEYWORD 
DELEGATE_KEYWORD 
FUNCTION_KEYWORD 
DOLLAR_VARIABLE 
ASSIGN_MODIFY 
OROR 
ANDAND 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
HATHAT 
IDENTITY 
NOTIDENTITY 
INCREMENT 
DECREMENT 
DOTDOT 
INT 
FLOAT 
STRING_LITERAL 
BOOLEAN_LITERAL 
NAME 
TYPENAME 
NAME_OR_INT 
SIZEOF 
ERROR 
INT_KEYWORD 
INT_S2_KEYWORD 
LOGICAL_S1_KEYWORD 
LOGICAL_S2_KEYWORD 
LOGICAL_S8_KEYWORD 
LOGICAL_KEYWORD 
REAL_KEYWORD 
REAL_S8_KEYWORD 
REAL_S16_KEYWORD 
COMPLEX_S8_KEYWORD 
COMPLEX_S16_KEYWORD 
COMPLEX_S32_KEYWORD 
BOOL_AND 
BOOL_OR 
BOOL_NOT 
CHARACTER 
VARIABLE 
ASSIGN_MODIFY 
ABOVE_COMMA 
EQUAL 
NOTEQUAL 
LESSTHAN 
GREATERTHAN 
LEQ 
GEQ 
LSH 
RSH 
STARSTAR 
UNARY 
INT 
FLOAT 
RAW_STRING 
STRING 
CHAR 
NAME 
TYPENAME 
COMPLETE 
NAME_OR_INT 
TRUE_KEYWORD 
FALSE_KEYWORD 
STRUCT_KEYWORD 
INTERFACE_KEYWORD 
TYPE_KEYWORD 
CHAN_KEYWORD 
SIZEOF_KEYWORD 
LEN_KEYWORD 
CAP_KEYWORD 
NEW_KEYWORD 
IOTA_KEYWORD 
NIL_KEYWORD 
CONST_KEYWORD 
DOTDOTDOT 
ENTRY 
ERROR 
BYTE_KEYWORD 
DOLLAR_VARIABLE 
ASSIGN_MODIFY 
ABOVE_COMMA 
OROR 
ANDAND 
ANDNOT 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
UNARY 
INCREMENT 
DECREMENT 
LEFT_ARROW 
INT 
HEX 
ERROR 
UINT 
M2_TRUE 
M2_FALSE 
CHAR 
FLOAT 
STRING 
NAME 
BLOCKNAME 
IDENT 
VARNAME 
TYPENAME 
SIZE 
CAP 
ORD 
HIGH 
ABS 
MIN_FUNC 
MAX_FUNC 
FLOAT_FUNC 
VAL 
CHR 
ODD 
TRUNC 
TSIZE 
INC 
DEC 
INCL 
EXCL 
COLONCOLON 
INTERNAL_VAR 
ABOVE_COMMA 
ASSIGN 
LEQ 
GEQ 
NOTEQUAL 
IN 
OROR 
LOGICAL_AND 
DIV 
MOD 
UNARY 
DOT 
NOT 
QID 
INT 
FLOAT 
STRING 
FIELDNAME 
COMPLETE 
NAME 
TYPENAME 
NAME_OR_INT 
STRUCT 
CLASS 
SIZEOF 
COLONCOLON 
ERROR 
VARIABLE 
THIS 
TRUEKEYWORD 
FALSEKEYWORD 
ABOVE_COMMA 
ASSIGN 
NOT 
OR 
XOR 
ANDAND 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
DIV 
MOD 
UNARY 
INCREMENT 
DECREMENT 
ARROW 
BLOCKNAME 
GDBVAR 
IDENT 
COMPLETE 
INTEGER 
DECIMAL_INTEGER 
STRING 
BYTESTRING 
FLOAT 
COMPOUND_ASSIGN 
KW_AS 
KW_IF 
KW_TRUE 
KW_FALSE 
KW_SUPER 
KW_SELF 
KW_MUT 
KW_EXTERN 
KW_CONST 
KW_FN 
KW_SIZEOF 
DOTDOT 
OROR 
ANDAND 
EQEQ 
NOTEQ 
LTEQ 
GTEQ 
LSH 
RSH 
COLONCOLON 
ARROW 
UNARY 

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

Function Documentation

◆ _initialize_ada_exp()

void _initialize_ada_exp ( void  )

Definition at line 3459 of file ada-exp.c.

References temp_parse_space.

◆ ada_nget_field_index()

static int ada_nget_field_index ( const struct type type,
const char *  field_name0,
int  field_name_len,
int  maybe_missing 
)
static

Definition at line 3101 of file ada-exp.c.

References ada_get_field_index(), and field_name().

Referenced by get_symbol_field_type().

◆ ada_parse()

int ada_parse ( struct parser_state par_state)

Definition at line 2698 of file ada-exp.c.

References gdb_assert, make_scoped_restore(), pstate, temp_parse_space, type_qualifier, yyin, and yyparse().

Referenced by parse().

◆ block_lookup()

static const struct block * block_lookup ( const struct block context,
const char *  raw_name 
)
static

◆ chop_selector()

static int chop_selector ( char *  name,
int  end 
)
static

Definition at line 3029 of file ada-exp.c.

References name.

Referenced by write_var_or_type().

◆ chop_separator()

static char* chop_separator ( char *  name)
static

Definition at line 3043 of file ada-exp.c.

References name.

Referenced by get_symbol_field_type(), and write_selectors().

◆ convert_char_literal()

static LONGEST convert_char_literal ( struct type type,
LONGEST  val 
)
static

◆ find_primitive_type()

static struct type* find_primitive_type ( struct parser_state par_state,
char *  name 
)
static

◆ get_symbol_field_type()

static struct type* get_symbol_field_type ( struct symbol sym,
char *  encoded_field_name 
)
static

◆ select_possible_type_sym()

static struct symbol* select_possible_type_sym ( struct block_symbol syms,
int  nsyms 
)
static

◆ type_boolean()

static struct type * type_boolean ( struct parser_state par_state)
static

Definition at line 3443 of file ada-exp.c.

References parse_type.

Referenced by yyparse().

◆ type_char()

static struct type * type_char ( struct parser_state par_state)
static

Definition at line 3436 of file ada-exp.c.

References language_string_char_type(), parse_gdbarch, and parse_language.

◆ type_int()

static struct type * type_int ( struct parser_state par_state)
static

Definition at line 3412 of file ada-exp.c.

References parse_type.

Referenced by write_object_renaming(), and yyparse().

◆ type_long()

static struct type * type_long ( struct parser_state par_state)
static

Definition at line 3418 of file ada-exp.c.

References parse_type.

◆ type_long_double()

static struct type * type_long_double ( struct parser_state par_state)
static

Definition at line 3430 of file ada-exp.c.

References parse_type.

◆ type_long_long()

static struct type * type_long_long ( struct parser_state par_state)
static

Definition at line 3424 of file ada-exp.c.

References parse_type.

◆ type_system_address()

static struct type * type_system_address ( struct parser_state par_state)
static

Definition at line 3449 of file ada-exp.c.

References language_lookup_primitive_type(), parse_gdbarch, parse_language, parse_type, and type.

Referenced by find_primitive_type(), and yyparse().

◆ write_ambiguous_var()

static void write_ambiguous_var ( struct parser_state par_state,
const struct block block,
char *  name,
int  len 
)
static

◆ write_exp_op_with_string()

static void write_exp_op_with_string ( struct parser_state par_state,
enum exp_opcode  opcode,
struct stoken  token 
)
static

◆ write_int()

static void write_int ( struct parser_state par_state,
LONGEST  arg,
struct type type 
)
static

Definition at line 2743 of file ada-exp.c.

References write_exp_elt_longcst(), write_exp_elt_opcode(), and write_exp_elt_type().

Referenced by yyparse().

◆ write_name_assoc()

static void write_name_assoc ( struct parser_state par_state,
struct stoken  name 
)
static

◆ write_object_renaming()

static void write_object_renaming ( struct parser_state par_state,
const struct block orig_left_context,
const char *  renamed_entity,
int  renamed_entity_len,
const char *  renaming_expr,
int  max_depth 
)
static

◆ write_selectors()

static void write_selectors ( struct parser_state par_state,
char *  sels 
)
static

Definition at line 3058 of file ada-exp.c.

References chop_separator(), field_name(), and write_exp_op_with_string().

Referenced by write_var_or_type().

◆ write_var_from_sym()

static void write_var_from_sym ( struct parser_state par_state,
const struct block block,
struct symbol sym 
)
static

◆ write_var_or_type()

static struct type * write_var_or_type ( struct parser_state par_state,
const struct block block,
struct stoken  name0 
)
static

◆ xfree()

void xfree ( void *  )

Referenced by _initialize_ada_language(), _initialize_auto_load(), _initialize_gdb_bfd(), _initialize_record_btrace(), _initialize_tailcall_frame(), _initialize_tui_interp(), _proc_free(), aarch64_forget_process(), aarch64_linux_delete_thread(), abbrev_table_free(), abbrev_table_read_table(), ada_exception_catchpoint_cond_string(), ada_exception_message_1(), ada_free_symbol_cache(), ada_inferior_data_cleanup(), ada_iterate_over_symbols(), ada_lookup_symbol(), ada_main_name(), ada_pspace_data_cleanup(), add_angle_brackets(), add_auto_load_dir(), add_auto_load_safe_path(), add_internal_problem_command(), add_msglist(), add_packet_config_cmd(), add_partial_symbol(), add_path(), add_pe_exported_sym(), add_pe_forwarded_sym(), add_symbol_file_command(), addr_info_make_relative(), aix_thread_extra_thread_info(), aix_thread_pid_to_str(), all_tracepoint_actions_and_cleanup(), allocate_dis_line_table(), allocate_psymtab(), allocate_symtab(), ambiguous_names_p(), arc_gdbarch_init(), arc_push_dummy_call(), arm_adjust_breakpoint_address(), arm_exidx_new_objfile(), arm_linux_delete_thread(), arm_linux_forget_process(), arrange_linetable(), attach_command_continuation_free_args(), ATTRIBUTE_PRINTF(), auto_load_objfile_script_1(), auto_load_pspace_data_cleanup(), auto_load_safe_path_vec_update(), auto_load_section_scripts(), auxv_inferior_data_cleanup(), avr_io_reg_read_command(), bcache_xfree(), bfd_lookup_symbol_from_dyn_symtab(), bfd_uses_spe_extensions(), block_lookup(), bp_location_dtor(), bsd_kvm_open(), btrace_clear_history(), btrace_data_append(), btrace_data_fini(), btrace_maint_clear(), buffer_free(), build_error_marker_type(), build_id_to_debug_bfd(), build_section_table(), build_type_psymtabs_1(), c_compute_program(), c_get_string(), c_type_print_base_struct_union(), cache_unref(), call_function_by_hand_dummy(), canonicalize_linespec(), captured_main_1(), catch_ada_exception_command_split(), catch_syscall_split_args(), catcher_pop(), cd_command(), check_fast_tracepoint_sals(), check_for_redefinition(), check_stub_method(), child_terminal_init(), child_terminal_ours_1(), cleanup_request_data(), gdb_environ::clear(), pv_area::clear_entries(), clear_internalvar(), clear_memory_write_data(), clear_section_table(), clear_so(), cmdpy_destroyer(), cmdpy_init(), cmdscm_function(), coff_free_info(), coff_locate_sections(), coff_symfile_read(), coff_symtab_read(), command_from_pid(), command_line_append_input_line(), commandline_from_pid(), compile_object_run(), compile_to_object(), complete_expression(), complete_files_symbols(), completion_tracker::completion_tracker(), compute_compunit_symtab_includes(), convert_func(), copy_sections(), copy_terminal_info(), core_close(), core_process_module_section(), cp_class_name_from_physname(), create_all_comp_units(), create_demangled_names_hash(), create_excep_cond_exprs(), create_quick_file_names_table(), create_type_unit_group(), create_typedef_hash(), darwin_bfd_open(), darwin_current_sos(), darwin_pspace_data_cleanup(), dbx_free_symfile_info(), dcache_free(), deallocate_reg_mem(), decode_line_2(), decode_line_full(), decode_loadmap(), default_collect_symbol_completion_matches_break_on(), del_objfile_sal(), del_symbol_error(), delete_all_bookmarks(), delete_async_event_handler(), delete_async_signal_handler(), delete_cmd(), delete_file_handler(), delete_file_name_entry(), delete_instance(), delete_one_bookmark(), delete_substitute_path_rule(), delete_thread_db_info(), delete_thread_object(), delete_trace_state_variable(), demangle_command(), destroy_one_procinfo(), dicos_load_module_p(), directory_command(), disable_thread_stack_temporaries(), completion_tracker::discard_completions(), discard_infcall_control_state(), discard_infcall_suspend_state(), discard_my_cleanups(), discard_my_continuations_1(), do_cleanup_end(), do_module_cleanup(), do_my_cleanups(), do_my_continuations_1(), do_set_command(), document_command(), dsbt_current_sos(), dsbt_pspace_data_cleanup(), dsbt_relocate_main_executable(), dw2_free_cached_file_names(), dw2_map_symbol_filenames(), dw_expand_symtabs_matching_file_matcher(), dwarf2_add_field(), dwarf2_add_member_fn(), dwarf2_add_type_defn(), dwarf2_build_frame_info(), dwarf2_compute_name(), dwarf2_name(), dwarf2_per_objfile_free(), dwarf2_release_queue(), dwarf2_start_subfile(), dwarf2_tailcall_sniffer_first(), dwarf_decode_macros(), edit_command(), elf_read_minimal_symbols(), enable_break(), enable_break2(), end_msglist(), end_stabs(), enumerate_args(), event_location_to_sals(), exec_close(), exec_file_attach(), exec_file_locate_attach(), execute_script_contents(), expand_hash_table(), expand_hashtable(), extend_buffer_earlier(), fbsd_collect_regset_section_cb(), fetch_loadmap(), filename_seen_cache::filename_seen_cache(), filter_args(), filter_results(), finalize_symtab(), find_and_open_source(), find_global_typedef(), find_oload_champ(), find_oload_champ_namespace_loop(), find_overload_match(), find_separate_debug_file(), find_source_lines(), finish_global_stabs(), fixup_definition(), fixup_go_packaging(), fixup_partial_die(), follow_exec(), foreach_macro(), foreach_macro_in_scope(), forget_cached_source_info_for_objfile(), fprintf_symbol_filtered(), free_address_space(), free_bincl_list(), free_block(), free_buffer(), free_buildsym_compunit(), free_char_ptr_vec(), free_command_lines(), free_content(), free_content_elements(), free_current_contents(), free_current_marker(), free_display(), free_ext_lang_type_printers(), free_fork(), free_hashed_expandable(), free_header_files(), free_heap_comp_unit(), free_linear_expandable(), free_linetab(), free_lzma(), free_macro_definition_ptr(), free_objfile_data(), free_one_bfd_section(), free_pipe_state(), free_section_addr_info(), free_so(), free_stringtab(), free_symbol_cache(), free_symfile_segment_data(), free_typedef_hash(), free_uploaded_tps(), free_uploaded_tsvs(), free_vector_argv(), free_xmethod_worker(), frv_current_sos(), frv_relocate_main_executable(), function_destroyer(), gdb_bfd_errmsg(), gdb_bfd_iovec_fileio_close(), gdb_bfd_lookup_symbol_from_symtab(), gdb_bfd_open(), gdb_print_filename(), gdb_readline_no_editing(), gdb_readline_no_editing_callback(), gdb_readline_wrapper_cleanup(), gdb_save_tty_state(), gdb_xml_values_cleanup(), gdbarch_free(), gdbpy_free_xmethod_worker_data(), gdbpy_parameter(), gdbpy_parse_command_name(), gdbpy_rbreak(), gdbpy_run_events(), gdbscm_create_eqable_gsmob_ptr_map(), gdbscm_dynwind_xfree(), gdbscm_execute_objfile_script(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_gsmob_kind(), gdbscm_initialize_smobs(), gdbscm_lookup_global_symbol(), gdbscm_lookup_symbol(), gdbscm_lookup_type(), gdbscm_make_arg_error(), gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_parameter(), gdbscm_make_type_error(), gdbscm_memory_port_close(), gdbscm_parameter_value(), gdbscm_parse_and_eval(), gdbscm_parse_command_name(), gdbscm_parse_function_args(), gdbscm_printf(), gdbscm_register_command_x(), gdbscm_register_parameter_x(), gdbscm_scm_from_printf(), gdbscm_set_breakpoint_condition_x(), gdbscm_source_objfile_script(), gdbscm_string_to_argv(), gdbscm_type_field(), gdbscm_type_has_field_p(), gdbscm_value_field(), gdbscm_value_to_lazy_string(), gdbscm_value_to_string(), generate_c_for_for_one_variable(), generate_c_for_variable_locations(), get_function_name(), get_inferior_args(), get_init_files(), dtrace_static_probe_ops::get_probes(), get_var_value(), gnuv3_print_method_ptr(), gnuv3_print_vtable(), go32_create_inferior(), go_demangle(), go_symbol_package_name(), guess_full_die_structure_name(), guess_partial_die_structure_name(), handle_exception(), handle_inferior_event_1(), handle_line_of_input(), handle_output_debug_string(), hardwire_get_tty_state(), hwdebug_remove_point(), i386_gdbarch_init(), inferior_has_bug(), inflow_inferior_data_cleanup(), inflow_inferior_exit(), info_auto_load_libthread_db(), info_mach_tasks_command(), infpy_read_memory(), init_loaded_scripts_info(), interp_set(), invalidate_linux_cache_inf(), ioscm_reinit_memory_port(), jit_dealloc_cache(), jit_object_close_impl(), jit_program_space_data_cleanup(), jit_reader_try_read_symtab(), libunwind_load(), linespec_parse_basic(), linespec_parser_delete(), linespec_state_constructor(), linux_collect_regset_section_cb(), linux_common_core_of_thread(), linux_grandchild_function(), linux_info_proc(), linux_make_corefile_notes(), linux_nat_attach(), linux_nat_wait(), linux_ptrace_attach_fail_reason_string(), linux_spu_make_corefile_notes(), linux_xfer_osdata_fds(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_threads(), list_args_or_locals(), lm_info_read(), load_command(), location_to_sals(), lookup_symbol_from_bfd(), lsscm_free_lazy_string_smob(), lval_func_free_closure(), lwp_free(), lzma_close(), lzma_open(), lzma_pread(), m32c_m16c_address_to_pointer(), macho_symfile_read(), macro_bcache_free(), macro_free(), macro_include(), macro_lookup_definition(), macro_start_file(), macro_undef(), macro_undef_command(), main_info_cleanup(), maintenance_do_deprecate(), make_cleanup_close(), make_symbol_overload_list(), mangled_name_to_comp(), maybe_expand(), mbpy_dealloc(), mem_bfd_iovec_close(), method_name_from_physname(), mi_cmd_env_dir(), mi_cmd_env_path(), mi_execute_command(), mi_load_progress(), mips_linux_close(), mips_linux_remove_watchpoint(), munmap_list_free(), n_spaces(), net_windows_close(), new_compile_instance(), notif_event_xfree(), nto_inferior_data_cleanup(), objc_demangle(), objfile_register_static_link(), objfile_relocate(), objfiles_pspace_data_cleanup(), objfpy_get_build_id(), old_renaming_is_invisible(), open_dwo_file(), open_symbol_file_object(), gdb::xfree_deleter< T >::operator()(), gdb::xfree_deleter< T[]>::operator()(), event_location_deleter::operator()(), parmpy_init(), parse_exp_in_context_1(), parse_linespec(), parse_macro_definition(), parse_partial_symbols(), parse_trace_status(), parse_xml_raw(), pascal_val_print(), pascm_set_func(), pascm_set_param_value_x(), pascm_show_func(), pascm_signal_setshow_error(), patch_type(), path_command(), pdc_dealloc(), pipe_close(), pop_dummy_frame(), pop_stack_item(), pop_subfile(), ppc_linux_thread_exit(), ppscm_make_pp_type_error_exception(), ppscm_print_children(), ppscm_print_exception_unless_memory_error(), ppscm_print_string_repr(), gdb_pretty_print_disassembler::pretty_print_insn(), print_bcache_statistics(), print_converted_chars_to_obstack(), print_doc_line(), print_frame_args(), print_it_exception(), print_mention_exception(), print_one_breakpoint_location(), print_one_catch_solib(), print_one_catch_syscall(), print_one_exception(), print_subexp_standard(), proc_set_traced_sysentry(), proc_set_traced_sysexit(), process_enumeration_scope(), process_initial_stop_replies(), process_linenos(), process_next_line(), process_queue(), process_stop_reply(), procfs_create_inferior(), procfs_debug_inferior(), procfs_make_note_section(), procfs_meminfo(), procfs_open_1(), procfs_xfer_auxv(), prompt_for_continue(), psym_forget_cached_source_info(), psymbol_bcache_free(), psymtab_include_file_name(), psymtab_to_symtab_1(), pull_pid_from_list(), py_free_inferior(), python_interactive_command(), pyuw_dealloc_cache(), read_alphacoff_dynamic_symtab(), read_baseclasses(), read_dbx_symtab(), read_member_functions(), read_pe_exported_syms(), read_program_header(), read_program_headers_from_bfd(), read_struct_fields(), realloc_body_list(), record_btrace_clear_histories(), record_btrace_start_replaying(), record_btrace_stop_replaying(), record_full_close(), record_full_core_open_1(), record_full_core_xfer_partial(), record_full_end_release(), record_full_exec_insn(), record_full_goto_bookmark(), record_full_mem_release(), record_full_reg_release(), recpy_bt_insn_data(), reg_value_free_impl(), register_remote_support_xml(), register_solib_event_probe(), registry_container_free_data(), release_program_space(), release_static_tracepoint_marker(), release_stop_context_cleanup(), relocate_gdb_directory(), remote_check_symbols(), remote_disable_btrace(), remote_file_get(), remote_file_put(), remote_fileio_func_read(), remote_fileio_func_write(), remote_fileio_reset(), remote_notif_state_xfree(), remote_open_1(), remote_pass_signals(), remote_program_signals(), remote_pspace_data_cleanup(), remote_read_qxfer(), remote_teardown_btrace(), remove_displaced_stepping_state(), remove_dummy_frame(), reread_symbols(), completion_result::reset_match_list(), resize_symbol_cache(), resolve_subexp(), restore_active_ext_lang(), restore_current_traceframe_cleanup_dtor(), restore_infcall_control_state(), rs6000_aix_core_xfer_shared_libraries_aix(), rs6000_xfer_shared_libraries(), s390_delete_thread(), s390_forget_process(), salpy_dealloc(), salpy_str(), save_infcall_suspend_state(), scan_dyntag_auxv(), scan_xcoff_symtab(), score7_free_memblock(), sdata_make_value(), ser_console_close(), ser_windows_close(), serial_event_close(), serial_open_ops_1(), serial_printf(), serial_unref(), set_auto_load_dir(), set_auto_load_safe_path(), set_breakpoint_condition(), set_cp_abi_as_auto_default(), set_directories_command(), set_event_location_string(), set_gdb_data_directory(), set_gnutarget(), set_inferior_args(), set_inferior_io_terminal(), set_last_source_file(), set_libthread_db_search_path(), set_logging_off(), set_logging_on(), set_main_name(), set_parameter_value(), set_prompt(), set_pspace_remote_exec_file(), set_tdesc_filename_cmd(), show_pp_source_pos(), sim_command_completer(), sim_inferior_data_cleanup(), simple_free_overlay_table(), solib_aix_bfd_open(), solib_aix_solib_create_inferior_hook(), solib_bfd_fopen(), solib_find_1(), spu_bfd_iovec_close(), spu_bfd_open(), spu_get_overlay_table(), start_subfile(), startup_inferior(), stop_reply_dtr(), pv_area::store(), stpy_dealloc(), svr4_clear_solib(), svr4_exec_displacement(), svr4_keep_data_in_core(), svr4_pspace_data_cleanup(), svr4_read_so_list(), symbol_cache_clear_slot(), symbol_file_add_from_memory(), symbol_set_names(), symfile_bfd_open(), symfile_debug_free_objfile(), syms_from_objfile_1(), sync_threadlists(), target_bfd_xclose(), target_debug_print_options(), target_desc_info_free(), target_fileio_read_alloc_1(), target_read_alloc_1(), tfile_close(), tfile_dtor(), tfile_write_uploaded_tsv(), thpy_set_name(), thread_db_load_search(), thread_fsm_delete(), thread_name_command(), trace_file_writer_xfree(), try_open_dwop_file(), try_thread_db_load_from_dir(), try_thread_db_load_from_pdir_1(), tui_del_window(), tui_disassemble(), tui_find_disassembly_address(), tui_free_window(), tui_get_register(), tui_prep_terminal(), tui_set_disassem_content(), tui_set_focus(), tui_set_source_content(), tui_show_locator_content(), tui_show_register_group(), type_stack_cleanup(), unexpected_linespec_error(), uninstall_symfile_debug_logging(), uninstall_variable(), gdb_environ::unset(), unset_exec_wrapper_command(), unset_tdesc_filename_cmd(), update_section_map(), update_static_tracepoint(), val_print_string(), valpy_string(), value_free(), gdb_xml_parser::vdebug(), VEC(), vlscm_convert_typed_value_from_scheme(), watch_main_source_file_lossage(), windows_delete_thread(), windows_free_so(), windows_init_thread_list(), write_name_assoc(), write_var_or_type(), x86_forget_process(), x86_linux_delete_thread(), xcoff_free_info(), xcoff_symfile_finish(), xfree_observer_list_node(), xml_fetch_content_from_file(), xtensa_register_type(), ada_catchpoint::~ada_catchpoint(), agent_expr::~agent_expr(), breakpoint::~breakpoint(), completion_tracker::~completion_tracker(), dwarf2_frame_state_reg_info::~dwarf2_frame_state_reg_info(), exec_catchpoint::~exec_catchpoint(), fake_method::~fake_method(), inferior::~inferior(), linespec_result::~linespec_result(), lm_info_dsbt::~lm_info_dsbt(), lm_info_frv::~lm_info_frv(), mi_parse::~mi_parse(), minimal_symbol_reader::~minimal_symbol_reader(), print_c_tdesc::~print_c_tdesc(), regcache::~regcache(), scoped_free_pendings::~scoped_free_pendings(), solib_catchpoint::~solib_catchpoint(), thread_info::~thread_info(), and watchpoint::~watchpoint().

◆ xmalloc()

void* xmalloc ( YYSIZE_T  )

Referenced by ada_exception_message_1(), ada_get_next_arg(), add_msglist(), add_new_header_file(), agent_expr::agent_expr(), alloc_lzma(), alloc_section_addr_info(), amd64_relocate_instruction(), arm_adjust_breakpoint_address(), arm_exidx_new_objfile(), arrange_linetable(), auto_load_objfile_script_1(), bfd_lookup_symbol_from_dyn_symtab(), bfd_uses_spe_extensions(), btrace_data_append(), c_get_string(), c_type_print_base_struct_union(), chain_candidate(), cmdpy_init(), coff_symfile_read(), commandline_from_pid(), compile_object_run(), complete_files_symbols(), construct_inferior_arguments(), copy_sections(), core_process_module_section(), dcache_alloc(), decode_loadmap(), delete_file_handler(), delim_string_to_char_ptr_vec_append(), dicos_load_module_p(), displaced_step_prepare_throw(), do_set_command(), document_command(), dwarf2_frame_state_reg_info::dwarf2_frame_state_reg_info(), expand_hash_table(), extend_buffer_earlier(), extract_identifier(), fbsd_collect_regset_section_cb(), fetch_loadmap(), find_canonical_descriptor_in_load_object(), find_program_interpreter(), find_separate_debug_file(), find_source_lines(), format_pieces::format_pieces(), forward_search_command(), gdb_bfd_errmsg(), gdb_bfd_lookup_symbol_from_symtab(), gdb_mangle_name(), gdb_print_filename(), gdb_xml_parse_attr_enum(), gdbpy_parse_command_name(), gdbscm_parse_command_name(), go32_create_inferior(), inf_child_fileio_readlink(), info_auto_load_libthread_db(), info_mach_tasks_command(), infpy_read_memory(), init_buffer(), init_lineno(), init_stringtab(), ioscm_init_memory_port(), ioscm_reinit_memory_port(), jit_reader_try_read_symtab(), jit_symtab_line_mapping_add_impl(), jit_unwind_reg_get_impl(), linux_collect_regset_section_cb(), linux_fork_to_function(), linux_nat_fileio_readlink(), lm_info_read(), load_command(), load_section_callback(), lookup_symbol_from_bfd(), lzma_open(), lzma_pread(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), macho_add_oso_symfile(), macho_symfile_read(), macro_alloc(), macro_bcache(), make_completion_match_str_1(), make_hex_string(), mark_completion_tag(), maybe_add_script_file(), maybe_add_script_text(), maybe_expand(), mi_parse(), mt_register_name(), n_spaces(), new_linetable(), new_remote_state(), new_variant(), objc_demangle(), open_symbol_file_object(), parse_partial_symbols(), parse_static_tracepoint_marker_definition(), parse_trace_status(), parse_tracepoint_definition(), parse_xml_raw(), pascal_val_print(), pdc_alloc(), print_c_tdesc::print_c_tdesc(), print_doc_line(), proc_set_traced_sysentry(), proc_set_traced_sysexit(), procfs_create_inferior(), push_stack_item(), python_interactive_command(), pyuw_sniffer(), read_alphacoff_dynamic_symtab(), read_dbx_symtab(), read_memory_robust(), read_pe_exported_syms(), read_program_header(), read_program_headers_from_bfd(), read_string(), read_whatever_is_readable(), record_full_core_open_1(), record_full_exec_insn(), record_full_mem_alloc(), record_full_reg_alloc(), record_line(), recpy_bt_insn_data(), remote_check_symbols(), remote_file_get(), remote_file_put(), remote_fileio_func_read(), remote_fileio_func_write(), remote_hostio_readlink(), remote_parse_stop_reply(), remote_pass_signals(), remote_program_signals(), rewrite_source_path(), rs6000_aix_core_xfer_shared_libraries_aix(), rs6000_ptrace_ldinfo(), save_infcall_suspend_state(), scan_xcoff_symtab(), score7_malloc_and_get_memblock(), set_width(), setup_alternate_signal_stack(), simple_read_overlay_table(), spu_get_overlay_table(), start_msglist(), sysset_t_alloc(), target_fileio_read_alloc_1(), target_read_alloc_1(), target_read_string(), target_write_memory_blocks(), tfile_write_uploaded_tsv(), thread_db_load_search(), try_thread_db_load_from_dir(), try_thread_db_load_from_pdir_1(), tui_alloc_source_buffer(), tui_expand_tabs(), tui_make_status_line(), tui_set_source_content(), typename_concat(), write_object_renaming(), xget_renaming_scope(), xml_fetch_content_from_file(), xml_list_of_groups(), and xml_list_syscalls_by_group().

◆ yy_reduce_print()

static void yy_reduce_print ( yytype_int16 yyssp,
YYSTYPE yyvsp,
int  yyrule 
)
static

Definition at line 1117 of file ada-exp.c.

References yy_symbol_print(), YYFPRINTF, yyr2, yyrline, yyrule, yyssp, yystos, and yyvsp.

◆ yy_stack_print()

static void yy_stack_print ( yytype_int16 yybottom,
yytype_int16 yytop 
)
static

Definition at line 1094 of file ada-exp.c.

References YYFPRINTF.

◆ yy_symbol_print()

static void yy_symbol_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const *const  yyvaluep 
)
static

Definition at line 1079 of file ada-exp.c.

References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yytname.

Referenced by yy_reduce_print().

◆ yy_symbol_value_print()

static void yy_symbol_value_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const *const  yyvaluep 
)
static

Definition at line 1060 of file ada-exp.c.

References YYNTOKENS, YYPRINT, yytoknum, and YYUSE.

Referenced by yy_symbol_print().

◆ yydestruct()

static void yydestruct ( const char *  yymsg,
int  yytype,
YYSTYPE yyvaluep 
)
static

◆ yyerror()

void yyerror ( const char *  msg)

Definition at line 2714 of file ada-exp.c.

References _, error(), and lexptr.

Referenced by yyparse().

◆ yylex()

static int yylex ( void  )
static

Referenced by yyparse().

◆ yyparse()

int yyparse ( void  )

Variable Documentation

◆ empty_stoken

struct stoken empty_stoken = { "", 0 }
static

Definition at line 100 of file ada-exp.c.

Referenced by yyparse().

◆ pstate

struct parser_state* pstate = NULL
static

◆ temp_parse_space

struct obstack temp_parse_space
static

◆ type_qualifier

struct type* type_qualifier
static

Definition at line 104 of file ada-exp.c.

Referenced by ada_parse(), and yyparse().

◆ yychar

int yychar

Definition at line 1413 of file ada-exp.c.

Referenced by yyparse().

◆ yycheck

const yytype_int16 yycheck[]
static

Definition at line 842 of file ada-exp.c.

Referenced by yyparse().

◆ yydebug

int yydebug

Definition at line 1144 of file ada-exp.c.

◆ yydefact

const yytype_uint8 yydefact[]
static
Initial value:
=
{
84, 85, 88, 86, 87, 90, 91, 89, 93, 17,
84, 84, 84, 84, 84, 84, 84, 0, 0, 0,
2, 19, 39, 52, 3, 53, 54, 55, 56, 57,
83, 0, 16, 0, 18, 97, 95, 19, 21, 20,
121, 120, 23, 22, 93, 0, 0, 39, 3, 0,
84, 100, 105, 106, 109, 92, 0, 1, 84, 7,
6, 84, 68, 69, 80, 80, 80, 73, 74, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 84, 84,
84, 84, 0, 84, 0, 84, 79, 0, 0, 0,
0, 84, 12, 94, 110, 115, 84, 15, 84, 84,
84, 103, 99, 101, 102, 84, 84, 4, 5, 0,
70, 71, 72, 93, 39, 0, 25, 0, 40, 41,
50, 51, 42, 49, 19, 0, 16, 35, 36, 38,
37, 31, 32, 34, 33, 30, 84, 84, 58, 84,
62, 66, 59, 84, 63, 84, 67, 84, 84, 84,
84, 39, 0, 10, 98, 96, 84, 84, 108, 0,
112, 0, 117, 104, 107, 29, 0, 84, 84, 8,
84, 122, 80, 84, 19, 0, 16, 60, 64, 61,
65, 0, 0, 0, 0, 84, 9, 0, 111, 116,
113, 118, 81, 26, 0, 93, 27, 44, 43, 80,
84, 78, 84, 84, 77, 0, 84, 84, 84, 13,
84, 47, 46, 0, 0, 14, 0, 114, 119, 28,
76, 75, 11
}

Definition at line 714 of file ada-exp.c.

Referenced by yyparse().

◆ yydefgoto

const yytype_int16 yydefgoto[]
static
Initial value:
=
{
-1, 19, 20, 37, 197, 163, 22, 125, 23, 126,
25, 26, 27, 28, 29, 120, 30, 31, 32, 33,
34, 49, 50, 51, 52, 53, 54, 166, 217, 167,
218
}

Definition at line 752 of file ada-exp.c.

Referenced by yyparse().

◆ yylval

YYSTYPE yylval

Definition at line 1416 of file ada-exp.c.

Referenced by yyparse().

◆ yynerrs

int yynerrs

Definition at line 1418 of file ada-exp.c.

Referenced by yyparse().

◆ yypact

const yytype_int16 yypact[]
static
Initial value:
=
{
430, -104, -104, -104, -104, -104, -104, -104, 3, -104,
430, 430, 544, 544, 430, 430, 289, 44, 49, 26,
-53, -2, 679, 86, -104, 50, 55, 48, 57, 74,
-28, -1, 275, 61, -104, -104, -104, 577, 219, 219,
9, 9, 219, 219, 54, 58, -31, 616, 42, 45,
289, -104, -104, 46, -104, -104, 43, -104, 430, -104,
-104, 430, -104, -104, 59, 59, 59, -104, -104, 277,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 89, 353, 392,
430, 430, 94, 430, 100, 430, -104, 63, 64, 65,
67, 277, -104, 15, -104, -104, 430, -104, 430, 430,
468, -104, -104, 62, -104, 289, 544, -104, -104, 125,
-104, -104, -104, -4, 639, -57, -104, 70, 117, 117,
117, 117, 117, 117, 149, 563, 174, 549, 219, 219,
219, 91, 91, 91, 91, 91, 430, 430, -104, 430,
-104, -104, -104, 430, -104, 430, -104, 430, 430, 430,
430, 659, -38, -104, -104, -104, 430, 468, -104, 339,
-104, 692, -104, -104, -104, 9, 69, 430, 430, -104,
506, -104, 59, 430, 561, 708, 211, -104, -104, -104,
-104, 81, 99, 102, 93, 430, -104, 72, -104, -104,
-104, -104, -104, -104, 105, 82, -104, -104, 117, 59,
430, -104, 430, 430, -104, 214, 430, 430, 468, -104,
430, -104, 117, 106, 107, -104, 109, -104, -104, -104,
-104, -104, -104
}

Definition at line 683 of file ada-exp.c.

Referenced by yyparse().

◆ yypgoto

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-104, -104, 157, 17, -104, -104, 4, 75, -54, 0,
-104, -104, -104, -104, -104, -64, -104, -104, -15, -104,
-104, -104, -104, -46, -104, -104, -103, -104, -104, -104,
-104
}

Definition at line 743 of file ada-exp.c.

Referenced by yyparse().

◆ yyr1

const yytype_uint8 yyr1[]
static
Initial value:
=
{
0, 69, 70, 71, 71, 71, 72, 72, 72, 72,
73, 72, 74, 72, 72, 72, 72, 72, 72, 75,
75, 75, 75, 75, 76, 76, 76, 76, 76, 72,
75, 75, 75, 75, 75, 75, 75, 75, 75, 77,
77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
77, 77, 78, 78, 78, 78, 78, 78, 79, 79,
80, 80, 81, 81, 82, 82, 83, 83, 72, 72,
72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
84, 84, 85, 86, 86, 72, 72, 72, 72, 72,
72, 72, 72, 87, 87, 87, 87, 88, 88, 89,
90, 90, 90, 91, 91, 92, 92, 92, 93, 94,
96, 95, 95, 97, 95, 98, 95, 95, 99, 95,
72, 72, 72
}

Definition at line 952 of file ada-exp.c.

Referenced by yyparse().

◆ yyr2

const yytype_uint8 yyr2[]
static
Initial value:
=
{
0, 2, 1, 1, 3, 3, 2, 2, 4, 4,
0, 7, 0, 6, 6, 3, 1, 1, 1, 1,
2, 2, 2, 2, 0, 1, 3, 3, 5, 4,
3, 3, 3, 3, 3, 3, 3, 3, 3, 1,
3, 3, 3, 5, 5, 3, 6, 6, 4, 3,
3, 3, 1, 1, 1, 1, 1, 1, 3, 3,
4, 4, 3, 3, 4, 4, 3, 3, 2, 2,
3, 3, 3, 2, 2, 7, 7, 5, 5, 2,
0, 3, 1, 1, 0, 1, 1, 1, 1, 1,
1, 1, 2, 1, 2, 2, 3, 2, 3, 3,
1, 2, 2, 2, 3, 1, 1, 3, 3, 1,
0, 4, 3, 0, 6, 0, 4, 3, 0, 6,
2, 2, 4
}

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

Referenced by yy_reduce_print(), and yyparse().

◆ yyrline

const yytype_uint16 yyrline[]
static
Initial value:
=
{
0, 185, 185, 189, 190, 192, 197, 201, 206, 212,
231, 231, 243, 247, 249, 257, 268, 278, 282, 285,
288, 292, 296, 300, 304, 307, 309, 311, 313, 317,
330, 334, 338, 342, 346, 350, 354, 358, 362, 366,
369, 373, 377, 381, 383, 388, 396, 400, 406, 417,
421, 425, 429, 430, 431, 432, 433, 434, 438, 440,
445, 447, 452, 454, 459, 461, 465, 467, 479, 481,
488, 491, 494, 497, 499, 501, 503, 505, 507, 509,
513, 515, 520, 530, 532, 539, 543, 551, 559, 563,
569, 571, 575, 579, 581, 583, 591, 602, 604, 609,
618, 619, 625, 630, 636, 645, 646, 647, 651, 656,
671, 670, 673, 676, 675, 682, 681, 684, 687, 686,
694, 696, 698
}

Definition at line 614 of file ada-exp.c.

Referenced by yy_reduce_print().

◆ yystos

const yytype_uint8 yystos[]
static
Initial value:
=
{
0, 3, 4, 5, 6, 7, 8, 10, 11, 14,
30, 31, 32, 34, 39, 40, 58, 60, 66, 70,
71, 72, 75, 77, 78, 79, 80, 81, 82, 83,
85, 86, 87, 88, 89, 9, 44, 72, 75, 75,
72, 72, 75, 75, 11, 61, 71, 75, 78, 90,
91, 92, 93, 94, 95, 11, 87, 0, 62, 12,
13, 15, 44, 45, 46, 47, 48, 54, 55, 58,
59, 21, 22, 23, 24, 25, 26, 27, 29, 30,
31, 32, 34, 35, 36, 37, 38, 40, 16, 17,
18, 16, 16, 17, 17, 18, 51, 56, 49, 50,
52, 58, 64, 11, 42, 43, 42, 63, 28, 42,
43, 65, 63, 78, 92, 65, 67, 78, 78, 58,
84, 84, 84, 11, 75, 76, 78, 78, 75, 75,
75, 75, 75, 75, 72, 75, 87, 75, 75, 75,
75, 75, 75, 75, 75, 75, 27, 19, 77, 20,
77, 77, 77, 19, 77, 20, 77, 58, 58, 58,
58, 75, 76, 74, 9, 44, 96, 98, 78, 75,
78, 75, 95, 65, 92, 72, 3, 42, 28, 63,
65, 68, 53, 28, 72, 75, 87, 77, 77, 77,
77, 78, 78, 78, 78, 28, 63, 73, 78, 95,
42, 43, 63, 78, 75, 11, 78, 84, 75, 53,
28, 63, 65, 65, 63, 75, 58, 97, 99, 63,
42, 84, 75, 78, 78, 63, 78, 78, 95, 78,
63, 63, 63
}

Definition at line 923 of file ada-exp.c.

Referenced by yy_reduce_print(), and yyparse().

◆ yytable

const yytype_int16 yytable[]
static

Definition at line 763 of file ada-exp.c.

Referenced by yyparse().

◆ yytname

const char* const yytname[]
static
Initial value:
=
{
"$end", "error", "$undefined", "INT", "NULL_PTR", "CHARLIT", "FLOAT",
"TRUEKEYWORD", "FALSEKEYWORD", "COLONCOLON", "STRING", "NAME", "DOT_ID",
"DOT_ALL", "SPECIAL_VARIABLE", "ASSIGN", "_AND_", "OR", "XOR", "THEN",
"ELSE", "'='", "NOTEQUAL", "'<'", "'>'", "LEQ", "GEQ", "IN", "DOTDOT",
"'@'", "'+'", "'-'", "'&'", "UNARY", "'*'", "'/'", "MOD", "REM",
"STARSTAR", "ABS", "NOT", "VAR", "ARROW", "'|'", "TICK_ACCESS",
"TICK_ADDRESS", "TICK_FIRST", "TICK_LAST", "TICK_LENGTH", "TICK_MAX",
"TICK_MIN", "TICK_MODULUS", "TICK_POS", "TICK_RANGE", "TICK_SIZE",
"TICK_TAG", "TICK_VAL", "'.'", "'('", "'['", "NEW", "OTHERS", "';'",
"')'", "'\\''", "','", "'{'", "'}'", "']'", "$accept", "start", "exp1",
"primary", "$@1", "save_qualifier", "simple_exp", "arglist", "relation",
"exp", "and_exp", "and_then_exp", "or_exp", "or_else_exp", "xor_exp",
"tick_arglist", "type_prefix", "opt_type_prefix", "var_or_type", "block",
"aggregate", "aggregate_component_list", "positional_list",
"component_groups", "others", "component_group",
"component_associations", "$@2", "$@3", "$@4", "$@5", YY_NULLPTRPTR
}
#define YY_NULLPTRPTR
Definition: ada-exp.c:154

Definition at line 635 of file ada-exp.c.

Referenced by yy_symbol_print().

◆ yytranslate

const yytype_uint8 yytranslate[]
static

Definition at line 577 of file ada-exp.c.