We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import yaml, strutils var str = dump(repeat("00 ", 27)) echo str # valid load(str, str) # works str = dump(repeat("0 ", 40)) echo str # invalid load(str, str) # fails # output # # %YAML 1.2 # %TAG !n! tag:nimyaml.org,2016: # --- # !!str >- # 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # %YAML 1.2 # %TAG !n! tag:nimyaml.org,2016: # --- # !!str >- 0 # 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # [NimYAML] Error in file serialization.nim at line 1355: # Unexpected exception: LexerError # … stacktrace [YamlStreamError: Illegal character after block scalar header: "0"]
The text was updated successfully, but these errors were encountered:
89e18ce
Pretty sure this fixes it, but I currently don't have a working Nim dev env so please test and report back!
(you can nimble install yaml#head to get this fix)
nimble install yaml#head
Sorry, something went wrong.
Thank you! I was juuust getting into that proc :)
No branches or pull requests
The text was updated successfully, but these errors were encountered: