Generates the code to parse int from string.