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

fix: add d-forward-decl-or-cast-1 function optional param #117

Conversation

dylangleason
Copy link
Contributor

@dylangleason dylangleason commented Aug 27, 2023

Fix broken (as of Emacs 29) call to d-forward-decl-or-cast-1 advice function due to apparent change in c-forward-decl-or-cast-1 function definition specifying an optional inside-macro param, which causes most fontification to break. See 'cc-engine.el'. More work may be needed to support the optional parameter but for now just get font lock working again.

Tested on Emacs 29; not yet tested on prior versions of Emacs (if anyone could help with that, that would be appreciated). Guidance on how to update unit tests is also welcome, as this is my first contribution.

Fix broken (as of Emacs 29) call to `d-forward-decl-or-cast-1` advice
function due to apparent change in `c-forward-decl-or-cast-1` function
definition specifying an optional `inside-macro` param. See
'cc-engine.el'. More work may be needed to support the optional
parameter but for now just get font locking working again.
Copy link
Member

@CyberShadow CyberShadow left a comment

Choose a reason for hiding this comment

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

Thank you!

@CyberShadow CyberShadow merged commit 0c8c9e3 into Emacs-D-Mode-Maintainers:master Aug 27, 2023
7 of 8 checks passed
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.

None yet

2 participants