From 0645457eb411f24aff1bf66debb79b1a8cdbdff0 Mon Sep 17 00:00:00 2001 From: Ritsuka Date: Mon, 9 Aug 2021 17:00:36 +0800 Subject: [PATCH] Fix #349 --- Utilities/BibTex/Parsing/BibTexLexer.cs | 2 ++ 1 file changed, 2 insertions(+) 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;