summaryrefslogtreecommitdiffstats
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-17 22:23:49 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-17 22:23:49 +0000
commit5a9f87bb4f047042c9b67dc3d22c275b4c41c24d (patch)
tree1119c95193138295f135f3d1be8fd1f94c827ca3 /gcc/cpphash.h
parentd408664a548e346c6323cae2a41dd1156f8d9c33 (diff)
downloadppe42-gcc-5a9f87bb4f047042c9b67dc3d22c275b4c41c24d.tar.gz
ppe42-gcc-5a9f87bb4f047042c9b67dc3d22c275b4c41c24d.zip
* cpperror.c (print_location): Don't take a file name; use the
line map instead. (_cpp_begin_message): Similarly. (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning, cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update. (cpp_pedwarn_with_file_and_line): Remove. * cppfiles.c (stack_include_file): Update; set filename to stdin here when appropriate. * cpphash.h (struct cpp_buffer): Remove nominal_fname. (_cpp_begin_message): Don't take a file name. * cppinit.c: Add comment. * cpplex.c: Fix end-of-directive indicator. * cpplib.c: Don't include intl.h. (run_directive, do_diagnostic): Update. (do_line): Update to not use nominal_fname. (cpp_push_buffer): Don't take a filename. * cpplib.h (struct ht): Remove. (cpp_push_buffer): Don't take a filename. (cpp_pedwarn_with_file_and_line): Remove. * cppmacro.c (struct cpp_macro): Remove file. (builtin_macro): Update. (_cpp_create_definition): Update. * cppmain.c: Correct comment. * fix-header.c (read_scan_file): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44986 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 27e221c6b58..0a24f4d6c5c 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -176,9 +176,6 @@ struct cpp_buffer
const unsigned char *buf; /* entire buffer */
- /* Filename specified with #line command. */
- const char *nominal_fname;
-
/* Pointer into the include table. Used for include_next and
to record control macros. */
struct include_file *inc;
@@ -375,7 +372,7 @@ extern unsigned char _cpp_trigraph_map[UCHAR_MAX + 1];
/* In cpperror.c */
enum error_type { WARNING = 0, WARNING_SYSHDR, PEDWARN, ERROR, FATAL, ICE };
extern int _cpp_begin_message PARAMS ((cpp_reader *, enum error_type,
- const char *, const cpp_lexer_pos *));
+ const cpp_lexer_pos *));
/* In cppmacro.c */
extern void _cpp_free_definition PARAMS ((cpp_hashnode *));
OpenPOWER on IntegriCloud