EnglishРусский  

   ..

   arr.c

   arr.h

   arrdata.c

   arrdata.h

   buf.c

   buf.h

   crc.c

   crc.h

   file.c

   file.h

   hash.c

   hash.h

   memory.c

   memory.h

   mix.c

   mix.h

   msg.c

   msg.h

   msglist.c

   msglist.g

   msglist.h

   number.c

   number.h

   str.c

   str.h

   types.h

Реклама

Инсталлятор CreateInstall
Бесплатные и коммерческие инсталляторы

source\src\common\msglist.h
  1 /******************************************************************************
  2 *
  3 * Copyright (C) 2006, The Gentee Group. All rights reserved.
  4 * This file is part of the Gentee open source project <http://www.gentee.com>.
  5 *
  6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
  7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
  8 * ACCEPTANCE OF THE AGREEMENT.
  9 *
 10 * msglist_h 19.03.2008 0.0.A.
 11 *
 12 * Author: Generated with 'msglist' program
 13 *
 14 * Summary: This file contains a list of the compiler's or VM's messages.
 15 *
 16 ******************************************************************************/
 17 
 18 #ifndef _MSGLIST_
 19 #define _MSGLIST_
 20 
 21    #ifdef __cplusplus               
 22       extern "C" {                 
 23    #endif // __cplusplus      
 24 
 25 #include "../common/types.h"
 26 
 27 extern char* msgtext[];
 28 
 29 #define  MSGCOUNT  77
 30 
 31 enum {
 32    MLoad,  // 0x0 0 Loading a file for compiling
 33    MStart,  // 0x1 1 Start compiling process
 34    MEnd,  // 0x2 2 End compiling process
 35    MNotGE,  // 0x3 3 This is not GE execute code!
 36    MCrcGE,  // 0x4 4 Wrong CRC of GE execute code!
 37    MVerGE,  // 0x5 5 This GE version is not supported.
 38    MUnkGE,  // 0x6 6 Unknown GE command!
 39    MFileopen,  // 0x7 7 Cannot create/open a file
 40    MFileread,  // 0x8 8 Cannot read a file
 41    MFilewrite,  // 0x9 9 Cannot write a file
 42    MFullstack,  // 0xA 10 The stack is full
 43    MNameexist,  // 0xB 11 Object with the same name has already existed
 44    MUndefcmd,  // 0xC 12 Empty bytecode command
 45    MUnkbcode,  // 0xD 13 Unknown bytecode command
 46    MAsleft,  // 0xE 14 Unacceptable variable.
 47    MAsright,  // 0xF 15 Unacceptable type.
 48    MAttrval,  // 0x10 16 The attribute requires a value
 49    MCountpars,  // 0x11 17 The count of parameters is wrong
 50    MDblname,  // 0x12 18 Variable with the such name '%s' has already been defined
 51    MDiftypes,  // 0x13 19 The type of the variable is different from the type of the object's item.
 52    MExpcomma,  // 0x14 20 A comma must be here
 53    MExpline,  // 0x15 21 Must be a new line here
 54    MExplogic,  // 0x16 22 A logic expression must be here
 55    MExplvalue,  // 0x17 23 The operand must be l-value
 56    MExpmuch,  // 0x18 24 The expression is too much
 57    MExpname,  // 0x19 25 Must be the name of the identifier here
 58    MExpnonull,  // 0x1A 26 The expression must return value.
 59    MExpoper,  // 0x1B 27 The name of the operator is wrong
 60    MExppoint,  // 0x1C 28 Must be the dot '.' here
 61    MExptype,  // 0x1D 29 Must be the name of the type here
 62    MExpopenbr,  // 0x1E 30 Syntax error. There is not left parenthesis or bracket
 63    MExpclosebr,  // 0x1F 31 Syntax error. There is not right parenthesis or bracket
 64    MRcurly,  // 0x20 32 Must be the right curly here
 65    MExpuint,  // 0x21 33 The expression must return 'uint' value
 66    MExpwhile,  // 0x22 34 Keyword 'while' must be here
 67    MInherit,  // 0x23 35 Cannot inherit from the specified type
 68    MLcurly,  // 0x24 36 Must be the left curly here
 69    MLongname,  // 0x25 37 The name of the identifier is too long
 70    MLoopcmd,  // 0x26 38 This command can be used in 'for', 'while' operators
 71    MMainpar,  // 0x27 39 Main or Entry function must not have parameters
 72    MMustoper,  // 0x28 40 Must be an operand here
 73    MMustret,  // 0x29 41 'return' must be in the function
 74    MMuststr,  // 0x2A 42 Must be a string value here
 75    MNoaddrfunc,  // 0x2B 43 There are some functions with such name
 76    MNofield,  // 0x2C 44 There is not the such field in the structure
 77    MNokeyword,  // 0x2D 45 It is impossible to use keyword here
 78    MNotattrib,  // 0x2E 46 There is not such attribute
 79    MNotopenbr,  // 0x2F 47 There is not a left parenthesis or bracket
 80    MOftype,  // 0x30 48 This type cannot be specified with 'of' operator
 81    MParquest,  // 0x31 49 The types of parameters in '?' operator must be same
 82    MPropfield,  // 0x32 50 The property cannot have the same name as the field
 83    MProppar,  // 0x33 51 The count of parameters is wrong in the 'property'
 84    MPropoper,  // 0x34 52 Unacceptable operator for 'property'
 85    MQuest,  // 0x35 53 The count of parameters in '?' operator is wrong
 86    MRedeflabel,  // 0x36 54 Label has already been defined
 87    MRefield,  // 0x37 55 This field name has already been defined
 88    MResulttype,  // 0x38 56 Result function (method) cannot return a numeric type
 89    MRettype,  // 0x39 57 The type of the return value is different from the definition
 90    MSyntax,  // 0x3A 58 Syntax error
 91    MSublevel,  // 0x3B 59 
 92    MTypepars,  // 0x3C 60 The value has the different type from the definition of the function
 93    MUndefmacro,  // 0x3D 61 Undefined macroname
 94    MUneof,  // 0x3E 62 Unexpected end of file found in expression or operator
 95    MUneofsb,  // 0x3F 63 Unexpected end of the string or binary data
 96    MUnexpoper,  // 0x40 64 Unexpected operand in the expression
 97    MUnkbinch,  // 0x41 65 Unknown character in binary data
 98    MUnkcmd,  // 0x42 66 Unknown Gentee command
 99    MUnklabel,  // 0x43 67 Label was not defined
100    MUnklex,  // 0x44 68 Unknown lexem.
101    MUnkname,  // 0x45 69 Unknown name of the identifier
102    MUnkoper,  // 0x46 70 Function for this operation or method was not defined!
103    MUnkprop,  // 0x47 71 There is not the such 'property'
104    MUnksbcmd,  // 0x48 72 Unknown string or binary command
105    MUnsmoper,  // 0x49 73 Unsupported macro operation or inadmissible macro types
106    MVarstr,  // 0x4A 74 The variable must have 'str' type
107    MVaruint,  // 0x4B 75 The variable must have 'uint' type
108    MWrongname,  // 0x4C 76 Unacceptable name of the identifier or the macro
109 
110 };
111 
112    #ifdef __cplusplus              
113       }                            
114    #endif // __cplusplus
115 
116 #endif // _MSGLIST_
117 
Редактировать