summaryrefslogtreecommitdiff
path: root/lib/repl.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-05-31 11:52:57 -0700
committerisaacs <i@izs.me>2013-05-31 11:52:57 -0700
commit2900f0778a850ada6463e07de9725f9022029e67 (patch)
tree251e00ef0db9e614f416c15340d5941e9bff182b /lib/repl.js
parent4b31a2d8dafdeac404f5fb0c52b910bc30f458ae (diff)
parentce54f4ae50a5bd224e08bf058b118a7c68966cb4 (diff)
downloadnodejs-2900f0778a850ada6463e07de9725f9022029e67.tar.gz
nodejs-2900f0778a850ada6463e07de9725f9022029e67.tar.bz2
nodejs-2900f0778a850ada6463e07de9725f9022029e67.zip
Merge remote-tracking branch 'ry/v0.10'
Conflicts: ChangeLog src/node_version.h
Diffstat (limited to 'lib/repl.js')
-rw-r--r--lib/repl.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/repl.js b/lib/repl.js
index 7e9d0527b..5980bef1c 100644
--- a/lib/repl.js
+++ b/lib/repl.js
@@ -940,6 +940,5 @@ function isSyntaxError(e) {
// "strict mode" syntax errors
!e.match(/^SyntaxError: .*strict mode.*/i) &&
// JSON.parse() error
- !(e.match(/^SyntaxError: Unexpected (token .*|end of input)/) &&
- e.match(/\n {4}at Object.parse \(native\)\n/));
+ !e.match(/\n {4}at Object.parse \(native\)\n/);
}