HPCC-9799 Working

Main change, added EOF to grammer to allow for omition of last ;

Signed-off-by: jamienoss <james.noss@lexisnexis.com>