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

config/lang: don't see * as part of var name [GH-2046] #2505

Merged
merged 1 commit into from
Jun 26, 2015
Merged

Conversation

mitchellh
Copy link
Contributor

Fixes #2046

This wasn't as straightforward as I expected (though still simple), since actually '*' should be part of identifier names in certain cases. So we check if the prior char was '.' and let it through. Otherwise, we bail.

There are tests covering both cases. One is new, the other already existed.

@pmoust
Copy link
Contributor

pmoust commented Jun 26, 2015

It's one of those cases that you mumble: 'mother(&^(( user input...'

@phinze
Copy link
Contributor

phinze commented Jun 26, 2015

LGTM

mitchellh added a commit that referenced this pull request Jun 26, 2015
config/lang: don't see * as part of var name [GH-2046]
@mitchellh mitchellh merged commit 89d44e5 into master Jun 26, 2015
@mitchellh mitchellh deleted the b-var-splat branch June 26, 2015 15:20
@ghost
Copy link

ghost commented May 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

count.index*32: unknown count type: 0x0
3 participants