Include file information in input reader error messages

This commit is contained in:
Tim Wojtulewicz 2021-12-09 12:08:33 -07:00
parent 8184073ef8
commit 098a5d3348
13 changed files with 179 additions and 57 deletions

View file

@ -1,10 +1,10 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
### NOTE: This file has been sorted with diff-sort.
warning: input.log/Input::READER_ASCII: Could not convert line '2 /cat/sss' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: Could not convert line '3 /foo|bar' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: Could not convert line '4 this is not a pattern' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: Could not convert line '5 /5' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: String '/5' contained no parseable pattern.
warning: input.log/Input::READER_ASCII: String '/cat/sss' contained no parseable pattern.
warning: input.log/Input::READER_ASCII: String '/foo|bar' contained no parseable pattern.
warning: input.log/Input::READER_ASCII: String 'this is not a pattern' contained no parseable pattern.
warning: input.log/Input::READER_ASCII: input.log, line 5: Could not convert line '2 /cat/sss' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: input.log, line 5: String '/cat/sss' contained no parseable pattern.
warning: input.log/Input::READER_ASCII: input.log, line 6: Could not convert line '3 /foo|bar' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: input.log, line 6: String '/foo|bar' contained no parseable pattern.
warning: input.log/Input::READER_ASCII: input.log, line 7: Could not convert line '4 this is not a pattern' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: input.log, line 7: String 'this is not a pattern' contained no parseable pattern.
warning: input.log/Input::READER_ASCII: input.log, line 8: Could not convert line '5 /5' of input.log to Val. Ignoring line.
warning: input.log/Input::READER_ASCII: input.log, line 8: String '/5' contained no parseable pattern.