grammar: remove old-style syntax for attributes