You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./t
\n>Roses ar...")pt): "...1 = """x|er.Parser.value value expected .boolean, .quoted, .lsbr, .lcbr or .number got "cr" "
v hash: 188d68d
/tmp/v_1000/t.01JSR09W8PMK1B3BR3QY3R357M.tmp.c:6828: at _v_panic: Backtrace
/tmp/v_1000/t.01JSR09W8PMK1B3BR3QY3R357M.tmp.c:6791: by panic_result_not_set
/tmp/v_1000/t.01JSR09W8PMK1B3BR3QY3R357M.tmp.c:14937: by main__main
/tmp/v_1000/t.01JSR09W8PMK1B3BR3QY3R357M.tmp.c:15001: by main
Possible Solution
enhance the toml.parse_file(), let it can handle CRLF not only LF.
Describe the bug
If a
.tomlfile create under Windows and in CRLF format, thetoml.parse_file()will panic.Reproduction Steps
Under windows, create a toml file, in CRLF format(default).
t.toml:
a file reader:
t.v
Expected Behavior
Current Behavior
Possible Solution
enhance the
toml.parse_file(), let it can handleCRLFnot onlyLF.Additional Information/Context
No response
V version
V 0.4.10 188d68d.188d68d
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.