GDB (xrefs)
Classes | Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/m2-exp.c File Reference
#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 "yy-remap.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.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 parse_m2_type(ps)   builtin_m2_type (parse_gdbarch (ps))
 
#define GDB_YY_REMAP_PREFIX   m2_
 
#define YY_NULLPTRPTR   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,
  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 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_statepstate = 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 []
 

Macro Definition Documentation

◆ ABOVE_COMMA

#define ABOVE_COMMA   291

Definition at line 219 of file m2-exp.c.

◆ ABS

#define ABS   276

Definition at line 204 of file m2-exp.c.

◆ ASSIGN

#define ASSIGN   292

Definition at line 220 of file m2-exp.c.

◆ BLOCKNAME

#define BLOCKNAME   268

Definition at line 196 of file m2-exp.c.

Referenced by yylex().

◆ CAP

#define CAP   273

Definition at line 201 of file m2-exp.c.

◆ CHAR

#define CHAR   264

Definition at line 192 of file m2-exp.c.

Referenced by parse_number(), and yylex().

◆ CHR

#define CHR   281

Definition at line 209 of file m2-exp.c.

◆ COLONCOLON

#define COLONCOLON   289

Definition at line 217 of file m2-exp.c.

◆ DEC

#define DEC   286

Definition at line 214 of file m2-exp.c.

◆ DIV

#define DIV   299

Definition at line 227 of file m2-exp.c.

◆ DOT

#define DOT   302

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

Referenced by yylex().

◆ ERROR

#define ERROR   260

Definition at line 188 of file m2-exp.c.

Referenced by parse_number(), and yylex().

◆ EXCL

#define EXCL   288

Definition at line 216 of file m2-exp.c.

◆ FLOAT

#define FLOAT   265

Definition at line 193 of file m2-exp.c.

Referenced by parse_number().

◆ FLOAT_FUNC

#define FLOAT_FUNC   279

Definition at line 207 of file m2-exp.c.

◆ GDB_YY_REMAP_PREFIX

#define GDB_YY_REMAP_PREFIX   m2_

Definition at line 84 of file m2-exp.c.

◆ GEQ

#define GEQ   294

Definition at line 222 of file m2-exp.c.

◆ HEX

#define HEX   259

Definition at line 187 of file m2-exp.c.

◆ HIGH

#define HIGH   275

Definition at line 203 of file m2-exp.c.

◆ IDENT

#define IDENT   269

Definition at line 197 of file m2-exp.c.

◆ IN

#define IN   296

Definition at line 224 of file m2-exp.c.

◆ INC

#define INC   285

Definition at line 213 of file m2-exp.c.

◆ INCL

#define INCL   287

Definition at line 215 of file m2-exp.c.

◆ INT

#define INT   258

Definition at line 186 of file m2-exp.c.

Referenced by parse_number().

◆ INTERNAL_VAR

#define INTERNAL_VAR   290

Definition at line 218 of file m2-exp.c.

Referenced by yylex().

◆ LEQ

#define LEQ   293

Definition at line 221 of file m2-exp.c.

◆ LOGICAL_AND

#define LOGICAL_AND   298

Definition at line 226 of file m2-exp.c.

◆ M2_FALSE

#define M2_FALSE   263

Definition at line 191 of file m2-exp.c.

Referenced by yylex().

◆ M2_TRUE

#define M2_TRUE   262

Definition at line 190 of file m2-exp.c.

Referenced by yylex().

◆ MAX_FUNC

#define MAX_FUNC   278

Definition at line 206 of file m2-exp.c.

◆ MIN_FUNC

#define MIN_FUNC   277

Definition at line 205 of file m2-exp.c.

◆ MOD

#define MOD   300

Definition at line 228 of file m2-exp.c.

◆ NAME

#define NAME   267

Definition at line 195 of file m2-exp.c.

Referenced by yylex().

◆ NOT

#define NOT   303

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

◆ NOTEQUAL

#define NOTEQUAL   295

Definition at line 223 of file m2-exp.c.

◆ ODD

#define ODD   282

Definition at line 210 of file m2-exp.c.

◆ ORD

#define ORD   274

Definition at line 202 of file m2-exp.c.

◆ OROR

#define OROR   297

Definition at line 225 of file m2-exp.c.

◆ parse_m2_type

#define parse_m2_type (   ps)    builtin_m2_type (parse_gdbarch (ps))

Definition at line 80 of file m2-exp.c.

Referenced by parse_number(), and yyparse().

◆ parse_type

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

