Allow overriding line numbers and files while parsing strings
authorSteffen Mueller <smueller@cpan.org>
Sat, 16 Apr 2011 14:57:36 +0000 (16:57 +0200)
committerSteffen Mueller <smueller@cpan.org>
Tue, 12 Jul 2011 18:54:51 +0000 (20:54 +0200)
commit7c9818204acf4835cfc80b4e023652b4245f8edb
treefbdefbecfc1e45af0bc7eb45e00f62f71f62beec
parent16c87200414bef0a11c26022e1e4bc345bba7501
Allow overriding line numbers and files while parsing strings

When parsing typemaps from strings, we used to print in-string
line numbers and <string> as the file name. In case of embedded
typemaps in XS code, we really want to refer back to the line
number and name of the XS file. This is now possible.
dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm