Update calc.y

modifying the grammar to proper format.