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
When a constant number is defined with the underscores, the number is built correctly but the underscores are counted as valid digits, which is wrong. There aren't problems when the total number of characters is below the maximum expected, but when it is exceeded it has a weird effect: with linux it works and the number is evaluated correctly, with windows it throws an error 'junk at end of line'.
For example:
test long $123_4567 ' Works on both
test2 long $1234_5678 ' Linux works, windows fails
I tought it was an issue with the windows build, but it is an issue with the linux build that doesn't report the error.
The attached patch adjusts the count of too_many_digits to include the underscores while they are skipped. I wasn't able to find why the linux build doesn't throw the error, hope it doesn't cause other issues.
When a constant number is defined with the underscores, the number is built correctly but the underscores are counted as valid digits, which is wrong. There aren't problems when the total number of characters is below the maximum expected, but when it is exceeded it has a weird effect: with linux it works and the number is evaluated correctly, with windows it throws an error 'junk at end of line'.
For example:
I tought it was an issue with the windows build, but it is an issue with the linux build that doesn't report the error.
The attached patch adjusts the count of too_many_digits to include the underscores while they are skipped. I wasn't able to find why the linux build doesn't throw the error, hope it doesn't cause other issues.
too_many_digits_fix.txt
The text was updated successfully, but these errors were encountered: