| Index: src/messages.js
|
| diff --git a/src/messages.js b/src/messages.js
|
| index eb6e07fb07bdf6df49ead6f9288edf183127dae0..d436b008c2e303693541ecf0aa0acdc277882f14 100644
|
| --- a/src/messages.js
|
| +++ b/src/messages.js
|
| @@ -64,13 +64,11 @@ var kMessages = {
|
| unexpected_strict_reserved: ["Unexpected strict mode reserved word"],
|
| unexpected_eos: ["Unexpected end of input"],
|
| unexpected_template_string: ["Unexpected template string"],
|
| - malformed_regexp: ["Invalid regular expression: /", "%0", "/: ", "%1"],
|
| malformed_regexp_flags: ["Invalid regular expression flags"],
|
| unterminated_regexp: ["Invalid regular expression: missing /"],
|
| unterminated_template: ["Unterminated template literal"],
|
| unterminated_template_expr: ["Missing } in template expression"],
|
| unterminated_arg_list: ["missing ) after argument list"],
|
| - regexp_flags: ["Cannot supply flags when constructing one RegExp from another"],
|
| multiple_defaults_in_switch: ["More than one default clause in switch statement"],
|
| newline_after_throw: ["Illegal newline after throw"],
|
| label_redeclaration: ["Label '", "%0", "' has already been declared"],
|
| @@ -82,9 +80,6 @@ var kMessages = {
|
| non_object_property_store: ["Cannot set property '", "%0", "' of ", "%1"],
|
| value_and_accessor: ["Invalid property. A property cannot both have accessors and be writable or have a value, ", "%0"],
|
| proto_object_or_null: ["Object prototype may only be an Object or null: ", "%0"],
|
| - invalid_weakmap_key: ["Invalid value used as weak map key"],
|
| - invalid_weakset_value: ["Invalid value used in weak set"],
|
| - not_a_symbol: ["%0", " is not a symbol"],
|
| // ReferenceError
|
| invalid_lhs_in_assignment: ["Invalid left-hand side in assignment"],
|
| invalid_lhs_in_for: ["Invalid left-hand side in for-loop"],
|
| @@ -93,8 +88,6 @@ var kMessages = {
|
| // SyntaxError
|
| not_isvar: ["builtin %IS_VAR: not a variable"],
|
| single_function_literal: ["Single function literal required"],
|
| - invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"],
|
| - invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"],
|
| illegal_break: ["Illegal break statement"],
|
| illegal_continue: ["Illegal continue statement"],
|
| illegal_return: ["Illegal return statement"],
|
|
|