lints cleanly

This patch contains no substantive changes, and all tests pass.  I was starting work on adding support for DISTINCT and noticed a few missing semicolons.  So I made the mistake of running lint and then of course I had to fix all the missing semicolons.