-
Notifications
You must be signed in to change notification settings - Fork 53
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
Regression of existing content with new CFG parser #1132
Comments
leezer3
added a commit
that referenced
this issue
Mar 17, 2025
Thanks. I've fixed that, and added a new warning for that case. |
Also |
leezer3
added a commit
that referenced
this issue
Mar 17, 2025
Fixed, thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When parsing integers in a cfg file, the parsing will completely fail when met with a double value/decimal number.
This unfortunately caused some not-so-well-formed panel cfg files to fail to load completely (Exists in some legacy BVE trains such as 1992TS):
It also seems like the error message is not correctly produced:
Value [163, 31.5] is not a valid integer in Key DigitalNumber in Section DigitalNumber at line 163
Where
[163, 31.5]
should only show31.5
, andKey DigitalNumber
should show the problematic key instead of the section key. (Key Interval
)Related information
The text was updated successfully, but these errors were encountered: