bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] Empty properties within YAML files break parsing process #90

Open bnoazx005 opened 1 year ago

bnoazx005 commented 1 year ago

Bug report

Empty properties within YAML files break parsing process

Environment

Win 10 x64 / Visual Studio 2022 / TDEngine2-v0.6.x / NVidia GTX 860M

Steps to reproduce the issue

  1. Try to open YAML file with some empty string property in it

What's the expected result?

A file should be parsed correctly and empty properties should not be serialized into files

What's the actual result?

YAML parser throws an exception when reaches property with no value