fix a bug which is converting from for(;;) to while()
fix formatting
Merge pull request #24 from ikegam/fixForwithNull

fix a bug which is converting from for(;;) to while()