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 compilation of files with $ in the name #106

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

mkilgore
Copy link
Contributor

This is a bit of an odd one, but files with $ in the name don't compile
correctly due to expansion being done on the $.

The culprit here is make, as the syntax '$x' is interpreted to mean to
insert the expansion of the variable 'x'. To avoid this behavior we have
to replace every single $ with $$. Make will interpret the $$ to mean it
should insert a single $ and not do any expansion, which is what we
want.

Fixes: #96

@mkilgore mkilgore added the bug Something isn't working label Jun 10, 2022
@mkilgore mkilgore added this to Review in progress in Backlog/In Progress Jun 10, 2022
This is a bit of an odd one, but files with $ in the name don't compile
correctly due to expansion being done on the $.

The culprit here is `make`, as the syntax '$x' is interpreted to mean to
insert the expansion of the variable 'x'. To avoid this behavior we have
to replace every single $ with $$. Make will interpret the $$ to mean it
should insert a single $ and not do any expansion, which is what we
want.

Fixes: QB64-Phoenix-Edition#96
@mkilgore mkilgore merged commit 5fd9e95 into QB64-Phoenix-Edition:main Jun 10, 2022
Backlog/In Progress automation moved this from Review in progress to Done Jun 10, 2022
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
Development

Successfully merging this pull request may close these issues.

Files with dollar signs in their names won't compile
2 participants