Mercurial > hg > CbC > CbC_gcc
diff contrib/uninclude @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | a06113de4d67 |
children |
line wrap: on
line diff
--- a/contrib/uninclude Sun Aug 21 07:07:55 2011 +0900 +++ b/contrib/uninclude Fri Oct 27 22:46:09 2017 +0900 @@ -38,7 +38,7 @@ !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 {