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

C preprocessor handling #140

Open
sh1boot opened this issue Jan 24, 2024 · 0 comments
Open

C preprocessor handling #140

sh1boot opened this issue Jan 24, 2024 · 0 comments

Comments

@sh1boot
Copy link

sh1boot commented Jan 24, 2024

I notice the default is to ignore preprocessor lines, and I guess that's because their normally-zero indent would reset the whole system to zero every time one occurred.

I suppose the logical indentation of preprocessor depends on interpreting the lines (stepping up and down with #if and #endif) and keeping separate counters and extending all the way to the start of the file because there's no fast-out on the left margin.

Is such a thing feasible?

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