* 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>
|
2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* update-copyright.py (GCCCopyright): Add NVIDIA Corporation
|
* update-copyright.py (GCCCopyright): Add NVIDIA Corporation
|
||||||
|
|
|
@ -38,7 +38,7 @@ BEGIN {
|
||||||
!skipping && $0 ~ cppline &&
|
!skipping && $0 ~ cppline &&
|
||||||
(exclude == "" || $3 !~ exclude) && (include == "" || $3 ~ include) {
|
(exclude == "" || $3 !~ exclude) && (include == "" || $3 ~ include) {
|
||||||
skipping = 1;
|
skipping = 1;
|
||||||
printf "%s\n", "#include <" gensub(cppline, "\\2", "", $0) ">"
|
printf "%s\n", "#include <" gensub(cppline, "\\2", 1, $0) ">"
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
skipping && /^# [0-9]+ / && $3 == lastincluded {
|
skipping && /^# [0-9]+ / && $3 == lastincluded {
|
||||||
|
|
Loading…
Reference in New Issue