In makedef.pl, refactor the code that reads *.sym files.
authorNicholas Clark <nick@ccl4.org>
Thu, 28 Jul 2011 15:03:04 +0000 (17:03 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 1 Aug 2011 09:53:57 +0000 (11:53 +0200)
commita6587d2d54d31fb38b3c64b9a10bf7d4eefc781b
tree91b54ecdd8bbd117c73e390114d57190673f930f
parent60fae8969c3c2f50fa614da8ed36310784b903f5
In makedef.pl, refactor the code that reads *.sym files.

Hoist the test that chooses the prefix out of the loop. Tweak the regex to
avoid needing an explicit chomp/ Use 3-arg open and a lexical for the file
handle.
makedef.pl