feisty meow concerns codebase
2.140
|
Go to the source code of this file.
Functions | |
int | find_includes (struct filepointer *filep, inclist *file, inclist *file_red, int recursion, bool failOK) |
int | gobble (register struct filepointer *filep, inclist *file, inclist *file_red) |
int | deftype (register char *line, register struct filepointer *filep, register inclist *file_red, register inclist *file, int parse_it) |
symtab * | isdefined (register char *symbol, inclist *file, inclist **srcfile) |
struct symtab * | fdefined (register char *symbol, inclist *file, inclist **srcfile) |
int | zero_value (register char *exp, register struct filepointer *filep, register inclist *file_red) |
void | define (char *def, inclist *file) |
void | define2 (char *name, char *val, inclist *file) |
struct symtab * | slookup (register char *symbol, register inclist *file) |
void | undefine (char *symbol, register inclist *file) |
Variables | |
const char * | directives [] |
inclist | maininclist |
void define | ( | char * | def, |
inclist * | file | ||
) |
Definition at line 416 of file parse.cpp.
References define2().
Referenced by find_includes(), and main().
void define2 | ( | char * | name, |
char * | val, | ||
inclist * | file | ||
) |
Definition at line 434 of file parse.cpp.
References copy(), fatalerr(), inclist::i_deflen, inclist::i_defs, inclist::i_ndefs, symtab::s_name, symtab::s_value, and SYMTABINC.
int deftype | ( | register char * | line, |
register struct filepointer * | filep, | ||
register inclist * | file_red, | ||
register inclist * | file, | ||
int | parse_it | ||
) |
Definition at line 218 of file parse.cpp.
References debug, DEFINE, directives, EJECT, ELIF, ELIFFALSE, ELIFGUESSFALSE, ELSE, ENDIF, ERROR, filepointer::f_line, inclist::i_file, inclist::i_included_sym, inclist::i_incstring, IDENT, IF, IFDEF, IFFALSE, IFNDEF, IMPORT, INCLUDE, INCLUDEDOT, isdefined(), match(), PRAGMA, symtab::s_name, symtab::s_value, SCCS, UNDEF, and zero_value().
Referenced by find_includes(), and gobble().
Definition at line 378 of file parse.cpp.
References debug, fdefined(), inclist::i_defchecked, inclist::i_file, inclist::i_list, symtab::s_value, and slookup().
Referenced by fdefined(), and isdefined().
int find_includes | ( | struct filepointer * | filep, |
inclist * | file, | ||
inclist * | file_red, | ||
int | recursion, | ||
bool | failOK | ||
) |
Definition at line 40 of file parse.cpp.
References add_include(), debug, DEFINE, define(), deftype(), EJECT, ELIF, ELIFFALSE, ELIFGUESSFALSE, ELSE, ENDIF, ERROR, filepointer::f_line, find_includes(), getline(), gobble(), inclist::i_file, IDENT, IF, IFDEF, IFFALSE, IFGUESSFALSE, IFNDEF, IMPORT, INCLUDE, INCLUDEDOT, isdefined(), PRAGMA, SCCS, UNDEF, undefine(), warning(), and warning1().
Referenced by add_include(), and find_includes().
int gobble | ( | register struct filepointer * | filep, |
inclist * | file, | ||
inclist * | file_red | ||
) |
Definition at line 165 of file parse.cpp.
References debug, DEFINE, deftype(), directives, EJECT, ELIF, ELIFFALSE, ELIFGUESSFALSE, ELSE, ENDIF, ERROR, filepointer::f_line, getline(), inclist::i_file, IDENT, IF, IFDEF, IFFALSE, IFGUESSFALSE, IFNDEF, IMPORT, INCLUDE, INCLUDEDOT, PRAGMA, SCCS, UNDEF, and warning().
Referenced by find_includes().
Definition at line 362 of file parse.cpp.
References debug, fdefined(), inclist::i_file, maininclist, and slookup().
Referenced by deftype(), find_includes(), and undefine().
Definition at line 510 of file parse.cpp.
References inclist::i_defs, inclist::i_ndefs, and symtab::s_name.
Referenced by fdefined(), and isdefined().
void undefine | ( | char * | symbol, |
register inclist * | file | ||
) |
Definition at line 548 of file parse.cpp.
References inclist::i_defs, inclist::i_ndefs, and isdefined().
Referenced by find_includes().
int zero_value | ( | register char * | exp, |
register struct filepointer * | filep, | ||
register inclist * | file_red | ||
) |
|
extern |
Definition at line 76 of file makedep.cpp.
|
extern |
Definition at line 100 of file makedep.cpp.
Referenced by isdefined(), and main().