jscript: Be more verbose about parser failure.
[wine] / dlls / jscript / resource.h
1 /*
2  * Copyright 2009 Piotr Caban
3  *
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.
8  *
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.
13  *
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
17  */
18
19 #include <windef.h>
20
21 #define JSCRIPT_MAJOR_VERSION 5
22 #define JSCRIPT_MINOR_VERSION 8
23 #define JSCRIPT_BUILD_VERSION 16475
24
25 #define IDS_TO_PRIMITIVE                    0x0001
26 #define IDS_INVALID_CALL_ARG                0x0005
27 #define IDS_SUBSCRIPT_OUT_OF_RANGE          0x0009
28 #define IDS_OBJECT_REQUIRED                 0x01A8
29 #define IDS_CREATE_OBJ_ERROR                0x01AD
30 #define IDS_NO_PROPERTY                     0x01B6
31 #define IDS_UNSUPPORTED_ACTION              0x01BD
32 #define IDS_ARG_NOT_OPT                     0x01c1
33 #define IDS_SYNTAX_ERROR                    0x03EA
34 #define IDS_SEMICOLON                       0x03EC
35 #define IDS_LBRACKET                        0x03ED
36 #define IDS_RBRACKET                        0x03EE
37 #define IDS_INVALID_CHAR                    0x03F6
38 #define IDS_UNTERMINATED_STR                0x03F7
39 #define IDS_INVALID_BREAK                   0x03FB
40 #define IDS_INVALID_CONTINUE                0x03FC
41 #define IDS_LABEL_REDEFINED                 0x0401
42 #define IDS_LABEL_NOT_FOUND                 0x0402
43 #define IDS_DISABLED_CC                     0x0406
44 #define IDS_NOT_FUNC                        0x138A
45 #define IDS_NOT_DATE                        0x138E
46 #define IDS_NOT_NUM                         0x1389
47 #define IDS_OBJECT_EXPECTED                 0x138F
48 #define IDS_ILLEGAL_ASSIGN                  0x1390
49 #define IDS_UNDEFINED                       0x1391
50 #define IDS_NOT_BOOL                        0x1392
51 #define IDS_INVALID_DELETE                  0x1394
52 #define IDS_NOT_VBARRAY                     0x1395
53 #define IDS_JSCRIPT_EXPECTED                0x1396
54 #define IDS_REGEXP_SYNTAX_ERROR             0x1399
55 #define IDS_URI_INVALID_CHAR                0x13A0
56 #define IDS_URI_INVALID_CODING              0x13A1
57 #define IDS_FRACTION_DIGITS_OUT_OF_RANGE    0x13A2
58 #define IDS_PRECISION_OUT_OF_RANGE          0x13A3
59 #define IDS_INVALID_LENGTH                  0x13A5
60 #define IDS_ARRAY_EXPECTED                  0x13A7