States for positive/negative integers
This enables the parser to bail out on the first character that causes an overflow instead of checking for an overflow on the LF character. Doing this without separate states requires too much branching in the main loop that consumes integers (positive/negative overflow boundaries are different).
Please register or sign in to comment