Parser optimizations by code swapping.