fixed the grammar. bnfc compiles it