change EBNF grammar syntax