joyent/node — pull request #5848 by apaprocki (2013-07-14 11:33:14+00:00)
Title: vm: Correctly pass through syntax errors.

My V8 patch to fix C++ `TryThrow` to restore message script location when `ReThrow`-ing landed in 704fd8f3. Now that this is in place, the `display_error` hack in `node_script.cc` can be removed since syntax errors within `vm` calls are correctly reported as a `SyntaxError` at the actual error site instead of at the outer-most `vm` call.

Fixes #3452