summaryrefslogtreecommitdiffstats
path: root/js/src/js.msg
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:56:39 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:56:39 +0200
commit8580bf233e69da042e3d33cad56ca6f42ce441a4 (patch)
tree2b02b8b12a8104e1ba5c894b4aa864c6de07454c /js/src/js.msg
parent194e6155211353738bb14ffd1ca9e9662a455b0e (diff)
downloadUXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar
UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar.gz
UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar.lz
UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar.xz
UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.zip
Simplify increment/decrement operand checking.
Diffstat (limited to 'js/src/js.msg')
-rw-r--r--js/src/js.msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/js.msg b/js/src/js.msg
index a19e3aa85..2901b88cc 100644
--- a/js/src/js.msg
+++ b/js/src/js.msg
@@ -202,7 +202,7 @@ MSG_DEF(JSMSG_LET_STARTING_FOROF_LHS, 0, JSEXN_SYNTAXERR, "an expression X in '
MSG_DEF(JSMSG_BAD_FUNCTION_YIELD, 0, JSEXN_TYPEERR, "can't use 'yield' in a function that can return a value")
MSG_DEF(JSMSG_BAD_GENERATOR_RETURN, 0, JSEXN_TYPEERR, "generator function can't return a value")
MSG_DEF(JSMSG_BAD_GENEXP_BODY, 1, JSEXN_SYNTAXERR, "illegal use of {0} in generator expression")
-MSG_DEF(JSMSG_BAD_INCOP_OPERAND, 0, JSEXN_REFERENCEERR, "invalid increment/decrement operand")
+MSG_DEF(JSMSG_BAD_INCOP_OPERAND, 0, JSEXN_SYNTAXERR, "invalid increment/decrement operand")
MSG_DEF(JSMSG_BAD_METHOD_DEF, 0, JSEXN_SYNTAXERR, "bad method definition")
MSG_DEF(JSMSG_BAD_OCTAL, 1, JSEXN_SYNTAXERR, "{0} is not a legal ECMA-262 octal constant")
MSG_DEF(JSMSG_BAD_OPERAND, 1, JSEXN_SYNTAXERR, "invalid {0} operand")