Mercurial > hg > CbC > old > device
view tools/regs_use.pl @ 540:fe37f32b552b
include_next, macro_function eat 1 char.
author | kono |
---|---|
date | Sun, 01 Jan 2006 11:14:34 +0900 |
parents | 7c3d8237b625 |
children |
line wrap: on
line source
#!/usr/bin/perl $d = 0; while(<>) { s/get_register\(\d*\)/get_register($d)/g; s/get_lregister\(\d*\)/get_lregister($d)/g; $d++; print; }