2009-07-20 18:18:00 +02: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 13:38:08 +01:00
|
|
|
#define JSCRIPT_MAJOR_VERSION 5
|
|
|
|
#define JSCRIPT_MINOR_VERSION 8
|
|
|
|
#define JSCRIPT_BUILD_VERSION 16475
|
|
|
|
|
2009-07-22 13:02:24 +02:00
|
|
|
#define IDS_TO_PRIMITIVE 0x0001
|
2009-07-20 18:18:15 +02:00
|
|
|
#define IDS_INVALID_CALL_ARG 0x0005
|
2010-10-18 18:47:27 +02:00
|
|
|
#define IDS_SUBSCRIPT_OUT_OF_RANGE 0x0009
|
2020-06-04 17:29:11 +02:00
|
|
|
#define IDS_STACK_OVERFLOW 0x001C
|
2011-12-12 14:44:09 +01:00
|
|
|
#define IDS_OBJECT_REQUIRED 0x01A8
|
2009-09-30 14:34:47 +02:00
|
|
|
#define IDS_CREATE_OBJ_ERROR 0x01AD
|
2009-07-20 18:18:12 +02:00
|
|
|
#define IDS_NO_PROPERTY 0x01B6
|
2010-08-16 12:36:34 +02:00
|
|
|
#define IDS_UNSUPPORTED_ACTION 0x01BD
|
2009-07-20 18:18:09 +02:00
|
|
|
#define IDS_ARG_NOT_OPT 0x01c1
|
2009-07-24 09:35:56 +02:00
|
|
|
#define IDS_SYNTAX_ERROR 0x03EA
|
2009-07-24 09:36:20 +02:00
|
|
|
#define IDS_SEMICOLON 0x03EC
|
2009-07-24 09:36:04 +02:00
|
|
|
#define IDS_LBRACKET 0x03ED
|
2009-07-24 09:36:13 +02:00
|
|
|
#define IDS_RBRACKET 0x03EE
|
2014-09-30 16:51:57 +02:00
|
|
|
#define IDS_EXPECTED_IDENTIFIER 0x03f2
|
|
|
|
#define IDS_EXPECTED_ASSIGN 0x03f3
|
2012-03-26 11:42:51 +02:00
|
|
|
#define IDS_INVALID_CHAR 0x03F6
|
2009-08-05 23:27:09 +02:00
|
|
|
#define IDS_UNTERMINATED_STR 0x03F7
|
2012-12-12 13:12:04 +01:00
|
|
|
#define IDS_MISPLACED_RETURN 0x03FA
|
2011-12-30 11:13:44 +01:00
|
|
|
#define IDS_INVALID_BREAK 0x03FB
|
2011-12-30 11:13:55 +01:00
|
|
|
#define IDS_INVALID_CONTINUE 0x03FC
|
2012-01-17 12:37:06 +01:00
|
|
|
#define IDS_LABEL_REDEFINED 0x0401
|
2012-01-17 12:41:42 +01:00
|
|
|
#define IDS_LABEL_NOT_FOUND 0x0402
|
2014-09-30 16:51:57 +02:00
|
|
|
#define IDS_EXPECTED_CCEND 0x0405
|
2010-12-28 15:40:00 +01:00
|
|
|
#define IDS_DISABLED_CC 0x0406
|
2014-09-30 16:51:57 +02:00
|
|
|
#define IDS_EXPECTED_AT 0x0408
|
2009-07-22 13:02:19 +02:00
|
|
|
#define IDS_NOT_FUNC 0x138A
|
2009-07-20 18:18:00 +02:00
|
|
|
#define IDS_NOT_DATE 0x138E
|
2009-07-20 18:18:15 +02:00
|
|
|
#define IDS_NOT_NUM 0x1389
|
2009-09-03 10:43:27 +02:00
|
|
|
#define IDS_OBJECT_EXPECTED 0x138F
|
2009-07-24 09:36:16 +02:00
|
|
|
#define IDS_ILLEGAL_ASSIGN 0x1390
|
2009-07-22 13:01:59 +02:00
|
|
|
#define IDS_UNDEFINED 0x1391
|
2009-07-20 18:18:05 +02:00
|
|
|
#define IDS_NOT_BOOL 0x1392
|
2011-12-15 15:43:01 +01:00
|
|
|
#define IDS_INVALID_DELETE 0x1394
|
2010-10-18 18:47:15 +02:00
|
|
|
#define IDS_NOT_VBARRAY 0x1395
|
2009-09-23 16:24:11 +02:00
|
|
|
#define IDS_JSCRIPT_EXPECTED 0x1396
|
2020-06-03 16:04:15 +02:00
|
|
|
#define IDS_ENUMERATOR_EXPECTED 0x1397
|
|
|
|
#define IDS_REGEXP_EXPECTED 0x1398
|
2009-09-23 16:09:22 +02:00
|
|
|
#define IDS_REGEXP_SYNTAX_ERROR 0x1399
|
2020-01-30 15:50:33 +01:00
|
|
|
#define IDS_EXCEPTION_THROWN 0x139E
|
2009-11-08 11:36:28 +01:00
|
|
|
#define IDS_URI_INVALID_CHAR 0x13A0
|
2011-09-02 12:24:57 +02:00
|
|
|
#define IDS_URI_INVALID_CODING 0x13A1
|
2012-04-19 15:28:39 +02:00
|
|
|
#define IDS_FRACTION_DIGITS_OUT_OF_RANGE 0x13A2
|
2012-04-19 15:29:15 +02:00
|
|
|
#define IDS_PRECISION_OUT_OF_RANGE 0x13A3
|
2009-07-20 18:18:02 +02:00
|
|
|
#define IDS_INVALID_LENGTH 0x13A5
|
2009-09-24 00:45:00 +02:00
|
|
|
#define IDS_ARRAY_EXPECTED 0x13A7
|
2018-05-11 14:43:20 +02:00
|
|
|
#define IDS_INVALID_WRITABLE_PROP_DESC 0x13AC
|
2022-03-21 16:58:31 +01:00
|
|
|
#define IDS_CYCLIC_PROTO_VALUE 0x13B0
|
2022-03-21 16:58:32 +01:00
|
|
|
#define IDS_CREATE_FOR_NONEXTENSIBLE 0x13B6
|
2021-04-01 18:18:58 +02:00
|
|
|
#define IDS_OBJECT_NONEXTENSIBLE 0x13D5
|
2018-05-11 14:43:20 +02:00
|
|
|
#define IDS_NONCONFIGURABLE_REDEFINED 0x13D6
|
|
|
|
#define IDS_NONWRITABLE_MODIFIED 0x13D7
|
2021-04-27 18:11:56 +02:00
|
|
|
#define IDS_MAP_EXPECTED 0x13FC
|
2018-05-11 14:43:20 +02: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 14:47:15 +01:00
|
|
|
|
|
|
|
#define IDS_COMPILATION_ERROR 0x1000
|
|
|
|
#define IDS_RUNTIME_ERROR 0x1001
|
|
|
|
#define IDS_UNKNOWN_ERROR 0x1002
|