-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
No description provided.