From 7522a34a67d6837d0608f11c3f4e90037de96841 Mon Sep 17 00:00:00 2001 From: svenbarth Date: Wed, 20 Jun 2018 19:53:50 +0000 Subject: [PATCH] + add a message that can be used if an internal operator hides an existing operator overload git-svn-id: trunk@39260 - --- .gitattributes | 2 +- compiler/msg/errore.msg | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 241740e450..890a2d6a2a 100644 --- a/.gitattributes +++ b/.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 svneol=native#text/plain +compiler/msg/errore.msg -text 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 diff --git a/compiler/msg/errore.msg b/compiler/msg/errore.msg index ef784d04ac..9ad24e0339 100644 --- a/compiler/msg/errore.msg +++ b/compiler/msg/errore.msg @@ -436,7 +436,7 @@ scan_n_changecputype=02105_N_Changed CPU type to be consistent with specified co # # Parser # -# 03346 is the last used one +# 03347 is the last used one # % \section{Parser messages} % This section lists all parser messages. The parser takes care of the @@ -1575,6 +1575,11 @@ 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}). % % % \end{description}