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

When this runs, it seems to not let my code progress and it just ends up finishing when it is a continuous running application. #23

Open
MostHated opened this issue Oct 15, 2018 · 0 comments

Comments

@MostHated
Copy link

I tried putting this in a file other than my main first, it failed with an error in the "on-the-fly" function of pypreprocessor. To test I put it in my main file just to put in a define and see if it would work. It does work, I was able to setup a small test similar to the examples you have as seen here:

pypreprocessor.parse()
#define yes
#ifdef yes
print('yes!')
#else
print('no!')
#endifall

That worked, but as it for to my main function which calls another class to start to run the main part of my application, it just exits. I am not sure exactly what is going on. Does this need to be present in all files of my project?

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

1 participant