Implementing EvalError, RangeError, SyntaxError, URIError built-ins and corresponding prototype built-in objects.

This commit is contained in:
Ruben Ayrapetyan
2014-10-30 14:28:44 +03:00
parent 66cb7e316d
commit 4160262ce8
24 changed files with 1205 additions and 33 deletions
+2 -2
View File
@@ -80,8 +80,8 @@ ecma_new_standard_error (ecma_standard_error_t error_type) /**< native error typ
case ECMA_ERROR_SYNTAX:
{
/* SyntaxError should be treated as an early error */
JERRY_UNREACHABLE ();
prototype_id = ECMA_BUILTIN_ID_SYNTAX_ERROR_PROTOTYPE;
break;
}
}