updated grammar to include %! as doc comment