cgeltly / treechecker

Error checking for genealogical data files
GNU General Public License v3.0
2 stars 1 forks source link

Skip bad new lines and add to errors #14

Open cgeltly opened 9 years ago

cgeltly commented 9 years ago

When new lines do not start with a numeric (0, 1, 2, etc.) and this occurs within a block that is being parsed, it currently causes the parse operation to fail. The desired outcome would be (1) the parser moves over the bad lines without failing (2) a parse error is created, in which the @ID@ at the top of the block and some of the text from the bad lines is added to the error table.