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

Handle some preprocessor macros to re-fix parentheses matching logic #209

Open
MichaelChirico opened this issue Jul 11, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@MichaelChirico
Copy link
Owner

MichaelChirico commented Jul 11, 2021

Follow-up to #199 which implemented a really hacky fix that in turn broke some old logic for detecting erroneous C files. See discussion there.

Doing complete macro expansion seems prohibitively difficult (and is one of the biggest stumbling blocks I encountered in starting the parsec project), and xgettext itself doesn't seem to do so.

Maybe it's time to give up the 👻 of writing a half-assed targeted C parser & just let xgettext do the work, then build the calls ex-post? How would one even build a call in the cases causing this issue though?

@MichaelChirico MichaelChirico added the bug Something isn't working label Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant