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 #pragma once 20 21 #include <windef.h> 22 23 #define JSCRIPT_MAJOR_VERSION 5 24 #define JSCRIPT_MINOR_VERSION 8 25 #define JSCRIPT_BUILD_VERSION 16475 26 27 #define IDS_TO_PRIMITIVE 0x0001 28 #define IDS_INVALID_CALL_ARG 0x0005 29 #define IDS_SUBSCRIPT_OUT_OF_RANGE 0x0009 30 #define IDS_OBJECT_REQUIRED 0x01A8 31 #define IDS_CREATE_OBJ_ERROR 0x01AD 32 #define IDS_NO_PROPERTY 0x01B6 33 #define IDS_UNSUPPORTED_ACTION 0x01BD 34 #define IDS_ARG_NOT_OPT 0x01c1 35 #define IDS_SYNTAX_ERROR 0x03EA 36 #define IDS_SEMICOLON 0x03EC 37 #define IDS_LBRACKET 0x03ED 38 #define IDS_RBRACKET 0x03EE 39 #define IDS_EXPECTED_IDENTIFIER 0x03f2 40 #define IDS_EXPECTED_ASSIGN 0x03f3 41 #define IDS_INVALID_CHAR 0x03F6 42 #define IDS_UNTERMINATED_STR 0x03F7 43 #define IDS_MISPLACED_RETURN 0x03FA 44 #define IDS_INVALID_BREAK 0x03FB 45 #define IDS_INVALID_CONTINUE 0x03FC 46 #define IDS_LABEL_REDEFINED 0x0401 47 #define IDS_LABEL_NOT_FOUND 0x0402 48 #define IDS_EXPECTED_CCEND 0x0405 49 #define IDS_DISABLED_CC 0x0406 50 #define IDS_EXPECTED_AT 0x0408 51 #define IDS_NOT_FUNC 0x138A 52 #define IDS_NOT_DATE 0x138E 53 #define IDS_NOT_NUM 0x1389 54 #define IDS_OBJECT_EXPECTED 0x138F 55 #define IDS_ILLEGAL_ASSIGN 0x1390 56 #define IDS_UNDEFINED 0x1391 57 #define IDS_NOT_BOOL 0x1392 58 #define IDS_INVALID_DELETE 0x1394 59 #define IDS_NOT_VBARRAY 0x1395 60 #define IDS_JSCRIPT_EXPECTED 0x1396 61 #define IDS_REGEXP_SYNTAX_ERROR 0x1399 62 #define IDS_URI_INVALID_CHAR 0x13A0 63 #define IDS_URI_INVALID_CODING 0x13A1 64 #define IDS_FRACTION_DIGITS_OUT_OF_RANGE 0x13A2 65 #define IDS_PRECISION_OUT_OF_RANGE 0x13A3 66 #define IDS_INVALID_LENGTH 0x13A5 67 #define IDS_ARRAY_EXPECTED 0x13A7 68 #define IDS_INVALID_WRITABLE_PROP_DESC 0x13AC 69 #define IDS_NONCONFIGURABLE_REDEFINED 0x13D6 70 #define IDS_NONWRITABLE_MODIFIED 0x13D7 71 /* FIXME: This is not compatible with native, but we would 72 * conflict with IDS_UNSUPPORTED_ACTION otherwise */ 73 #define IDS_PROP_DESC_MISMATCH 0x1F00 74