C Cross Referencing & Documentation tool. Version 1.5f.
Collects the variable definition stuff.
extern File CurFile
| Defined in: | cxref.c |
in_header
When in a header file make a note of which one for the included variables.
extern int in_header
| Defined in: | preproc.c |
| Used in: | DownScope() | |
| IsAScopeVariable() | ||
| ResetVariableAnalyser() | ||
| SeenScopeVariable() | ||
| UpScope() |
max_scope
The number of levels of scope depth allocated.
| Used in: | ResetVariableAnalyser() | |
| UpScope() |
cur_scope
The current scope depth.
| Used in: | DownScope() | |
| IsAScopeVariable() | ||
| ResetVariableAnalyser() | ||
| SeenScopeVariable() | ||
| UpScope() |
void DeleteVariableType ( Variable var )
| Prototyped in: | cxref.h | |
| Calls: | DeleteStringList2() | slist.c |
| SafeFree() | memory.c | |
| Called by: | DeleteFile() | file.c |
| Prototyped in: | cxref.h | |
| Calls: | DeleteStringList2() | slist.c |
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | cur_scope | var.c |
| variable | var.c | |
int IsAScopeVariable ( char* name )
| Prototyped in: | cxref.h | |
| Calls: | strcmp() | |
| Called by: | CheckFunctionVariableRef() | func.c |
| yylex() | parse-lex.c | |
| yyparse() | parse-yacc.c | |
| References Variables: | cur_scope | var.c |
| variable | var.c | |
void ResetVariableAnalyser ( void )
| Prototyped in: | cxref.h | |
| Calls: | DeleteStringList2() | slist.c |
| SafeFree() | memory.c | |
| Called by: | main() | cxref.c |
| References Variables: | cur_scope | var.c |
| max_scope | var.c | |
| variable | var.c | |
void SeenScopeVariable ( char* name )
| Prototyped in: | cxref.h | |
| Calls: | AddToStringList2() | slist.c |
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | cur_scope | var.c |
| variable | var.c | |
void SeenVariableDefinition ( char* name, char* type, int scope )
| Prototyped in: | cxref.h | |
| Calls: | GetCurrentComment() | comment.c |
| NewVariableType() | var.c | |
| SafeFree() | memory.c | |
| SafeMallocString() | memory.c | |
| strcmp() | ||
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | CurFile | cxref.c |
| in_header | preproc.c | |
| parse_file | parse-lex.c | |
| parse_line | parse-lex.c | |
| Prototyped in: | cxref.h | |
| Calls: | NewStringList2() | slist.c |
| SafeMalloc() | memory.c | |
| SafeRealloc() | memory.c | |
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | cur_scope | var.c |
| max_scope | var.c | |
| variable | var.c | |
static Variable NewVariableType ( char* name, char* type )
| Prototyped in: | var.c | |
| Calls: | NewStringList2() | slist.c |
| SafeCalloc() | memory.c | |
| SafeMallocString() | memory.c | |
| Called by: | SeenVariableDefinition() | var.c |