Check assignment statement