Added support to variable as literals

A variable can be used in place of a literal, if the variable is assigned to a literal.