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 | 8a0b85c041651d1b5928821bab670acaac2cb517 (patch) | |
tree | 31d99375ece8cdadb53154a62524d87c7bad4837 /js/src/js.msg | |
parent | 9a500e62983475ea3f87d36e8e2a75e61d31c44b (diff) | |
download | uxp-8a0b85c041651d1b5928821bab670acaac2cb517.tar.gz |
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 569928be8c..a51d999338 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") |