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

when expansion value is "", the original macro isn't reinserted on quit #21

Open
Tracked by #1
nverno opened this issue May 10, 2017 · 0 comments
Open
Tracked by #1

Comments

@nverno
Copy link

nverno commented May 10, 2017

This isn't a problem in elisp since empty macros are replaced with nil, but I just made an extension for makefiles, https://github.com/nverno/macrostep-make, and noticed that when a macro's
definition hasn't been defined, eg.
CC =
then, when
${CC}
is expanded, it is blank but doesn't replace with ${CC} upon exit from macroexpansion.
A workaround is to expand with " " instead of "". I don't know if this is something to fix on
this end, but thought I would mention it.

THanks

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