[ldpatch] Small improvements in grammar.