Definition at line 79 of file m2-exp.c.

Referenced by yyparse().

◆ QID

#define QID   304

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

◆ SIZE

#define SIZE   272

Definition at line 200 of file m2-exp.c.

◆ STRING

#define STRING   266

Definition at line 194 of file m2-exp.c.

Referenced by yylex().

◆ TRUNC

#define TRUNC   283

Definition at line 211 of file m2-exp.c.

◆ TSIZE

#define TSIZE   284

Definition at line 212 of file m2-exp.c.

◆ TYPENAME

#define TYPENAME   271

Definition at line 199 of file m2-exp.c.

Referenced by yylex().

◆ UINT

#define UINT   261

Definition at line 189 of file m2-exp.c.

Referenced by parse_number().

◆ UNARY

#define UNARY   301

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

◆ VAL

#define VAL   280

Definition at line 208 of file m2-exp.c.

◆ VARNAME

#define VARNAME   270

Definition at line 198 of file m2-exp.c.

◆ YY_

#define YY_ (   Msgid)    Msgid

Definition at line 326 of file m2-exp.c.

Referenced by yyparse().

◆ YY_ATTRIBUTE

#define YY_ATTRIBUTE (   Spec)    /* empty */

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

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 341 of file m2-exp.c.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 345 of file m2-exp.c.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 376 of file m2-exp.c.

Referenced by yydestruct(), and yyparse().

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 377 of file m2-exp.c.

Referenced by yydestruct(), and yyparse().

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 373 of file m2-exp.c.

◆ YY_LOCATION_PRINT

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

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

◆ YY_NULLPTRPTR

#define YY_NULLPTRPTR   0

Definition at line 110 of file m2-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: m2-exp.c:1100

Definition at line 1092 of file m2-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: m2-exp.c:1100

Definition at line 1061 of file m2-exp.c.

Referenced by yyparse().

◆ 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: m2-exp.c:1100

Definition at line 999 of file m2-exp.c.

Referenced by yydestruct(), and yyparse().

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 950 of file m2-exp.c.

Referenced by yyparse().

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 949 of file m2-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 yylen
#define yyssp
if(!(yy_init))
Definition: ada-lex.c:1075
#define YYEMPTY
Definition: m2-exp.c:946
int yychar
Definition: m2-exp.c:1369
#define YY_(Msgid)
Definition: m2-exp.c:326

Definition at line 956 of file m2-exp.c.

◆ YYBISON

#define YYBISON   1

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

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.0.4"

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

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 945 of file m2-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 499 of file m2-exp.c.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 471 of file m2-exp.c.

◆ YYDPRINTF

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

Definition at line 987 of file m2-exp.c.

Referenced by yyparse().

◆ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 946 of file m2-exp.c.

Referenced by yyparse().

◆ YYEOF

#define YYEOF   0

Definition at line 947 of file m2-exp.c.

Referenced by yyparse().

◆ YYERRCODE

#define YYERRCODE   256

Definition at line 975 of file m2-exp.c.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 944 of file m2-exp.c.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 951 of file m2-exp.c.

◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE   0

Definition at line 119 of file m2-exp.c.

◆ YYFINAL

#define YYFINAL   69

Definition at line 512 of file m2-exp.c.

Referenced by yyparse().

◆ YYFREE

#define YYFREE   xfree

Definition at line 442 of file m2-exp.c.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 1111 of file m2-exp.c.

Referenced by yyparse().

◆ YYLAST

#define YYLAST   912

Definition at line 514 of file m2-exp.c.

Referenced by yyparse().

◆ YYMALLOC

#define YYMALLOC   xmalloc

Definition at line 436 of file m2-exp.c.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 1122 of file m2-exp.c.

Referenced by yyparse().

◆ YYMAXUTOK

#define YYMAXUTOK   304

Definition at line 528 of file m2-exp.c.

◆ YYNNTS

#define YYNNTS   15

Definition at line 519 of file m2-exp.c.

◆ YYNRULES

#define YYNRULES   82

Definition at line 521 of file m2-exp.c.

◆ YYNSTATES

#define YYNSTATES   187

Definition at line 523 of file m2-exp.c.

◆ YYNTOKENS

#define YYNTOKENS   69

Definition at line 517 of file m2-exp.c.

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

◆ YYPACT_NINF

#define YYPACT_NINF   -90

Definition at line 620 of file m2-exp.c.

◆ yypact_value_is_default

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

Definition at line 622 of file m2-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 m2-exp.c.

◆ YYPURE

