Bug #10162 Improved multi line @EVAL statement

http://tracker.modx.com/issues/10162