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

Issue59 #67

Merged
merged 7 commits into from
Mar 3, 2018
Merged

Issue59 #67

merged 7 commits into from
Mar 3, 2018

Conversation

emicklei
Copy link
Owner

@emicklei emicklei commented Mar 3, 2018

No description provided.

@emicklei emicklei merged commit 581110d into master Mar 3, 2018
Copy link
Contributor

@bufdev bufdev left a comment

Choose a reason for hiding this comment

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

I think there is an issue here.

@@ -153,6 +153,8 @@ func (l *Literal) parse(p *Parser) error {
type NamedLiteral struct {
*Literal
Name string
// PrintsColon is true when the Name must be printed with a colon suffix
PrintsColon bool
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this tested?

In previous versions, was the colon printed automatically/was it part of the Name? If so, this is backwards incompatible.

Copy link
Owner Author

Choose a reason for hiding this comment

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

the colon was never part of the key. this change preserves that information such that any printer/formatter could use it to stay close to the original source.

@emicklei emicklei deleted the issue59_2 branch May 5, 2018 06:44
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.

2 participants