Update variable assignment in parser grammar.