diff options
author | James E Wilson <wilson@specifixinc.com> | 2005-10-21 10:54:20 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2005-10-21 10:54:20 -0700 |
commit | 6568f34b01c7ade5d2fbe0eb19e2d998a201fb02 (patch) | |
tree | cc20eca9ca98c66894b068431e563daeceb0a0f8 /libcpp/internal.h | |
parent | 960d350257c380f7516201b4f666e09c958f7c42 (diff) | |
download | gcc-6568f34b01c7ade5d2fbe0eb19e2d998a201fb02.zip gcc-6568f34b01c7ade5d2fbe0eb19e2d998a201fb02.tar.gz gcc-6568f34b01c7ade5d2fbe0eb19e2d998a201fb02.tar.bz2 |
Fix bug with -MM -MG.
PR preprocessor/15220
* files.c (_cpp_find_file): New parameter angle_brackets. Fix all
callers. Pass to open_file_failed.
(open_file_failed): New parameter angle_brackets. Fix all callers.
Use in print_dep assignment.
* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
* internal.h (_cpp_find_file): Add new parm to declaration.
From-SVN: r105757
Diffstat (limited to 'libcpp/internal.h')
-rw-r--r-- | libcpp/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/internal.h b/libcpp/internal.h index a751c45..4aa6dcc 100644 --- a/libcpp/internal.h +++ b/libcpp/internal.h @@ -503,8 +503,8 @@ extern void _cpp_destroy_hashtable (cpp_reader *); /* In files.c */ typedef struct _cpp_file _cpp_file; -extern _cpp_file *_cpp_find_file (cpp_reader *, const char *fname, - cpp_dir *start_dir, bool fake); +extern _cpp_file *_cpp_find_file (cpp_reader *, const char *, cpp_dir *, + bool, int); extern bool _cpp_find_failed (_cpp_file *); extern void _cpp_mark_file_once_only (cpp_reader *, struct _cpp_file *); extern void _cpp_fake_include (cpp_reader *, const char *); |