Add check for scalar context in find_directive_elements
authorJacob Bachmeyer <jcb@gnu.org>
Sat, 12 Nov 2022 02:24:28 +0000 (20:24 -0600)
committerJacob Bachmeyer <jcb@gnu.org>
Sat, 12 Nov 2022 02:24:28 +0000 (20:24 -0600)
commit1a9d600c1695ffa47becd2f2a6a3c574f82be817
treecb87696b3d628bac8a6f6295515baaddd70b1769
parent428b876b24600f88242a83440f609aabaa7632fd
Add check for scalar context in find_directive_elements

This avoids building a list when the only important detail is whether a key
is present in the directive.
gatekeeper.pl