C Cross Referencing & Documentation tool. Version 1.5e.
Collects the comments from the parser.
extern int option_verbatim_comments
Defined in: | cxref.c |
CurFile
The file that is currently being processed.
extern File CurFile
Defined in: | cxref.c |
parse_file
The name of the current file.
extern char* parse_file
Defined in: | parse-lex.c |
Used in: | DeleteComment() | |
GetCurrentComment() | ||
SeenComment() | ||
SetCurrentComment() |
malloc_comment
The malloced string for the current comment.
Used in: | DeleteComment() | |
SeenComment() | ||
SetCurrentComment() |
comment_ended
The status of the current comment.
Used in: | DeleteComment() | |
SeenComment() |
Prototyped in: | cxref.h | |
Calls: | SafeFree() | memory.c |
Called by: | main() | cxref.c |
References Variables: | comment_ended | comment.c |
current_comment | comment.c | |
malloc_comment | comment.c |
char* GetCurrentComment ( void )
void SeenComment ( char* c, int flag )
Prototyped in: | cxref.h | |
Calls: | SafeMalloc() | memory.c |
SafeRealloc() | memory.c | |
SeenFileComment() | file.c | |
SeenFuncIntComment() | func.c | |
TidyCommentString() | comment.c | |
strcat(), strcmp(), strcpy(), strlen() | ||
Called by: | yylex() | parse-lex.c |
References Variables: | CurFile | cxref.c |
comment_ended | comment.c | |
current_comment | comment.c | |
malloc_comment | comment.c | |
option_verbatim_comments | cxref.c | |
parse_file | parse-lex.c |
void SetCurrentComment ( char* comment )
Prototyped in: | cxref.h | |
Calls: | SafeRealloc() | memory.c |
strcpy(), strlen() | ||
Called by: | SeenFileChange() | preproc.c |
yyparse() | parse-yacc.c | |
References Variables: | current_comment | comment.c |
malloc_comment | comment.c |
char* SplitComment ( char** original, char* name )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
CopyString() | memory.c | |
SafeFree() | memory.c | |
SafeMallocString() | memory.c | |
TidyCommentString() | comment.c | |
strlen(), strstr() | ||
Called by: | SeenDefineFunctionArg() | preproc.c |
SeenFunctionArg() | func.c | |
SeenFunctionDefinition() | func.c |
static void TidyCommentString ( char** string, int spaces )
Prototyped in: | comment.c | |
Calls: | strlen() | |
Called by: | SeenComment() | comment.c |
SplitComment() | comment.c |