python-bibtexparser icon indicating copy to clipboard operation
python-bibtexparser copied to clipboard

Parse error for empty @string definitions (issue #275)

Open omangin opened this issue 5 years ago • 1 comments

The issue was caused by pyparsing not returning as named result an empty string. Hence, although these are correctly parsed, they cannot be accessed by names. The rule would apply for any part of the code accessing by name a parse result where the empty string is admissible: in such a case, the combination of get with a default of "" should be used instead of the direct access ot the named value.

Fixes #275

omangin avatar Jan 16 '21 06:01 omangin

@omangin not sure if @sciunto notified you (as you are the most active contributor to the repo): I just started as a new maintainer in the team :-)

Are you still available to work on this PR? There are already two people confirming in #275 that this fix works (hence it would be great to have it merged) but unfortunately, the tests are still failing.

Would be awesome if you could have a look.

MiWeiss avatar Jul 09 '22 19:07 MiWeiss

PR for v1 is stale and thus closed. But if anyone ones to take this PR up again and get it to run, I am happy to re-open.

MiWeiss avatar May 26 '23 14:05 MiWeiss