Subject: | File line number in errors |
For any error of the form
Invalid line in table: *** DONE something at
/usr/perl5.12.0/lib/site_perl/5.12.0/Org/Element/Table.pm line 52, <>
line 24166.
the org parser reports the last line of the org file (in this example
the org file had 24166 lines). Maybe this happens because
File::Slurp::read_file is still active while calling the parse method in
Org::Parser::parse_file, and could be solved easily by creating a
temporary scalar with the read_file result and feed it to the parse method.
Regards,
Slaven