Don't insert semicolon if line ends with period.