Skip to content

Replace int parameters with bools in parser #867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

bnoordhuis
Copy link
Contributor

Declaring int when the parameter is in fact used as a bool is needlessly confusing.

Fixes: #864

Declaring int when the parameter is in fact used as a bool is needlessly
confusing.

Fixes: quickjs-ng#864
@bnoordhuis bnoordhuis merged commit 9712f77 into quickjs-ng:master Jan 31, 2025
61 checks passed
@bnoordhuis bnoordhuis deleted the fix864 branch January 31, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

js_parse_* functions should use PF_ flags, not booleans
2 participants