-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Comments split files into documents #51
Comments
I just ran into this as well and took a while to debug. I thought I was going crazy. |
Oh... Sorry, I will fix this issue. |
@PaulSonOfLars @kcmannem Thanks |
@goccy Appreciate this! Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
parse.ParseFile()
, I find that my single-document yaml file will get split into multiple documents every time I hit a comment; is this intentional?example YAML to reproduce this:
Another question I have is regarding the comment parsing; the only
ast.Mode
available is ParseComments (which is fine), however... calling.String()
on*ast.File
, or*ast.Document
, does not display comments.The text was updated successfully, but these errors were encountered: