Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 8fc54d69ab24d1727f2125232a134bfe8962b36e..7d42c2fa7fee6c6718b74a6e9f38f9e2254eee2f 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -240,6 +240,7 @@ function FormatMessage(message) { |
"strict_poison_pill", ["'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them"], |
"strict_caller", ["Illegal access to a strict mode caller function."], |
"unprotected_let", ["Illegal let declaration in unprotected statement context."], |
+ "unprotected_const", ["Illegal const declaration in unprotected statement context."], |
"cant_prevent_ext_external_array_elements", ["Cannot prevent extension of an object with external array elements"], |
"redef_external_array_element", ["Cannot redefine a property of an object with external array elements"], |
]; |