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

Added a special treatment for + character #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zerkms
Copy link

@zerkms zerkms commented Dec 4, 2018

This is a naive solution for the #113

@@ -347,6 +347,11 @@ var reservedWords = map[string]string{
"var": "var_",
}

var reservedCharacters = map[rune]string{
Copy link
Collaborator

Choose a reason for hiding this comment

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

As you already pointed out this will work only for specific cases. The idea of custom mapping sounds like a better solution.

Copy link
Author

Choose a reason for hiding this comment

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

Yep, I don't really expect this to be accepted :-)

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