mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 02:44:58 +08:00
add test for comment in dictionary from #145
check that we correctly handle the case where a comment appears inside a dictionary, this was handled by commit 3084a9. use list internally to dictionary tokenizer to avoid interface performance penalties.
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
private static Dictionary<NameToken, IToken> ConvertToDictionary(IReadOnlyList<IToken> tokens)
|
||||
private static Dictionary<NameToken, IToken> ConvertToDictionary(List<IToken> tokens)
|
||||
{
|
||||
var result = new Dictionary<NameToken, IToken>();
|
||||
|
||||
|
Reference in New Issue
Block a user