Fix gentest pcpp option

This commit is contained in:
Dustin Spicuzza 2023-09-09 22:53:23 -04:00
parent f836f81baf
commit 56278abe33

View File

@ -63,7 +63,7 @@ def gentest(
popt = ""
options = ParserOptions(verbose=verbose)
if options:
if pcpp:
options.preprocessor = make_pcpp_preprocessor()
maybe_options = "options = ParserOptions(preprocessor=make_pcpp_preprocessor())"
popt = ", options=options"