summaryrefslogtreecommitdiffstats
path: root/js/src/js.msg
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-07-14 13:39:17 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:45 -0400
commita4b91b5a8faf9dc09db252c89921775910f1c233 (patch)
tree08fc210678866596e1a9e38d7b7bc3c0651306c0 /js/src/js.msg
parent55c897db3c504c10650b94d97bb13ed79b0e23c6 (diff)
downloadUXP-a4b91b5a8faf9dc09db252c89921775910f1c233.tar
UXP-a4b91b5a8faf9dc09db252c89921775910f1c233.tar.gz
UXP-a4b91b5a8faf9dc09db252c89921775910f1c233.tar.lz
UXP-a4b91b5a8faf9dc09db252c89921775910f1c233.tar.xz
UXP-a4b91b5a8faf9dc09db252c89921775910f1c233.zip
1303703 - Part 3: Syntax parse destructuring assignment patterns.
Diffstat (limited to 'js/src/js.msg')
-rw-r--r--js/src/js.msg2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/js.msg b/js/src/js.msg
index ec49d06c9..f57b36a90 100644
--- a/js/src/js.msg
+++ b/js/src/js.msg
@@ -211,6 +211,8 @@ MSG_DEF(JSMSG_BAD_POW_LEFTSIDE, 0, JSEXN_SYNTAXERR, "unparenthesized unar
MSG_DEF(JSMSG_BAD_PROP_ID, 0, JSEXN_SYNTAXERR, "invalid property id")
MSG_DEF(JSMSG_BAD_RETURN_OR_YIELD, 1, JSEXN_SYNTAXERR, "{0} not in function")
MSG_DEF(JSMSG_BAD_STRICT_ASSIGN, 1, JSEXN_SYNTAXERR, "'{0}' can't be defined or assigned to in strict mode code")
+MSG_DEF(JSMSG_BAD_STRICT_ASSIGN_ARGUMENTS, 0, JSEXN_SYNTAXERR, "'arguments' can't be defined or assigned to in strict mode code")
+MSG_DEF(JSMSG_BAD_STRICT_ASSIGN_EVAL, 0, JSEXN_SYNTAXERR, "'eval' can't be defined or assigned to in strict mode code")
MSG_DEF(JSMSG_BAD_SWITCH, 0, JSEXN_SYNTAXERR, "invalid switch statement")
MSG_DEF(JSMSG_BAD_SUPER, 0, JSEXN_SYNTAXERR, "invalid use of keyword 'super'")
MSG_DEF(JSMSG_BAD_SUPERPROP, 1, JSEXN_SYNTAXERR, "use of super {0} accesses only valid within methods or eval code within methods")