diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-03-07 20:58:47 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-03-07 20:58:47 +0000 |
commit | b0699daddf1eead3861e67808ac915f21f82dcf3 (patch) | |
tree | 1a0ac2a2bf6f6751175dddcf0bf7464c1266fe1a /gcc/cpphash.c | |
parent | 79e69af0254238d0b5fa1940c5f7ecfce9e11bcd (diff) | |
download | gcc-b0699daddf1eead3861e67808ac915f21f82dcf3.zip gcc-b0699daddf1eead3861e67808ac915f21f82dcf3.tar.gz gcc-b0699daddf1eead3861e67808ac915f21f82dcf3.tar.bz2 |
cppfiles.c (_cpp_find_include_file): Make sure ih->name is initialized.
* cppfiles.c (_cpp_find_include_file): Make sure ih->name is
initialized.
* cppinit.c (cpp_cleanup): Free imp->nshort also.
* cpperror.c (cpp_print_containing_files,
cpp_print_file_and_line, v_cpp_message): Rename to
print_containing_files, print_file_and_line, and v_message.
* cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
to _cpp_parse_expr, parse_escape, and lex.
(parse_charconst): Remove broken multibyte support.
* cppfiles.c (include_hash): Make static.
(cpp_included): New function.
(merge_include_chains, find_include_file, finclude,
simplify_pathname): Rename to _cpp_merge_include_chains,
_cpp_find_include_file, _cpp_read_include_file, and
_cpp_simplify_pathname.
* cpphash.c (cpp_lookup, free_definition, delete_macro,
cpp_install, create_definition, macroexpand, compare_defs,
dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
_cpp_delete_macro, _cpp_install, _cpp_create_definition,
_cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
* cppinit.c (cpp_handle_option): Rename to handle_option, make
static.
* cpplib.c: Remove extern prototype of cpp_parse_expr.
* cpphash.h: Update prototypes.
* cpplib.h: Likewise. Prototype _cpp_parse_expr here.
From-SVN: r32390
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r-- | gcc/cpphash.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c index bcb5538..e5c4c71 100644 --- a/gcc/cpphash.c +++ b/gcc/cpphash.c @@ -116,7 +116,7 @@ hashf (s, len) Otherwise, compute the length by scanning the entire name. */ HASHNODE * -cpp_lookup (pfile, name, len) +_cpp_lookup (pfile, name, len) cpp_reader *pfile; const U_CHAR *name; int len; @@ -147,7 +147,7 @@ cpp_lookup (pfile, name, len) do_define when redefining macros. */ void -free_definition (d) +_cpp_free_definition (d) DEFINITION *d; { struct reflist *ap, *nextap; @@ -169,7 +169,7 @@ free_definition (d) */ void -delete_macro (hp) +_cpp_delete_macro (hp) HASHNODE *hp; { if (hp->prev != NULL) @@ -183,7 +183,7 @@ delete_macro (hp) *hp->bucket_hdr = hp->next; if (hp->type == T_MACRO) - free_definition (hp->value.defn); + _cpp_free_definition (hp->value.defn); free (hp); } @@ -202,7 +202,7 @@ delete_macro (hp) Otherwise, compute the hash code. */ HASHNODE * -cpp_install (pfile, name, len, type, value) +_cpp_install (pfile, name, len, type, value) cpp_reader *pfile; const U_CHAR *name; int len; @@ -698,7 +698,7 @@ collect_formal_parameters (pfile) macro. */ DEFINITION * -create_definition (pfile, funlike) +_cpp_create_definition (pfile, funlike) cpp_reader *pfile; int funlike; { @@ -959,7 +959,7 @@ special_symbol (hp, pfile) an argument list follows; arguments come from the input stack. */ void -macroexpand (pfile, hp) +_cpp_macroexpand (pfile, hp) cpp_reader *pfile; HASHNODE *hp; { @@ -1484,7 +1484,7 @@ push_macro_expansion (pfile, xbuf, xbuf_len, hp) /* Return zero if two DEFINITIONs are isomorphic. */ int -compare_defs (pfile, d1, d2) +_cpp_compare_defs (pfile, d1, d2) cpp_reader *pfile; DEFINITION *d1, *d2; { @@ -1576,7 +1576,7 @@ comp_def_part (first, beg1, len1, beg2, len2, last) to be read back in again. */ void -dump_definition (pfile, sym, len, defn) +_cpp_dump_definition (pfile, sym, len, defn) cpp_reader *pfile; const U_CHAR *sym; long len; |