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

Add a "var default value" statement #128

Closed
scizzorz opened this issue Jun 3, 2020 · 0 comments
Closed

Add a "var default value" statement #128

scizzorz opened this issue Jun 3, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@scizzorz
Copy link
Member

scizzorz commented Jun 3, 2020

Sometimes it's helpful to set a default value for a variable that can be overridden if set outside of mold, eg:

$ export FOO=bar
$ mold foo

At the moment, I think something like this could suffice:

var FOO := "foo"

but open to other ideas.

@scizzorz scizzorz added the enhancement New feature or request label Jun 3, 2020
@scizzorz scizzorz added this to the 0.7.0 milestone Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant