Update texpr.jl

Fix deprecated syntax warning