ylwrap: simplify the list of renamings
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 12 Jul 2012 13:13:29 +0000 (15:13 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 14 Jul 2012 10:10:22 +0000 (12:10 +0200)
commit1a871ca02705c1225a75bb024119efbf56ab19c4
tree6088c02632a6b7b99348d0c2ae7ac7fe8f820eca
parent4294cbb03034099f59238eee28accabf790866d0
ylwrap: simplify the list of renamings

* lib/ylwrap (pairwise): Instead of being a straightforward copy from
the command line arguments, and having to deal with y.tab vs. y_tab
later, let pairwise store the real file names to process, y_tab
conversion included when needed.
(main loop): Use $to instead of $2, for symmetry with $from.
lib/ylwrap