Closed Foretack closed 3 months ago
Good point 👍 I'll push a fix.
The default value in the struct does not seem to be used by the parser as a fallback value.
@yehuthi Could you submit a code snippet to get better insights? I added a test last time that addresses this issue. But maybe not all cases were covered 🤔
Ah, I see, the value is never checked in the test. I'll have a look. 👀
@yehuthi Indeed the issue was not fixed correctly. Now it should be. I added a test to check default struct values. Thanks for reporting. 👍
Even though
fdefault
has a default value of 2 here, the parser returns an error because it doesn't find it in the string: