Skip to content

Generate itype string from AST when extracting from source fails #693

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

Merged
merged 5 commits into from
Sep 2, 2021

Conversation

john-h-kastner
Copy link
Collaborator

Fixes an assertion failure I encountered while working on libjpeg that showed up when attempting to extract the string representation of an itype expression from the original source code if the itype expression was inside a macro. The string representation for itypes in macros is now re-generated from the AST.

Fixes an assertion that would fail when attempting to extract the string
representation of an itype expression from the original source code if
the itype expression was inside a macro. The string representation for
itypes in macros is now re-generated from the AST.
Copy link
Member

@kyleheadley kyleheadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A harmless second chance to avoid an assert error.

@john-h-kastner john-h-kastner linked an issue Sep 2, 2021 that may be closed by this pull request
@john-h-kastner john-h-kastner merged commit 07c5311 into main Sep 2, 2021
@Machiry Machiry deleted the itype_in_macro branch January 22, 2022 15:37
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

Successfully merging this pull request may close these issues.

Assertion failure on itype declaration in macro
3 participants