Open pauloney opened 6 years ago
It is very difficult to make the system parse files with unbalanced braces within pre
...
Boris, the point here is that it gets trown off by the comment:
%\generalizations{
that is located in between Records 1 and 2. It is essentially finding (and processing material that is contained in between two records -- while it should not. It should:
That should do and process it properly.
It is really nice that BibTeX::Parser is now is looking at the "comments" section in between records in a BibTeX file.... but may be it is going too far ... The following examples shows a file that is a completely valid BibTeX file, but it is not parsable with BibTeX::Parser.
The problem here are matched braces that span and entire record within the scope of the brace. More nefarious examples can be construed with unmatched braces -- all of them perfect valid BibTeX files.
In this example just reading (and writing back) disapears with one of the records.