summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-11 20:17:27 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-11 20:17:27 +0000
commit4e29fcb29364483775d71bd14af5d3b47e20f2cf (patch)
tree4e6ca8c2c0a5cca5b730a20801572a000aed5b2a /gcc/cpphash.h
parent8a8d8df41bd19bca445e2302172534f46d418b27 (diff)
downloadgcc-4e29fcb29364483775d71bd14af5d3b47e20f2cf.tar.gz
* cpphash.c: Fix formatting, update commentary.
(dump_definition): Take three separate arguments instead of a MACRODEF structure argument. * cpphash.h: Update prototype of dump_definition. * cppinit.c (cpp_finish): Update call of dump_definition. * cpplib.c (do_define): Always create new hash entry with T_MACRO type. Remove redundant check for redefinition of poisoned identifier. Update call of dump_definition. (do_undef): Don't call check_macro_name. Rename sym_length to len. (do_error, do_warning): Don't use copy_rest_of_line or SKIP_WHITE_SPACE. (do_warning): Don't use pedwarn for the actual warning, only the notice about its not being in the standard. (Fixes bug with #warning in system headers.) (do_ident): Stricter argument checking - accept only a single string after #ident. Also, macro-expand the line. (do_xifdef): Use cpp_defined. De-obfuscate. (do_pragma): Split out specific pragma handling to separate functions. Use get_directive_token. Update commentary. Do not pass on #pragma once or #pragma poison to the front end. (do_pragma_once, do_pragma_implementation, do_pragma_poison, do_pragma_default): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index b9742843ed9..c9273d56db9 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -107,6 +107,7 @@ extern MACRODEF create_definition PARAMS ((U_CHAR *, U_CHAR *,
extern int compare_defs PARAMS ((cpp_reader *, DEFINITION *,
DEFINITION *));
extern void macroexpand PARAMS ((cpp_reader *, HASHNODE *));
-extern void dump_definition PARAMS ((cpp_reader *, MACRODEF));
+extern void dump_definition PARAMS ((cpp_reader *, const U_CHAR *, long,
+ DEFINITION *));
#endif