fix bug with comments causing certain bad parse states, e.g. at the end of an if
fix bug with comments causing certain bad parse states, e.g. at the end of an if

Signed-off-by: Chris Granger <5654cde260ae99bc4d30054171b8bcd902efd19a@gmail.com>

shamrin/Eve,shamrin/Eve,nmsmith/Eve,witheve/lueve,witheve/lueve,witheve/Eve,witheve/Eve,nmsmith/Eve,witheve/Eve,nmsmith/Eve,shamrin/Eve