aboutsummaryrefslogtreecommitdiff
path: root/lib/parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse.js')
-rw-r--r--lib/parse.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/parse.js b/lib/parse.js
index dba87023..da39b5b1 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -190,12 +190,6 @@ JS_Parse_Error.prototype.toString = function() {
};
function js_error(message, filename, line, col, pos) {
- AST_Node.warn("ERROR: {message} [{file}:{line},{col}]", {
- message: message,
- file: filename,
- line: line,
- col: col
- });
throw new JS_Parse_Error(message, line, col, pos);
};