diff options
author | Jakub Jelinek <jakub@redhat.com> | 2000-07-24 19:04:03 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2000-07-24 19:04:03 +0200 |
commit | 9512cb3f2fff62251fdb1b2093ed7262988f3a89 (patch) | |
tree | d04db8c112eae7063c047a446180595df8bd070c /gcc/tradcpp.c | |
parent | e8ad90e50887516b9ae3533ed6d0946506af1bad (diff) | |
download | gcc-9512cb3f2fff62251fdb1b2093ed7262988f3a89.tar.gz |
tradcpp.c (main): Update max_include_len for cpp_include_defaults as well.
* tradcpp.c (main): Update max_include_len for cpp_include_defaults
as well.
From-SVN: r35229
Diffstat (limited to 'gcc/tradcpp.c')
-rw-r--r-- | gcc/tradcpp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c index 66f4914821c..a66123631a3 100644 --- a/gcc/tradcpp.c +++ b/gcc/tradcpp.c @@ -739,6 +739,8 @@ main (argc, argv) last_include->next = dirtmp; last_include = dirtmp; /* Tail follows the last one */ dirtmp->fname = di->fname; + if (strlen (dirtmp->fname) > max_include_len) + max_include_len = strlen (dirtmp->fname); } if (ignore_srcdir && first_bracket_include == 0) |