Skip to content

Commit 56278ab

Browse files
committed
Fix gentest pcpp option
1 parent f836f81 commit 56278ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cxxheaderparser/gentest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def gentest(
6363
popt = ""
6464

6565
options = ParserOptions(verbose=verbose)
66-
if options:
66+
if pcpp:
6767
options.preprocessor = make_pcpp_preprocessor()
6868
maybe_options = "options = ParserOptions(preprocessor=make_pcpp_preprocessor())"
6969
popt = ", options=options"

0 commit comments

Comments
 (0)