diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-07-14 10:15:10 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:43 -0400 |
commit | ccb322db6d1f14c3013bacb01dcb064a3f7fa28f (patch) | |
tree | 31d99375ece8cdadb53154a62524d87c7bad4837 /js/src/js.msg | |
parent | 03df00e45ff4dd24b739a973d56edaf800313f7f (diff) | |
download | UXP-ccb322db6d1f14c3013bacb01dcb064a3f7fa28f.tar UXP-ccb322db6d1f14c3013bacb01dcb064a3f7fa28f.tar.gz UXP-ccb322db6d1f14c3013bacb01dcb064a3f7fa28f.tar.lz UXP-ccb322db6d1f14c3013bacb01dcb064a3f7fa28f.tar.xz UXP-ccb322db6d1f14c3013bacb01dcb064a3f7fa28f.zip |
420857 - Part 1: Report the position of opening brace for missing brace error in function body.
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 569928be8..a51d99933 100644 --- a/js/src/js.msg +++ b/js/src/js.msg @@ -228,6 +228,7 @@ MSG_DEF(JSMSG_COLON_IN_COND, 0, JSEXN_SYNTAXERR, "missing : in conditi MSG_DEF(JSMSG_COMP_PROP_UNTERM_EXPR, 0, JSEXN_SYNTAXERR, "missing ] in computed property name") MSG_DEF(JSMSG_CONTRARY_NONDIRECTIVE, 1, JSEXN_SYNTAXERR, "'{0}' statement won't be enforced as a directive because it isn't in directive prologue position") MSG_DEF(JSMSG_CURLY_AFTER_BODY, 0, JSEXN_SYNTAXERR, "missing } after function body") +MSG_DEF(JSMSG_CURLY_OPENED, 2, JSEXN_NOTE, "{ opened at line {0}, column {1}") MSG_DEF(JSMSG_CURLY_AFTER_CATCH, 0, JSEXN_SYNTAXERR, "missing } after catch block") MSG_DEF(JSMSG_CURLY_AFTER_FINALLY, 0, JSEXN_SYNTAXERR, "missing } after finally block") MSG_DEF(JSMSG_CURLY_AFTER_LIST, 0, JSEXN_SYNTAXERR, "missing } after property list") |