2009-07-20 16:18:00 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2009 Piotr Caban
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <windef.h>
|
|
|
|
|
2010-12-27 12:38:08 +00:00
|
|
|
#define JSCRIPT_MAJOR_VERSION 5
|
|
|
|
#define JSCRIPT_MINOR_VERSION 8
|
|
|
|
#define JSCRIPT_BUILD_VERSION 16475
|
|
|
|
|
2009-07-22 11:02:24 +00:00
|
|
|
#define IDS_TO_PRIMITIVE 0x0001
|
2009-07-20 16:18:15 +00:00
|
|
|
#define IDS_INVALID_CALL_ARG 0x0005
|
2010-10-18 16:47:27 +00:00
|
|
|
#define IDS_SUBSCRIPT_OUT_OF_RANGE 0x0009
|
2020-06-04 15:29:11 +00:00
|
|
|
#define IDS_STACK_OVERFLOW 0x001C
|
2011-12-12 13:44:09 +00:00
|
|
|
#define IDS_OBJECT_REQUIRED 0x01A8
|
2009-09-30 12:34:47 +00:00
|
|
|
#define IDS_CREATE_OBJ_ERROR 0x01AD
|
2009-07-20 16:18:12 +00:00
|
|
|
#define IDS_NO_PROPERTY 0x01B6
|
2010-08-16 10:36:34 +00:00
|
|
|
#define IDS_UNSUPPORTED_ACTION 0x01BD
|
2009-07-20 16:18:09 +00:00
|
|
|
#define IDS_ARG_NOT_OPT 0x01c1
|
2009-07-24 07:35:56 +00:00
|
|
|
#define IDS_SYNTAX_ERROR 0x03EA
|
2009-07-24 07:36:20 +00:00
|
|
|
#define IDS_SEMICOLON 0x03EC
|
2009-07-24 07:36:04 +00:00
|
|
|
#define IDS_LBRACKET 0x03ED
|
2009-07-24 07:36:13 +00:00
|
|
|
#define IDS_RBRACKET 0x03EE
|
2014-09-30 14:51:57 +00:00
|
|
|
#define IDS_EXPECTED_IDENTIFIER 0x03f2
|
|
|
|
#define IDS_EXPECTED_ASSIGN 0x03f3
|
2012-03-26 09:42:51 +00:00
|
|
|
#define IDS_INVALID_CHAR 0x03F6
|
2009-08-05 21:27:09 +00:00
|
|
|
#define IDS_UNTERMINATED_STR 0x03F7
|
2012-12-12 12:12:04 +00:00
|
|
|
#define IDS_MISPLACED_RETURN 0x03FA
|
2011-12-30 10:13:44 +00:00
|
|
|
#define IDS_INVALID_BREAK 0x03FB
|
2011-12-30 10:13:55 +00:00
|
|
|
#define IDS_INVALID_CONTINUE 0x03FC
|
2012-01-17 11:37:06 +00:00
|
|
|
#define IDS_LABEL_REDEFINED 0x0401
|
2012-01-17 11:41:42 +00:00
|
|
|
#define IDS_LABEL_NOT_FOUND 0x0402
|
2014-09-30 14:51:57 +00:00
|
|
|
#define IDS_EXPECTED_CCEND 0x0405
|
2010-12-28 14:40:00 +00:00
|
|
|
#define IDS_DISABLED_CC 0x0406
|
2014-09-30 14:51:57 +00:00
|
|
|
#define IDS_EXPECTED_AT 0x0408
|
2009-07-22 11:02:19 +00:00
|
|
|
#define IDS_NOT_FUNC 0x138A
|
2009-07-20 16:18:00 +00:00
|
|
|
#define IDS_NOT_DATE 0x138E
|
2009-07-20 16:18:15 +00:00
|
|
|
#define IDS_NOT_NUM 0x1389
|
2009-09-03 08:43:27 +00:00
|
|
|
#define IDS_OBJECT_EXPECTED 0x138F
|
2009-07-24 07:36:16 +00:00
|
|
|
#define IDS_ILLEGAL_ASSIGN 0x1390
|
2009-07-22 11:01:59 +00:00
|
|
|
#define IDS_UNDEFINED 0x1391
|
2009-07-20 16:18:05 +00:00
|
|
|
#define IDS_NOT_BOOL 0x1392
|
2011-12-15 14:43:01 +00:00
|
|
|
#define IDS_INVALID_DELETE 0x1394
|
2010-10-18 16:47:15 +00:00
|
|
|
#define IDS_NOT_VBARRAY 0x1395
|
2009-09-23 14:24:11 +00:00
|
|
|
#define IDS_JSCRIPT_EXPECTED 0x1396
|
2020-06-03 14:04:15 +00:00
|
|
|
#define IDS_ENUMERATOR_EXPECTED 0x1397
|
|
|
|
#define IDS_REGEXP_EXPECTED 0x1398
|
2009-09-23 14:09:22 +00:00
|
|
|
#define IDS_REGEXP_SYNTAX_ERROR 0x1399
|
2023-05-29 18:58:37 +00:00
|
|
|
#define IDS_UNEXPECTED_QUANTIFIER 0x139A
|
2020-01-30 14:50:33 +00:00
|
|
|
#define IDS_EXCEPTION_THROWN 0x139E
|
2009-11-08 10:36:28 +00:00
|
|
|
#define IDS_URI_INVALID_CHAR 0x13A0
|
2011-09-02 10:24:57 +00:00
|
|
|
#define IDS_URI_INVALID_CODING 0x13A1
|
2012-04-19 13:28:39 +00:00
|
|
|
#define IDS_FRACTION_DIGITS_OUT_OF_RANGE 0x13A2
|
2012-04-19 13:29:15 +00:00
|
|
|
#define IDS_PRECISION_OUT_OF_RANGE 0x13A3
|
2009-07-20 16:18:02 +00:00
|
|
|
#define IDS_INVALID_LENGTH 0x13A5
|
2009-09-23 22:45:00 +00:00
|
|
|
#define IDS_ARRAY_EXPECTED 0x13A7
|
2018-05-11 12:43:20 +00:00
|
|
|
#define IDS_INVALID_WRITABLE_PROP_DESC 0x13AC
|
2022-03-21 15:58:31 +00:00
|
|
|
#define IDS_CYCLIC_PROTO_VALUE 0x13B0
|
2022-03-21 15:58:32 +00:00
|
|
|
#define IDS_CREATE_FOR_NONEXTENSIBLE 0x13B6
|
2021-04-01 16:18:58 +00:00
|
|
|
#define IDS_OBJECT_NONEXTENSIBLE 0x13D5
|
2018-05-11 12:43:20 +00:00
|
|
|
#define IDS_NONCONFIGURABLE_REDEFINED 0x13D6
|
|
|
|
#define IDS_NONWRITABLE_MODIFIED 0x13D7
|
2022-05-03 15:17:07 +00:00
|
|
|
#define IDS_WRONG_THIS 0x13FC
|
2023-07-20 13:59:46 +00:00
|
|
|
#define IDS_KEY_NOT_OBJECT 0x13FD
|
2018-05-11 12:43:20 +00:00
|
|
|
/* FIXME: This is not compatible with native, but we would
|
|
|
|
* conflict with IDS_UNSUPPORTED_ACTION otherwise */
|
|
|
|
#define IDS_PROP_DESC_MISMATCH 0x1F00
|
2020-02-03 13:47:15 +00:00
|
|
|
|
|
|
|
#define IDS_COMPILATION_ERROR 0x1000
|
|
|
|
#define IDS_RUNTIME_ERROR 0x1001
|
|
|
|
#define IDS_UNKNOWN_ERROR 0x1002
|