C Cross Referencing & Documentation tool. Version 1.5a.
C parser.
References Variables: | first | parse-yacc.c |
#define LITERAL 259
#define ELLIPSES 261
#define EQ_OP 272
#define NE_OP 273
#define PTR_OP 274
#define AND_OP 275
#define OR_OP 276
#define DEC_OP 277
#define INC_OP 278
#define LE_OP 279
#define GE_OP 280
#define SIZEOF 283
#define TYPEDEF 284
#define EXTERN 285
#define STATIC 286
#define AUTO 287
#define REGISTER 288
#define CONST 289
#define VOLATILE 290
#define VOID 291
#define INLINE 292
#define CHAR 293
#define SHORT 294
#define INT 295
#define LONG 296
#define SIGNED 297
#define UNSIGNED 298
#define FLOAT 299
#define DOUBLE 300
#define STRUCT 301
#define UNION 302
#define ENUM 303
#define CASE 304
#define DEFAULT 305
#define IF 306
#define ELSE 307
#define SWITCH 308
#define WHILE 309
#define DO 310
#define FOR 311
#define GOTO 312
#define CONTINUE 313
#define BREAK 314
#define RETURN 315
#define ASM 316
#define yylex cxref_yylex
The variable must be LOCAL or EXTERNAL or GLOBAL, so this checks and sets that.
#define YYFINAL 573
#define YYFLAG 32768
#define YYTRANSLATE( x )
#define YYLAST 1774
#define YYSTACK_ALLOC alloca
#define YYBACKUP( token, value )
#define YYLEX yylex
#define YYMAXDEPTH 10000
#define __yy_memcpy( TO, FROM, COUNT )
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-yy.h | ||
preproc.c | ||
type.c | ||
var.c | ||
Used in: | DocumentTheFile() | cxref.c |
yyparse() | parse-yacc.c |
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: | cxref_yylex() | parse-yacc.c |
yyerror() | parse-yacc.c | |
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() |
yyprhs
static const short yyprhs[]
Used in: | yyparse() |
yyrhs
static const short yyrhs[]
Used in: | yyparse() |
yyrline
static const short yyrline[]
Used in: | yyparse() |
yytname
static const char* const yytname[]
Used in: | yyerror() |
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() |
last_yylex
static int last_yylex[11]
Used in: | cxref_yylex() |
yyerror() |
last_yylval
static char* last_yylval[11]
Used in: | cxref_yylex() |
yyerror() |
Used in: | cxref_yylex() |
yyerror() |
Used in: | cxref_yylex() |
yyerror() |
static int cxref_yylex ( void )
Prototyped in: | parse-yacc.c | |
Calls: | yylex() | parse-lex.c |
Called by: | yyerror() | parse-yacc.c |
yyparse() | parse-yacc.c | |
References Variables: | count | parse-yacc.c |
in_structunion | parse-yacc.c | |
in_type_spec | parse-yacc.c | |
last_yylex | parse-yacc.c | |
last_yylval | parse-yacc.c | |
modcount | parse-yacc.c | |
yylval | 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: | cxref_yylex() | parse-yacc.c |
yylex() | parse-lex.c | |
fflush(), fprintf() | ||
Called by: | yyparse() | parse-yacc.c |
References Variables: | count | parse-yacc.c |
last_yylex | parse-yacc.c | |
last_yylval | parse-yacc.c | |
modcount | parse-yacc.c | |
parse_file | parse-lex.c | |
parse_line | parse-lex.c | |
yychar | parse-yacc.c | |
yylval | parse-yacc.c | |
yytname | parse-yacc.c |