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

Support of #include directive #17

Open
MatthieuDartiailh opened this issue Aug 8, 2015 · 1 comment
Open

Support of #include directive #17

MatthieuDartiailh opened this issue Aug 8, 2015 · 1 comment

Comments

@MatthieuDartiailh
Copy link
Owner

Supporting the include directive (for local header only #include "begin_code.h" ), would allow less hacks for complex libraries with a lot of files.
This could be achieved, in the preprocessing step, by making sure that all files that are included have been parsed and if not by parsing them before going on.
@mrh1997, do you have an opinion on this ?

@mrh1997
Copy link
Contributor

mrh1997 commented Aug 13, 2015

Very good idea.

This came to mind already when reworking the parser. It would not only avoid ugly workarounds, but also be fairly simple to implement.

(I did not mention this idea yet, since I try to avoid new features during refactoring)

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