Error handling/message improvements
authorSteffen Mueller <smueller@cpan.org>
Sat, 16 Apr 2011 14:58:57 +0000 (16:58 +0200)
committerSteffen Mueller <smueller@cpan.org>
Tue, 12 Jul 2011 18:54:51 +0000 (20:54 +0200)
commit5a784a653060a0181006f5f5216f59a5f027bb6f
tree6b31d517f68e200a3c04d87c77a75ec0227dc885
parent7c9818204acf4835cfc80b4e023652b4245f8edb
Error handling/message improvements

- Move line number calculation to separate method
- Make death/Warn/blurt proper methods
  They pretended to be methods all along, but never were.
- Pass XS file name and line no. to typemap parser
  ... for better error messages from the typemap parser in
  case of embedded typemaps
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
dist/ExtUtils-ParseXS/t/113-check_cond_preproc_statements.t
dist/ExtUtils-ParseXS/t/114-blurt_death_Warn.t