| 3c9e27cf | 13-Dec-2013 |
Geoffrey Irving <irving@naml.us> |
TAO: Update for no type arguments in PetscNew and PetscNewLog
I used Jed's script from b00a91154f763f12aa55f3d53a3f2776f15f49e3, but removed the '-- $1' bit (which I didn't understand and which didn
TAO: Update for no type arguments in PetscNew and PetscNewLog
I used Jed's script from b00a91154f763f12aa55f3d53a3f2776f15f49e3, but removed the '-- $1' bit (which I didn't understand and which didn't work) to get
git grep -l 'PetscNew\(Log\)\?(' | xargs perl -pi \ -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;' \ -e 's@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@;'
show more ...
|