#define YYPURE   0

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

◆ YYPUSH

#define YYPUSH   0

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

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 954 of file m2-exp.c.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 316 of file m2-exp.c.

◆ YYSIZE_T

#define YYSIZE_T   size_t

Definition at line 310 of file m2-exp.c.

Referenced by yyparse().

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

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

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 422 of file m2-exp.c.

Referenced by yyparse().

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 425 of file m2-exp.c.

◆ YYSTACK_BYTES

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

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

Referenced by yyparse().

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 423 of file m2-exp.c.

Referenced by yyparse().

◆ YYSTACK_GAP_MAXIMUM

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

Definition at line 463 of file m2-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: m2-exp.c:463
#define yystacksize

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

Referenced by yyparse().

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

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

◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

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

◆ YYTABLE_NINF

#define YYTABLE_NINF   -76

Definition at line 625 of file m2-exp.c.

◆ yytable_value_is_error

#define yytable_value_is_error (   Yytable_value)    (!!((Yytable_value) == (-76)))

Definition at line 627 of file m2-exp.c.

Referenced by yyparse().

◆ YYTERROR

#define YYTERROR   1

Definition at line 974 of file m2-exp.c.

Referenced by yyparse().

◆ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 133 of file m2-exp.c.

◆ YYTRANSLATE

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

Definition at line 530 of file m2-exp.c.

Referenced by yyparse().

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 527 of file m2-exp.c.

◆ YYUSE

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

Definition at line 359 of file m2-exp.c.

Referenced by yy_symbol_value_print(), and yydestruct().

Typedef Documentation

◆ YYSTYPE

typedef union YYSTYPE YYSTYPE

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

◆ yytype_int16

typedef short int yytype_int16

Definition at line 300 of file m2-exp.c.

◆ yytype_int8

typedef signed char yytype_int8

Definition at line 288 of file m2-exp.c.

◆ yytype_uint16

typedef unsigned short int yytype_uint16

Definition at line 294 of file m2-exp.c.

◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 282 of file m2-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 134 of file m2-exp.c.

Function Documentation

◆ m2_parse()

int m2_parse ( struct parser_state par_state)

Definition at line 2842 of file m2-exp.c.

References gdb_assert, make_scoped_restore(), pstate, and yyparse().

◆ parse_number()

static int parse_number ( int  olen)
static

◆ xfree()

void xfree ( void *  )

◆ xmalloc()

void* xmalloc ( YYSIZE_T  )

◆ yy_reduce_print()

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

Definition at line 1073 of file m2-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 1050 of file m2-exp.c.

References YYFPRINTF.

◆ yy_symbol_print()

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

Definition at line 1035 of file m2-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 1016 of file m2-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 2853 of file m2-exp.c.

References _, error(), lexptr, and prev_lexptr.

Referenced by yyparse().

◆ yylex()

static int yylex ( void  )
static

◆ yyparse()

int yyparse ( void  )

Variable Documentation

◆ keytab

struct keyword keytab[]
static
Initial value:
=
{
{"OR" , OROR },
{"IN", IN },
{"AND", LOGICAL_AND},
{"ABS", ABS },
{"CHR", CHR },
{"DEC", DEC },
{"NOT", NOT },
{"DIV", DIV },
{"INC", INC },
{"MAX", MAX_FUNC },
{"MIN", MIN_FUNC },
{"MOD", MOD },
{"ODD", ODD },
{"CAP", CAP },
{"ORD", ORD },
{"VAL", VAL },
{"EXCL", EXCL },
{"HIGH", HIGH },
{"INCL", INCL },
{"SIZE", SIZE },
{"FLOAT", FLOAT_FUNC },
{"TRUNC", TRUNC },
{"TSIZE", SIZE },
}
#define TRUNC
Definition: m2-exp.c:211
#define INC
Definition: m2-exp.c:213
#define ODD
Definition: m2-exp.c:210
#define IN
Definition: m2-exp.c:224
#define CHR
Definition: m2-exp.c:209
#define SIZE
Definition: m2-exp.c:200
#define LOGICAL_AND
Definition: m2-exp.c:226
#define FLOAT_FUNC
Definition: m2-exp.c:207
#define ABS
Definition: m2-exp.c:204
#define OROR
Definition: m2-exp.c:225
#define MAX_FUNC
Definition: m2-exp.c:206
#define VAL
Definition: m2-exp.c:208
#define CAP
Definition: m2-exp.c:201
#define MOD
Definition: m2-exp.c:228
#define NOT
Definition: m2-exp.c:231
#define DIV
Definition: m2-exp.c:227
#define HIGH
Definition: m2-exp.c:203
#define DEC
Definition: m2-exp.c:214
#define EXCL
Definition: m2-exp.c:216
#define MIN_FUNC
Definition: m2-exp.c:205
#define ORD
Definition: m2-exp.c:202
#define INCL
Definition: m2-exp.c:215

