Parser tries to parse strings as numbers for no reason

Issue #940 resolved
Broes De Cat created an issue

For some reason, parsing this program results in the error "Error: numeric value out of integer bounds". It seems that it does some (unnecessary) string to number conversion, but might also be more subtle as it does not occur when dropping either one of the two elements, or shortening the string or other changes to it...

From the title, might be related to #934.

Comments (13)

  1. Bart Bogaerts

    By now, has been fixed in a stable way in some branches. I think in joachim-readstrings Should be in master quite soon... @jjansen

  2. Broes De Cat reporter
    • changed status to open

    Is a separate bug in the lexer, because of incorrect assumption on c function strtol (errno is not reset to 0 if there is no error...).

  3. Log in to comment