Fix numeric contants in grammer