aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-05-21 23:43:53 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2007-05-21 23:43:53 +0000
commit0b4cafec04e60b7a06ee01ddc752c516ddb250c7 (patch)
tree8192afa5cfab60d4b4ee6d27b517d13b9f66f4fd /gcc
parenta50411de14fec4cf78acbe5dcc2ec0de7bb5e27f (diff)
downloadgcc-0b4cafec04e60b7a06ee01ddc752c516ddb250c7.zip
gcc-0b4cafec04e60b7a06ee01ddc752c516ddb250c7.tar.gz
gcc-0b4cafec04e60b7a06ee01ddc752c516ddb250c7.tar.bz2
internal.h (struct cpp_reader): Add new fields: nonexistent_file_hash and nonexistent_file_ob.
* internal.h (struct cpp_reader): Add new fields: nonexistent_file_hash and nonexistent_file_ob. * files.c: Include "obstack.h". (find_file_in_dir): Before trying to open the file, look up the path name in the hash table of nonexistent files. After failing to open the file, add the path name to the hash table. (_cpp_find_file): Cache the results of looking up the file name starting with the quote and bracket chain heads, if we can. (nonexistent_file_hash_eq): New static function. (_cpp_init_files): Initialize pfile->nonexistent_file_hash and pfile->nonexistent_file_ob. (_cpp_cleanup_files): Free pfile->nonexistent_file_hash and pfile->nonexistent_file_ob. From-SVN: r124929
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions