-
Notifications
You must be signed in to change notification settings - Fork 73
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
dump_scan_token prints KEY twice #65
Comments
And I just learned that also BLOCK_ENTRY is printed both in case of FYTT_BLOCK_ENTRY and |
Token scan mode is just a debugging aid. Are you trying to create a new YAML parser or something? The interface is completely private and the documentation of the methods clearly state that this is just for YAML implementers. |
I am just pointing out what I think to be minor errors in the code. They probably would not affect regular use. |
If you can share the input that causes this behavior we can have more concrete data to talk about. |
In master libfyaml/src/tool/fy-tool.c:
|
Oh, yeah, that's a bug - file a PR As I said this is just a debugging aid, never been used for anything besides that until now. |
Same file fy-tool.c:
|
fy-tool is a great tool for YAML analyzers and processors. Useful to use in some AI pipeline to feed a model with YAML code. |
Sure, but the scan token interface is completely non-standard.
The event interface is probably what you need.
…On Tue, Feb 7, 2023 at 4:50 PM Geert Janssen ***@***.***> wrote:
fy-tool is a great tool for YAML analyzers and processors. Useful to use
in some AI pipeline to feed a model with YAML code.
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQGJWWBN36KVEB6KAAMKFLWWJOKVANCNFSM6AAAAAATMRS3P4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Am I allowed to create a pull request? I am trying to push my issue65 branch but am getting permission denied. |
You need to fork and create the PR from your fork.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork
…On Tue, Feb 7, 2023 at 6:16 PM Geert Janssen ***@***.***> wrote:
Am I allowed to create a pull request? I am trying to push my issue65
branch but am getting permission denied.
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQGJWT2WTOFKCM2X4LB4YTWWJYNLANCNFSM6AAAAAATMRS3P4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
…; use print_escape
…; use print_escape
I assume that
dump_scan_token
in fy-tool.c in case ofFYTT_VALUE
should print VALUE or something like that, but not KEY.The text was updated successfully, but these errors were encountered: