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 * ID: msglist 20.10.06 0.0.A.
11 *
12 * Author: Alexey Krivonogov ( gentee )
13 *
14 * Summary: The list of the message codes
15 *
16 ******************************************************************************/
17
18 <- Information messages ->
19 <MLoad comment = "Loading a file for compiling" pattern = "Loading %s" />
20 <MStart comment = "Start compiling process" pattern = "Start compiling..." />
21 <MEnd comment = "End compiling process" pattern = "End compiling." />
22
23 <- Run-time error messages ->
24 <MNotGE comment = "This is not GE execute code!" />
25 <MCrcGE comment = "Wrong CRC of GE execute code!" />
26 <MVerGE comment = "This GE version is not supported." />
27 <MUnkGE comment = "Unknown GE command!"
28 pattern = "Unknown GE command. Offset = [ %lu : %X ]." />
29 <MFileopen comment = "Cannot create/open a file"
30 pattern = "Cannot create/open file %s" />
31 <MFileread comment = "Cannot read a file" pattern = "Cannot read file %s" />
32 <MFilewrite comment = "Cannot write a file" pattern = "Cannot write file %s" />
33 <MFullstack comment = "The stack is full"
34 pattern = "The stack is full. Stack size = [ %lu : %X ]." />
35 <MNameexist comment = "Object with the same name has already existed"
36 pattern = "Object [ %lu : %X ] '%s' has been already used." />
37 <MUndefcmd comment = "Empty bytecode command"
38 pattern = "Undefined (empty) command [ %lu : %X ] '%s'" />
39 <MUnkbcode comment = "Unknown bytecode command"
40 pattern = "Unknown bytecode command [ %lu : %X ]." />
41
42 <- Compile error message ->
43 <MAsleft comment = "Unacceptable variable." />
44 <MAsright comment = "Unacceptable type." />
45 <MAttrval comment = "The attribute requires a value"
46 pattern = "The attribute '%s' requires a value" />
47 <MCountpars comment = "The count of parameters is wrong"
48 pattern = "The count of parameters is wrong in the function '%s'" />
49 <MDblname comment = "Variable with the such name '%s' has already been defined"
50 pattern = "Variable with the such name '%s' has already been defined!" />
51 <MDiftypes comment = "The type of the variable is different from the type of the object's item."/>
52 <MExpcomma comment = "A comma must be here" />
53 <MExpline comment = "Must be a new line here" />
54 <MExplogic comment = "A logic expression must be here" />
55 <MExplvalue comment = "The operand must be l-value" />
56 <MExpmuch comment = "The expression is too much" />
57 <MExpname comment = "Must be the name of the identifier here" />
58 <MExpnonull comment = "The expression must return value." />
59 <MExpoper comment = "The name of the operator is wrong" />
60 <MExppoint comment = "Must be the dot '.' here" />
61 <MExptype comment = "Must be the name of the type here" />
62 <MExpopenbr comment = "Syntax error. There is not left parenthesis or bracket" />
63 <MExpclosebr comment = "Syntax error. There is not right parenthesis or bracket" />
64 <MRcurly comment = "Must be the right curly here" />
65 <MExpuint comment = "The expression must return 'uint' value" />
66 <MExpwhile comment = "Keyword 'while' must be here" />
67 <MInherit comment = "Cannot inherit from the specified type" />
68 <MLcurly comment = "Must be the left curly here" />
69 <MLongname comment = "The name of the identifier is too long" />
70 <MLoopcmd comment = "This command can be used in 'for', 'while' operators"
71 pattern = "'%s' command can be used in 'for', 'while' operators" />
72 <MMainpar comment = "Main or Entry function must not have parameters" />
73 <MMustoper comment = "Must be an operand here" />
74 <MMustret comment = "'return' must be in the function"
75 pattern = "'return' must be in the '%s' function" />
76 <MMuststr comment = "Must be a string value here" />
77 <MNoaddrfunc comment = "There are some functions with such name"
78 pattern = "There are some functions with the name '%s'"/>
79 <MNofield comment = "There is not the such field in the structure"
80 pattern = "There is not the such field '%s' in the structure" />
81 <MNokeyword comment = "It is impossible to use keyword here" />
82 <MNotattrib comment = "There is not such attribute"
83 pattern = "There is not '%s' attribute for this command" />
84 <MNotopenbr comment = "There is not a left parenthesis or bracket" />
85 <MOftype comment = "This type cannot be specified with 'of' operator" />
86 <MParquest comment = "The types of parameters in '?' operator must be same" />
87 <MPropfield comment = "The property cannot have the same name as the field" />
88 <MProppar comment = "The count of parameters is wrong in the 'property'" />
89 <MPropoper comment = "Unacceptable operator for 'property'" />
90 <MQuest comment = "The count of parameters in '?' operator is wrong" />
91 <-MRedefine comment = "Object with this name has been already defined!"
92 pattern = "Object with the name '%s' has been already defined!" /->
93 <MRedeflabel comment = "Label has already been defined"
94 pattern = "Label '%s' has already been defined" />
95 <MRefield comment = "This field name has already been defined"
96 pattern = "This field name '%s' has already been defined" />
97 <MResulttype comment = "Result function (method) cannot return a numeric type" />
98 <MRettype comment = "The type of the return value is different from the definition" />
99 <MSyntax comment = "Syntax error" pattern = "Syntax error: '%s'" />
100 <MSublevel commen = "Subfunc can be defined in the main body of the function" />
101 <MTypepars comment = "The value has the different type from the definition of the function" pattern = "The value has the different type from the definition of the function '%s'" />
102 <MUndefmacro comment = "Undefined macroname"
103 pattern = "Undefined macroname '%s'" />
104 <MUneof comment = "Unexpected end of file found in expression or operator" />
105 <MUneofsb comment = "Unexpected end of the string or binary data" />
106 <MUnexpoper comment = "Unexpected operand in the expression" />
107 <MUnkbinch comment = "Unknown character in binary data"
108 pattern = "Unknown character in binary data '%c'" />
109 <MUnkcmd comment = "Unknown Gentee command"
110 pattern = "Unknown Gentee command '%s'" />
111 <MUnklabel comment = "Label was not defined"
112 pattern = "Label '%s' was not defined" />
113 <MUnklex comment = "Unknown lexem."
114 pattern = "Unknown lexem '%s'" />
115 <MUnkname comment = "Unknown name of the identifier"
116 pattern = "Unknown the name of the identifier '%s'" />
117 <MUnkoper comment= "Function for this operation or method was not defined!"
118 pattern= "Function for this operation or method '%s' was not defined!" />
119 <MUnkprop comment = "There is not the such 'property'" />
120 <MUnksbcmd comment = "Unknown string or binary command"
121 pattern ="Unknown string or binary command '\\%c'" />
122 <MUnsmoper comment = "Unsupported macro operation or inadmissible macro types"
123 pattern = "Unsupported macro operation '%s' or inadmissible macro types" />
124 <MVarstr comment = "The variable must have 'str' type" />
125 <MVaruint comment = "The variable must have 'uint' type" />
126 <MWrongname comment = "Unacceptable name of the identifier or the macro" />
127
128