Merge branch 'master' of github.com:UglyToad/PdfPig

This commit is contained in:
Eliot Jones 2023-05-21 14:58:45 +01:00
commit 976d8929a1

View File

@ -157,12 +157,12 @@
throw new ArgumentNullException(NameToken.Functions); throw new ArgumentNullException(NameToken.Functions);
} }
if (!functionDictionary.TryGet<ArrayToken>(NameToken.Bounds, out var bounds)) if (!functionDictionary.TryGet<ArrayToken>(NameToken.Bounds, scanner, out var bounds))
{ {
throw new ArgumentNullException(NameToken.Bounds); throw new ArgumentNullException(NameToken.Bounds);
} }
if (!functionDictionary.TryGet<ArrayToken>(NameToken.Encode, out var encode)) if (!functionDictionary.TryGet<ArrayToken>(NameToken.Encode, scanner, out var encode))
{ {
throw new ArgumentNullException(NameToken.Encode); throw new ArgumentNullException(NameToken.Encode);
} }