store the actual parsing context before parsing into an expression and use that for the effectless-statement warning