C Cross Referencing & Documentation tool. Version 1.5.
C parser.
References Variables: | first | parse-yacc.c |
#define LITERAL 260
#define ELLIPSES 262
#define EQ_OP 273
#define NE_OP 274
#define PTR_OP 275
#define AND_OP 276
#define OR_OP 277
#define DEC_OP 278
#define INC_OP 279
#define LE_OP 280
#define GE_OP 281
#define SIZEOF 284
#define TYPEDEF 285
#define EXTERN 286
#define STATIC 287
#define AUTO 288
#define REGISTER 289
#define CONST 290
#define VOLATILE 291
#define VOID 292
#define INLINE 293
#define CHAR 294
#define SHORT 295
#define INT 296
#define LONG 297
#define SIGNED 298
#define UNSIGNED 299
#define FLOAT 300
#define DOUBLE 301
#define STRUCT 302
#define UNION 303
#define ENUM 304
#define CASE 305
#define DEFAULT 306
#define IF 307
#define ELSE 308
#define SWITCH 309
#define WHILE 310
#define DO 311
#define FOR 312
#define GOTO 313
#define CONTINUE 314
#define BREAK 315
#define RETURN 316
#define ASM 317
#define yylex cxref_yylex
The variable must be LOCAL or EXTERNAL or GLOBAL, so this checks and sets that.
#define YYFINAL 554
#define YYFLAG 32768
#define YYTRANSLATE( x )
#define YYLAST 1566
#define YYBACKUP( token, value )
#define YYLEX yylex
#define YYMAXDEPTH 10000
struct _stack | |
{ | |
char* name; | The name of the object. |
char* type; | The type of the object. |
char* qual; | The type qualifier of the object. |
} |
Visible in: | cxref.c | |
func.c | ||
parse-lex.c | ||
parse-yacc.c | ||
parse-yacc.h | ||
parse-yy.h | ||
preproc.c | ||
type.c | ||
var.c | ||
Used in: | yylex() | parse-lex.c |
yyparse() | parse-yacc.c |
Visible in: | parse-yacc.c | |
type.c | ||
Used in: | ResetParser() | parse-yacc.c |
SeenStructUnionEnd() | type.c | |
SeenStructUnionStart() | type.c | |
yyparse() | parse-yacc.c |
Visible in: | parse-yacc.c | |
Used in: | yyerror() | parse-yacc.c |
yyparse() | parse-yacc.c |
Visible in: | parse-yacc.c | |
Used in: | yyparse() | parse-yacc.c |
Defined in: | preproc.c |
Used in: | ResetParser() |
yyparse() |
in_function
When in a function or a function definition, the behaviour is different.
Used in: | ResetParser() |
yyparse() |
in_funcdef
When in a function or a function definition, the behaviour is different.
Used in: | ResetParser() |
yyparse() |
in_funcbody
When in a function or a function definition, the behaviour is different.
Used in: | ResetParser() |
yyparse() |
first
The parsing stack first value.
Used in: | parse-yacc.c | |
ResetParser() | ||
push() |
list
The parsing stack list of all values.
Used in: | ResetParser() |
pop() | |
push() |
current
The parsing stack current values.
Used in: | ResetParser() |
pop() | |
push() | |
reset() | |
yyparse() |
depth
The depth of the stack currently in use.
Used in: | ResetParser() |
pop() | |
push() |
maxdepth
The depth of the stack total malloced.
Used in: | ResetParser() |
push() |
common_comment
Declarations that are in the same statement share this comment.
Used in: | ResetParser() |
yyparse() |
in_structunion
When inside a struct / union / enum definition, this is the depth.
Used in: | ResetParser() |
cxref_yylex() | |
yyparse() |
comp_type
When inside a struct / union definition, this is the component type.
Used in: | ResetParser() |
yyparse() |
in_type_spec
To solve the problem where a type name is used as an identifier.
Used in: | ResetParser() |
cxref_yylex() | |
yyparse() |
yytranslate
static const char yytranslate[]
Used in: | yyparse() |
yyr1
static const short yyr1[]
Used in: | yyparse() |
yyr2
static const short yyr2[]
Used in: | yyparse() |
yydefact
static const short yydefact[]
Used in: | yyparse() |
yydefgoto
static const short yydefgoto[]
Used in: | yyparse() |
yypact
static const short yypact[]
Used in: | yyparse() |
yypgoto
static const short yypgoto[]
Used in: | yyparse() |
yytable
static const short yytable[]
Used in: | yyparse() |
yycheck
static const short yycheck[]
Used in: | yyparse() |
Called by: | yyparse() | parse-yacc.c |
static int cxref_yylex ( void )
Prototyped in: | parse-yacc.c | |
Calls: | yylex() | parse-lex.c |
Called by: | yyparse() | parse-yacc.c |
References Variables: | in_structunion | parse-yacc.c |
in_type_spec | parse-yacc.c |
Calls: | reset() | parse-yacc.c |
Called by: | yyparse() | parse-yacc.c |
References Variables: | current | parse-yacc.c |
depth | parse-yacc.c | |
list | parse-yacc.c |
Calls: | SafeMalloc() | memory.c |
SafeRealloc() | memory.c | |
reset() | parse-yacc.c | |
Called by: | yyparse() | parse-yacc.c |
References Variables: | current | parse-yacc.c |
depth | parse-yacc.c | |
first | parse-yacc.c | |
list | parse-yacc.c | |
maxdepth | parse-yacc.c |
Called by: | ResetParser() | parse-yacc.c |
pop() | parse-yacc.c | |
push() | parse-yacc.c | |
yyparse() | parse-yacc.c | |
References Variables: | current | parse-yacc.c |
static void yyerror ( char* s )
Prototyped in: | parse-yacc.c | |
Calls: | yylex() | parse-lex.c |
fflush(), fprintf() | ||
Called by: | yyparse() | parse-yacc.c |
References Variables: | parse_file | parse-lex.c |
parse_line | parse-lex.c | |
yychar | parse-yacc.c |