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

does pre-processor support #else #elseif or #not directive? #10

Open
easyfrog opened this issue Nov 7, 2020 · 1 comment
Open

does pre-processor support #else #elseif or #not directive? #10

easyfrog opened this issue Nov 7, 2020 · 1 comment

Comments

@easyfrog
Copy link

easyfrog commented Nov 7, 2020

I see the example in readme only have #if #endif, so does pre-processor support #else #elseif or #not directive?

@zxcat
Copy link

zxcat commented Jul 23, 2022

the only line used to find directives is

let source = /\/\/\s#if\sIS_DEFINE(.*)([\s\S]*?)\/\/\s#endif/g.source

so there is no support of anything else

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