fix PR5983, reject function bodies with no blocks per the grammar.