Browse Source

+ add a message that is used when a threadvar section is started inside a class or record without the "class"
specifier

git-svn-id: trunk@39286 -

svenbarth 7 years ago
parent
commit
0a45d7a774
2 changed files with 9 additions and 7 deletions
  1. 1 1
      .gitattributes
  2. 8 6
      compiler/msg/errore.msg

+ 1 - 1
.gitattributes

@@ -444,7 +444,7 @@ compiler/msg/errorct.msg svneol=native#text/plain
 compiler/msg/errord.msg svneol=native#text/plain
 compiler/msg/errorda.msg svneol=native#text/plain
 compiler/msg/errordu.msg svneol=native#text/plain
-compiler/msg/errore.msg -text svneol=native#text/plain
+compiler/msg/errore.msg svneol=native#text/plain
 compiler/msg/errores.msg svneol=native#text/plain
 compiler/msg/errorf.msg svneol=native#text/plain
 compiler/msg/errorfi.msg svneol=native#text/plain

+ 8 - 6
compiler/msg/errore.msg

@@ -436,7 +436,7 @@ scan_n_changecputype=02105_N_Changed CPU type to be consistent with specified co
 #
 # Parser
 #
-# 03347 is the last used one
+# 03348 is the last used one
 #
 % \section{Parser messages}
 % This section lists all parser messages. The parser takes care of the
@@ -1575,11 +1575,13 @@ parser_e_cannot_use_hardfloat_in_a_softfloat_environment=03345_E_The HardFloat d
 parser_e_invalid_internal_function_index=03346_E_Index $1 is not a valid internal function index
 % The index specified for the \var{compilerproc} directive is not an index that's recognized
 % by the compiler.
-parser_w_operator_overloaded_hidden_3=03347_W_Operator overload hidden by internal operator: "$1" $2 "$3"
-% An operator overload is defined for the specified overload, but the internal overload by the compiler
-% takes precedence. This only happens for operators that had been overloadable before (e.g. dynamic array + dynamic array),
-% but aren't anymore due to an internal operator being defined while this behavior is controllable by a modeswitch
-% (in case of dynamic arrays that is the modeswitch \var{ArrayOperators}).
+parser_w_operator_overloaded_hidden_3=03347_W_Operator overload hidden by internal operator: "$1" $2 "$3"
+% An operator overload is defined for the specified overload, but the internal overload by the compiler
+% takes precedence. This only happens for operators that had been overloadable before (e.g. dynamic array + dynamic array),
+% but aren't anymore due to an internal operator being defined while this behavior is controllable by a modeswitch
+% (in case of dynamic arrays that is the modeswitch \var{ArrayOperators}).
+parser_e_threadvar_must_be_class=03348_E_Thread variables inside classes or records must be class variables
+% A \var{threadvar} section inside a class or record was started without it being prefixed by \var{class}.
 %
 %
 % \end{description}