diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-07-14 10:26:41 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:44 -0400 |
commit | e93a48121a1a14ac228bebe362e7c27b1aadd4d5 (patch) | |
tree | 17bcc3a4a237a8524759f919f18310ca4e6278a6 /js/src/js.msg | |
parent | 10227d77bfccda845a63e20b22bc4367ecc7b4e0 (diff) | |
download | UXP-e93a48121a1a14ac228bebe362e7c27b1aadd4d5.tar UXP-e93a48121a1a14ac228bebe362e7c27b1aadd4d5.tar.gz UXP-e93a48121a1a14ac228bebe362e7c27b1aadd4d5.tar.lz UXP-e93a48121a1a14ac228bebe362e7c27b1aadd4d5.tar.xz UXP-e93a48121a1a14ac228bebe362e7c27b1aadd4d5.zip |
420857 - Part 4: Report the position of opening bracket for missing bracket error in array literal.
Diffstat (limited to 'js/src/js.msg')
-rw-r--r-- | js/src/js.msg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/js.msg b/js/src/js.msg index a51d99933..ec49d06c9 100644 --- a/js/src/js.msg +++ b/js/src/js.msg @@ -218,6 +218,7 @@ MSG_DEF(JSMSG_BAD_SUPERCALL, 0, JSEXN_SYNTAXERR, "super() is only vali MSG_DEF(JSMSG_BRACKET_AFTER_ARRAY_COMPREHENSION, 0, JSEXN_SYNTAXERR, "missing ] after array comprehension") MSG_DEF(JSMSG_BRACKET_AFTER_LIST, 0, JSEXN_SYNTAXERR, "missing ] after element list") MSG_DEF(JSMSG_BRACKET_IN_INDEX, 0, JSEXN_SYNTAXERR, "missing ] in index expression") +MSG_DEF(JSMSG_BRACKET_OPENED, 2, JSEXN_NOTE, "[ opened at line {0}, column {1}") MSG_DEF(JSMSG_CATCH_AFTER_GENERAL, 0, JSEXN_SYNTAXERR, "catch after unconditional catch") MSG_DEF(JSMSG_CATCH_IDENTIFIER, 0, JSEXN_SYNTAXERR, "missing identifier in catch") MSG_DEF(JSMSG_CATCH_OR_FINALLY, 0, JSEXN_SYNTAXERR, "missing catch or finally after try") |