Definition at line 2545 of file m2-exp.c.

Referenced by yylex().

◆ name

char name[2]

Definition at line 2526 of file m2-exp.c.

Referenced by yylex().

◆ number_sign

int number_sign = 1
static

Definition at line 101 of file m2-exp.c.

Referenced by parse_number(), and yyparse().

◆ pstate

struct parser_state* pstate = NULL
static

Definition at line 90 of file m2-exp.c.

Referenced by m2_parse(), parse_number(), yylex(), and yyparse().

◆ token

int token

◆ tokentab2

struct { ... } tokentab2[]
Initial value:
=
{
{ {'<', '>'}, NOTEQUAL },
{ {':', '='}, ASSIGN },
{ {'<', '='}, LEQ },
{ {'>', '='}, GEQ },
{ {':', ':'}, COLONCOLON },
}
#define NOTEQUAL
Definition: m2-exp.c:223
#define GEQ
Definition: m2-exp.c:222
#define COLONCOLON
Definition: m2-exp.c:217
#define LEQ
Definition: m2-exp.c:221
#define ASSIGN
Definition: m2-exp.c:220

Referenced by yylex().

◆ yychar

int yychar

Definition at line 1369 of file m2-exp.c.

Referenced by yyparse().

◆ yycheck

const yytype_int16 yycheck[]
static

Definition at line 794 of file m2-exp.c.

Referenced by yyparse().

◆ yydebug

int yydebug

Definition at line 1100 of file m2-exp.c.

◆ yydefact

const yytype_uint8 yydefact[]
static
Initial value:
=
{
0, 68, 69, 66, 67, 70, 71, 74, 81, 76,
82, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 79, 0,
6, 0, 10, 11, 41, 0, 3, 2, 0, 30,
0, 78, 72, 4, 0, 24, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 8, 0, 0, 42, 0, 0, 1,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 5, 0,
0, 39, 9, 0, 0, 41, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 7, 48, 0, 34, 0, 65, 61,
62, 59, 60, 56, 57, 58, 41, 31, 0, 64,
63, 49, 54, 55, 50, 51, 52, 53, 29, 0,
0, 41, 80, 77, 0, 0, 73, 12, 13, 15,
14, 16, 17, 18, 0, 20, 21, 22, 23, 0,
25, 0, 27, 0, 0, 43, 46, 38, 44, 0,
0, 47, 35, 0, 0, 0, 0, 0, 0, 37,
40, 19, 26, 28, 32, 33, 45
}

Definition at line 658 of file m2-exp.c.

Referenced by yyparse().

◆ yydefgoto

const yytype_int16 yydefgoto[]
static
Initial value:
=
{
-1, 35, 36, 66, 64, 38, 39, 140, 141, 67,
169, 40, 41, 42, 46
}

Definition at line 689 of file m2-exp.c.

Referenced by yyparse().

◆ yylval

YYSTYPE yylval

Definition at line 1372 of file m2-exp.c.

Referenced by parse_number(), yylex(), and yyparse().

◆ yynerrs

int yynerrs

Definition at line 1374 of file m2-exp.c.

Referenced by yyparse().

◆ yypact

const yytype_int16 yypact[]
static
Initial value:
=
{
163, -90, -90, -90, -90, -90, -90, -90, -90, -90,
-90, 224, -35, -28, -22, -18, 2, 8, 17, 28,
30, 31, 32, 34, 35, 36, 38, 39, -90, 163,
-90, 163, -90, -90, 163, 27, -90, 807, 163, -90,
-6, -4, -90, -21, 163, 7, -21, 163, 163, 163,
163, 85, 85, 163, 85, 163, 163, 163, 163, 163,
163, 163, 163, 7, 163, 309, 807, -32, -42, -90,
163, 163, 163, 163, 163, 163, 163, 163, -15, 163,
163, 163, 163, 163, 163, 163, 163, 163, -90, 90,
163, -90, 7, -5, 163, 163, -24, 337, 365, 393,
421, -19, 42, 449, 67, 477, 505, 533, 561, 253,
281, 757, 783, 7, -90, 163, -90, 163, 831, -38,
-38, -38, -38, -38, -38, -38, 163, -90, 43, 149,
210, 842, 851, 851, 7, 7, 7, 7, -90, 83,
163, 163, -90, -90, 589, -31, -90, -90, -90, -90,
-90, -90, -90, -90, 163, -90, -90, -90, -90, 163,
-90, 163, -90, 163, 163, 807, 7, -90, 807, -34,
-33, -90, -90, 617, 645, 673, 701, 729, 163, -90,
-90, -90, -90, -90, -90, -90, 807
}

