GDB (xrefs)
|
#include "defs.h"
#include "expression.h"
#include "language.h"
#include "value.h"
#include "parser-defs.h"
#include "m2-lang.h"
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
#include "block.h"
#include <stddef.h>
Go to the source code of this file.
Classes | |
union | YYSTYPE |
union | yyalloc |
struct | keyword |
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "3.0.2" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | parse_type(ps) builtin_type (parse_gdbarch (ps)) |
#define | parse_m2_type(ps) builtin_m2_type (parse_gdbarch (ps)) |
#define | yymaxdepth m2_maxdepth |
#define | yyparse m2_parse_internal |
#define | yylex m2_lex |
#define | yyerror m2_error |
#define | yylval m2_lval |
#define | yychar m2_char |
#define | yydebug m2_debug |
#define | yypact m2_pact |
#define | yyr1 m2_r1 |
#define | yyr2 m2_r2 |
#define | yydef m2_def |
#define | yychk m2_chk |
#define | yypgo m2_pgo |
#define | yyact m2_act |
#define | yyexca m2_exca |
#define | yyerrflag m2_errflag |
#define | yynerrs m2_nerrs |
#define | yyps m2_ps |
#define | yypv m2_pv |
#define | yys m2_s |
#define | yy_yys m2_yys |
#define | yystate m2_state |
#define | yytmp m2_tmp |
#define | yyv m2_v |
#define | yy_yyv m2_yyv |
#define | yyval m2_val |
#define | yylloc m2_lloc |
#define | yyreds m2_reds /* With YYDEBUG defined */ |
#define | yytoks m2_toks /* With YYDEBUG defined */ |
#define | yyname m2_name /* With YYDEBUG defined */ |
#define | yyrule m2_rule /* With YYDEBUG defined */ |
#define | yylhs m2_yylhs |
#define | yylen m2_yylen |
#define | yydefred m2_yydefred |
#define | yydgoto m2_yydgoto |
#define | yysindex m2_yysindex |
#define | yyrindex m2_yyrindex |
#define | yygindex m2_yygindex |
#define | yytable m2_yytable |
#define | yycheck m2_yycheck |
#define | yyss m2_yyss |
#define | yysslim m2_yysslim |
#define | yyssp m2_yyssp |
#define | yystacksize m2_yystacksize |
#define | yyvs m2_yyvs |
#define | yyvsp m2_yyvsp |
#define | YYDEBUG 1 /* Default to yydebug support */ |
#define | YYFPRINTF parser_fprintf |
#define | YY_NULLPTR 0 |
#define | YYERROR_VERBOSE 0 |
#define | YYTOKENTYPE |
#define | INT 258 |
#define | HEX 259 |
#define | ERROR 260 |
#define | UINT 261 |
#define | M2_TRUE 262 |
#define | M2_FALSE 263 |
#define | CHAR 264 |
#define | FLOAT 265 |
#define | STRING 266 |
#define | NAME 267 |
#define | BLOCKNAME 268 |
#define | IDENT 269 |
#define | VARNAME 270 |
#define | TYPENAME 271 |
#define | SIZE 272 |
#define | CAP 273 |
#define | ORD 274 |
#define | HIGH 275 |
#define | ABS 276 |
#define | MIN_FUNC 277 |
#define | MAX_FUNC 278 |
#define | FLOAT_FUNC 279 |
#define | VAL 280 |
#define | CHR 281 |
#define | ODD 282 |
#define | TRUNC 283 |
#define | TSIZE 284 |
#define | INC 285 |
#define | DEC 286 |
#define | INCL 287 |
#define | EXCL 288 |
#define | COLONCOLON 289 |
#define | INTERNAL_VAR 290 |
#define | ABOVE_COMMA 291 |
#define | ASSIGN 292 |
#define | LEQ 293 |
#define | GEQ 294 |
#define | NOTEQUAL 295 |
#define | IN 296 |
#define | OROR 297 |
#define | LOGICAL_AND 298 |
#define | DIV 299 |
#define | MOD 300 |
#define | UNARY 301 |
#define | DOT 302 |
#define | NOT 303 |
#define | QID 304 |
#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 69 |
#define | YYLAST 912 |
#define | YYNTOKENS 69 |
#define | YYNNTS 15 |
#define | YYNRULES 82 |
#define | YYNSTATES 187 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 304 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -90 |
#define | yypact_value_is_default(Yystate) (!!((Yystate) == (-90))) |
#define | YYTABLE_NINF -76 |
#define | yytable_value_is_error(Yytable_value) (!!((Yytable_value) == (-76))) |
#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)) |
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, DECFLOAT = 260, STRING = 261, NSSTRING = 262, SELECTOR = 263, CHAR = 264, NAME = 265, UNKNOWN_CPP_NAME = 266, COMPLETE = 267, TYPENAME = 268, CLASSNAME = 269, OBJC_LBRAC = 270, NAME_OR_INT = 271, OPERATOR = 272, STRUCT = 273, CLASS = 274, UNION = 275, ENUM = 276, SIZEOF = 277, UNSIGNED = 278, COLONCOLON = 279, TEMPLATE = 280, ERROR = 281, NEW = 282, DELETE = 283, REINTERPRET_CAST = 284, DYNAMIC_CAST = 285, STATIC_CAST = 286, CONST_CAST = 287, ENTRY = 288, TYPEOF = 289, DECLTYPE = 290, TYPEID = 291, SIGNED_KEYWORD = 292, LONG = 293, SHORT = 294, INT_KEYWORD = 295, CONST_KEYWORD = 296, VOLATILE_KEYWORD = 297, DOUBLE_KEYWORD = 298, VARIABLE = 299, ASSIGN_MODIFY = 300, TRUEKEYWORD = 301, FALSEKEYWORD = 302, ABOVE_COMMA = 303, OROR = 304, ANDAND = 305, EQUAL = 306, NOTEQUAL = 307, LEQ = 308, GEQ = 309, LSH = 310, RSH = 311, UNARY = 312, INCREMENT = 313, DECREMENT = 314, ARROW = 315, ARROW_STAR = 316, DOT_STAR = 317, BLOCKNAME = 318, FILENAME = 319, DOTDOTDOT = 320, 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, TYPENAME = 259, COMPLETE = 260, NAME_OR_INT = 261, INTEGER_LITERAL = 262, FLOAT_LITERAL = 263, CHARACTER_LITERAL = 264, STRING_LITERAL = 265, ENTRY = 266, ERROR = 267, TRUE_KEYWORD = 268, FALSE_KEYWORD = 269, NULL_KEYWORD = 270, SUPER_KEYWORD = 271, CAST_KEYWORD = 272, SIZEOF_KEYWORD = 273, TYPEOF_KEYWORD = 274, TYPEID_KEYWORD = 275, INIT_KEYWORD = 276, IMMUTABLE_KEYWORD = 277, CONST_KEYWORD = 278, SHARED_KEYWORD = 279, STRUCT_KEYWORD = 280, UNION_KEYWORD = 281, CLASS_KEYWORD = 282, INTERFACE_KEYWORD = 283, ENUM_KEYWORD = 284, TEMPLATE_KEYWORD = 285, DELEGATE_KEYWORD = 286, FUNCTION_KEYWORD = 287, DOLLAR_VARIABLE = 288, ASSIGN_MODIFY = 289, OROR = 290, ANDAND = 291, EQUAL = 292, NOTEQUAL = 293, LEQ = 294, GEQ = 295, LSH = 296, RSH = 297, HATHAT = 298, IDENTITY = 299, NOTIDENTITY = 300, INCREMENT = 301, DECREMENT = 302, DOTDOT = 303, 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, INTEGER_LITERAL = 258, FLOATING_POINT_LITERAL = 259, IDENTIFIER = 260, STRING_LITERAL = 261, BOOLEAN_LITERAL = 262, TYPENAME = 263, NAME_OR_INT = 264, ERROR = 265, LONG = 266, SHORT = 267, BYTE = 268, INT = 269, CHAR = 270, BOOLEAN = 271, DOUBLE = 272, FLOAT = 273, VARIABLE = 274, ASSIGN_MODIFY = 275, SUPER = 276, NEW = 277, OROR = 278, ANDAND = 279, EQUAL = 280, NOTEQUAL = 281, LEQ = 282, GEQ = 283, LSH = 284, RSH = 285, INCREMENT = 286, DECREMENT = 287, 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 } |
Functions | |
int | yyparse (void) |
static int | yylex (void) |
void | yyerror (char *) |
static int | parse_number (int) |
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 | m2_parse (struct parser_state *par_state) |
Variables | |
static struct parser_state * | pstate = NULL |
static int | number_sign = 1 |
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_int8 | 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 |
struct { | |
char name [2] | |
int token | |
} | tokentab2 [] |
static struct keyword | keytab [] |
#define CHAR 264 |
Definition at line 247 of file m2-exp.c.
Referenced by parse_number(), and yylex().
#define ERROR 260 |
Definition at line 243 of file m2-exp.c.
Referenced by parse_number(), and yylex().
#define FLOAT 265 |
Definition at line 248 of file m2-exp.c.
Referenced by parse_number().
#define INT 258 |
Definition at line 241 of file m2-exp.c.
Referenced by parse_number().
#define parse_m2_type | ( | ps | ) | builtin_m2_type (parse_gdbarch (ps)) |
#define parse_type | ( | ps | ) | builtin_type (parse_gdbarch (ps)) |
#define UINT 261 |
Definition at line 244 of file m2-exp.c.
Referenced by parse_number().
#define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
#define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 429 of file m2-exp.c.
Referenced by yydestruct(), and yyparse().
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 430 of file m2-exp.c.
Referenced by yydestruct(), and yyparse().
#define YY_REDUCE_PRINT | ( | Rule | ) |
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 1052 of file m2-exp.c.
Referenced by yydestruct(), and yyparse().
#define YYACCEPT goto yyacceptlab |
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYCOPY | ( | Dst, | |
Src, | |||
Count | |||
) |
#define YYDPRINTF | ( | Args | ) |
#define YYFPRINTF parser_fprintf |
Definition at line 140 of file m2-exp.c.
Referenced by yy_reduce_print(), yy_stack_print(), and yy_symbol_print().
#define YYNTOKENS 69 |
Definition at line 570 of file m2-exp.c.
Referenced by yy_symbol_print(), yy_symbol_value_print(), and yyparse().
#define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-90))) |
#define yyparse m2_parse_internal |
Definition at line 90 of file m2-exp.c.
Referenced by m2_parse().
#define yyr2 m2_r2 |
Definition at line 98 of file m2-exp.c.
Referenced by yy_reduce_print(), and yyparse().
#define yyrule m2_rule /* With YYDEBUG defined */ |
Definition at line 119 of file m2-exp.c.
Referenced by yy_reduce_print().
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
#define yystacksize m2_yystacksize |
#define yytable_value_is_error | ( | Yytable_value | ) | (!!((Yytable_value) == (-76))) |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 412 of file m2-exp.c.
Referenced by yy_symbol_value_print(), and yydestruct().
typedef short int yytype_int16 |
typedef signed char yytype_int8 |
typedef unsigned short int yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum yytokentype |
int m2_parse | ( | struct parser_state * | par_state | ) |
Definition at line 2893 of file m2-exp.c.
References do_cleanups(), gdb_assert, make_cleanup_clear_parser_state(), and yyparse.
Definition at line 2481 of file m2-exp.c.
References _, atof(), CHAR, YYSTYPE::dval, error(), ERROR, FLOAT, input_radix, INT, len, lexptr, YYSTYPE::lval, number_sign, RANGE_CHECK, range_error(), UINT, and YYSTYPE::ulval.
Referenced by yylex().
void xfree | ( | void * | ) |
Definition at line 97 of file common-utils.c.
void* xmalloc | ( | YYSIZE_T | ) |
|
static |
|
static |
Definition at line 1088 of file m2-exp.c.
References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yytname.
Referenced by yy_reduce_print().
Definition at line 1406 of file m2-exp.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YYUSE.
Referenced by yyparse().
void yyerror | ( | char * | msg | ) |
|
static |
Definition at line 2630 of file m2-exp.c.
References _, BLOCKNAME, CHAR, comma_terminates, copy_name(), DOT, error(), ERROR, expression_context_block, int, INTERNAL_VAR, keyword::keyw, stoken::length, lexptr, LOC_ARG, LOC_BLOCK, LOC_COMPUTED, LOC_CONST, LOC_CONST_BYTES, LOC_LABEL, LOC_LOCAL, LOC_OPTIMIZED_OUT, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_STATIC, LOC_TYPEDEF, LOC_UNDEF, LOC_UNRESOLVED, lookup_symbol(), lookup_symtab(), lookup_typename(), M2_FALSE, M2_TRUE, NAME, name, paren_depth, parse_gdbarch, parse_language, parse_number(), prev_lexptr, stoken::ptr, STRING, YYSTYPE::sval, SYMBOL_CLASS, tokentab2, TYPENAME, YYSTYPE::ulval, VAR_DOMAIN, and write_dollar_variable().
int yyparse | ( | void | ) |
Definition at line 1435 of file m2-exp.c.
References _, arglist_len, block_found, YYSTYPE::bval, contained_in(), copy_name(), end_arglist(), error(), expression_context_block, have_full_symbols(), have_partial_symbols(), innermost_block, LOC_BLOCK, lookup_bound_minimal_symbol(), lookup_symbol(), lookup_typename(), bound_minimal_symbol::minsym, number_sign, parse_gdbarch, parse_language, parse_m2_type, parse_type, start_arglist(), YYSTYPE::sym, SYMBOL_BLOCK_VALUE, SYMBOL_CLASS, symbol_read_needs_frame(), YYSTYPE::tval, TYPE_LENGTH, VAR_DOMAIN, write_exp_elt_block(), write_exp_elt_dblcst(), write_exp_elt_longcst(), write_exp_elt_opcode(), write_exp_elt_sym(), write_exp_elt_type(), write_exp_msymbol(), write_exp_string(), YY_, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylen, yylex, yylloc, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyss, yyalloc::yyss_alloc, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, yystos, yytable, yytable_value_is_error, YYTERROR, YYTRANSLATE, yyval, yyvs, yyalloc::yyvs_alloc, and yyvsp.
|
static |
|
static |
Definition at line 156 of file m2-exp.c.
Referenced by parse_number(), and yyparse().
|
static |
Definition at line 2578 of file m2-exp.c.
Referenced by linespec_lexer_lex_string(), linespec_parse_basic(), mi_execute_command(), parse_linespec(), unexpected_linespec_error(), and yylex().
struct { ... } tokentab2[] |
Referenced by yylex().
|
static |
|
static |
Definition at line 711 of file m2-exp.c.
Referenced by yyparse().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 625 of file m2-exp.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 945 of file m2-exp.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 642 of file m2-exp.c.
Referenced by yy_symbol_print().
|
static |