diff --git a/Utilities/BibTex/Parsing/BibTexLexer.cs b/Utilities/BibTex/Parsing/BibTexLexer.cs index e13cdb570..a94cc91fe 100644 --- a/Utilities/BibTex/Parsing/BibTexLexer.cs +++ b/Utilities/BibTex/Parsing/BibTexLexer.cs @@ -97,10 +97,12 @@ private void ParseEntry(BibTexLexerCallback callback) switch (bibtex[c]) { case '(': + ++c; callback.RaiseComment(ParseUntilDelim(callback, ')')); return; case '{': + ++c; callback.RaiseComment(ParseUntilDelim(callback, '}')); return;