Definition at line 632 of file m2-exp.c.

Referenced by yyparse().

◆ yypgoto

const yytype_int8 yypgoto[]
static
Initial value:
=
{
-90, -90, -90, 0, -90, -90, 26, -90, -90, -89,
-90, -90, -90, -90, 54
}

Definition at line 682 of file m2-exp.c.

Referenced by yyparse().

◆ yyr1

const yytype_uint8 yyr1[]
static
Initial value:
=
{
0, 69, 70, 70, 71, 72, 73, 72, 72, 72,
74, 74, 72, 72, 72, 72, 72, 72, 72, 72,
72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
72, 72, 72, 72, 75, 75, 76, 72, 72, 77,
72, 78, 78, 78, 79, 79, 72, 72, 72, 72,
72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
72, 72, 72, 72, 72, 80, 81, 81, 82, 82,
82, 82, 83
}

Definition at line 916 of file m2-exp.c.

Referenced by yyparse().

◆ yyr2

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

Definition at line 930 of file m2-exp.c.

Referenced by yy_reduce_print(), and yyparse().

◆ yyrline

const yytype_uint16 yyrline[]
static
Initial value:
=
{
0, 151, 151, 152, 155, 164, 169, 168, 175, 179,
183, 184, 187, 191, 195, 199, 203, 209, 215, 219,
225, 229, 233, 237, 241, 246, 250, 257, 261, 268,
274, 277, 281, 285, 289, 291, 301, 297, 309, 316,
313, 324, 327, 331, 336, 341, 346, 352, 358, 366,
370, 374, 378, 382, 386, 390, 394, 398, 400, 404,
408, 412, 416, 420, 424, 428, 435, 441, 447, 455,
466, 476, 485, 488, 497, 504, 508, 518, 530, 538,
542, 565, 608
}

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

Referenced by yy_reduce_print().

◆ yystos

const yytype_uint8 yystos[]
static
Initial value:
=
{
0, 3, 6, 7, 8, 9, 10, 11, 12, 13,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 35, 51,
52, 61, 62, 63, 66, 70, 71, 72, 74, 75,
80, 81, 82, 83, 61, 72, 83, 61, 61, 61,
61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
61, 61, 61, 72, 73, 72, 72, 78, 83, 0,
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 50, 51, 52, 53, 54, 55, 56, 58, 59,
60, 61, 72, 34, 61, 66, 83, 72, 72, 72,
72, 83, 83, 72, 83, 72, 72, 72, 72, 72,
72, 72, 72, 72, 65, 36, 67, 67, 72, 72,
72, 72, 72, 72, 72, 72, 66, 75, 83, 72,
72, 72, 72, 72, 72, 72, 72, 72, 12, 72,
76, 77, 12, 13, 72, 78, 65, 65, 65, 65,
65, 65, 65, 65, 36, 65, 65, 65, 65, 36,
65, 36, 65, 36, 36, 72, 72, 68, 72, 79,
78, 65, 67, 72, 72, 72, 72, 72, 36, 68,
65, 65, 65, 65, 65, 65, 72
}

Definition at line 892 of file m2-exp.c.

Referenced by yy_reduce_print(), and yyparse().

◆ yytable

const yytype_int16 yytable[]
static

Definition at line 698 of file m2-exp.c.

Referenced by yyparse().

◆ yytname

const char* const yytname[]
static
Initial value:
=
{
"$end", "error", "$undefined", "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", "')'", "'{'", "'}'", "']'", "$accept", "start", "type_exp", "exp",
"$@1", "not_exp", "set", "$@2", "$@3", "arglist", "non_empty_arglist",
"block", "fblock", "variable", "type", YY_NULLPTRPTR
}
#define YY_NULLPTRPTR
Definition: m2-exp.c:110

Definition at line 589 of file m2-exp.c.

Referenced by yy_symbol_print().

◆ yytranslate

const yytype_uint8 yytranslate[]
static

Definition at line 535 of file m2-exp.c.