mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 10:54:07 +08:00
* uninclude: Fix third argument to gensub.
From-SVN: r232589
This commit is contained in:
parent
ac0653cf6d
commit
4a8c29cc7a
@ -1,3 +1,7 @@
|
||||
2016-01-19 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* uninclude: Fix third argument to gensub.
|
||||
|
||||
2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* update-copyright.py (GCCCopyright): Add NVIDIA Corporation
|
||||
|
@ -38,7 +38,7 @@ BEGIN {
|
||||
!skipping && $0 ~ cppline &&
|
||||
(exclude == "" || $3 !~ exclude) && (include == "" || $3 ~ include) {
|
||||
skipping = 1;
|
||||
printf "%s\n", "#include <" gensub(cppline, "\\2", "", $0) ">"
|
||||
printf "%s\n", "#include <" gensub(cppline, "\\2", 1, $0) ">"
|
||||
next;
|
||||
}
|
||||
skipping && /^# [0-9]+ / && $3 == lastincluded {
|
||||
|
Loading…
Reference in New Issue
Block a user