2 * Copyright 2009 Piotr Caban
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #define JSCRIPT_MAJOR_VERSION 5
22 #define JSCRIPT_MINOR_VERSION 8
23 #define JSCRIPT_BUILD_VERSION 16475
25 #define IDS_TO_PRIMITIVE 0x0001
26 #define IDS_INVALID_CALL_ARG 0x0005
27 #define IDS_SUBSCRIPT_OUT_OF_RANGE 0x0009
28 #define IDS_STACK_OVERFLOW 0x001C
29 #define IDS_OBJECT_REQUIRED 0x01A8
30 #define IDS_CREATE_OBJ_ERROR 0x01AD
31 #define IDS_NO_PROPERTY 0x01B6
32 #define IDS_UNSUPPORTED_ACTION 0x01BD
33 #define IDS_ARG_NOT_OPT 0x01c1
34 #define IDS_SYNTAX_ERROR 0x03EA
35 #define IDS_SEMICOLON 0x03EC
36 #define IDS_LBRACKET 0x03ED
37 #define IDS_RBRACKET 0x03EE
38 #define IDS_EXPECTED_IDENTIFIER 0x03f2
39 #define IDS_EXPECTED_ASSIGN 0x03f3
40 #define IDS_INVALID_CHAR 0x03F6
41 #define IDS_UNTERMINATED_STR 0x03F7
42 #define IDS_MISPLACED_RETURN 0x03FA
43 #define IDS_INVALID_BREAK 0x03FB
44 #define IDS_INVALID_CONTINUE 0x03FC
45 #define IDS_LABEL_REDEFINED 0x0401
46 #define IDS_LABEL_NOT_FOUND 0x0402
47 #define IDS_EXPECTED_CCEND 0x0405
48 #define IDS_DISABLED_CC 0x0406
49 #define IDS_EXPECTED_AT 0x0408
50 #define IDS_NOT_FUNC 0x138A
51 #define IDS_NOT_DATE 0x138E
52 #define IDS_NOT_NUM 0x1389
53 #define IDS_OBJECT_EXPECTED 0x138F
54 #define IDS_ILLEGAL_ASSIGN 0x1390
55 #define IDS_UNDEFINED 0x1391
56 #define IDS_NOT_BOOL 0x1392
57 #define IDS_INVALID_DELETE 0x1394
58 #define IDS_NOT_VBARRAY 0x1395
59 #define IDS_JSCRIPT_EXPECTED 0x1396
60 #define IDS_ENUMERATOR_EXPECTED 0x1397
61 #define IDS_REGEXP_EXPECTED 0x1398
62 #define IDS_REGEXP_SYNTAX_ERROR 0x1399
63 #define IDS_EXCEPTION_THROWN 0x139E
64 #define IDS_URI_INVALID_CHAR 0x13A0
65 #define IDS_URI_INVALID_CODING 0x13A1
66 #define IDS_FRACTION_DIGITS_OUT_OF_RANGE 0x13A2
67 #define IDS_PRECISION_OUT_OF_RANGE 0x13A3
68 #define IDS_INVALID_LENGTH 0x13A5
69 #define IDS_ARRAY_EXPECTED 0x13A7
70 #define IDS_INVALID_WRITABLE_PROP_DESC 0x13AC
71 #define IDS_OBJECT_NONEXTENSIBLE 0x13D5
72 #define IDS_NONCONFIGURABLE_REDEFINED 0x13D6
73 #define IDS_NONWRITABLE_MODIFIED 0x13D7
74 #define IDS_MAP_EXPECTED 0x13FC
75 /* FIXME: This is not compatible with native, but we would
76 * conflict with IDS_UNSUPPORTED_ACTION otherwise */
77 #define IDS_PROP_DESC_MISMATCH 0x1F00
79 #define IDS_COMPILATION_ERROR 0x1000
80 #define IDS_RUNTIME_ERROR 0x1001
81 #define IDS_UNKNOWN_ERROR 0x1002