Skip to content
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

How to Disable control flow #173

Open
carrotProgrammer opened this issue Jul 13, 2024 · 2 comments
Open

How to Disable control flow #173

carrotProgrammer opened this issue Jul 13, 2024 · 2 comments

Comments

@carrotProgrammer
Copy link

How can I disable conditional statements or loop statements when generating C code

@jxyang
Copy link
Member

jxyang commented Jul 13, 2024

There is no command line options for that. You will need to hack the code.

The easiest way is modifying the StatementFilter so that for any control type or loop type statement, return false.

@carrotProgrammer
Copy link
Author

Thanks

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

No branches or pull requests

2 participants