Rearrange the literal order and add new number literals in the grammar.