From 9c491c1137a4c8b7470ba32a03f90ee4613fa4f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Tue, 12 Jul 2011 15:12:53 +0000 Subject: [PATCH] - Warning; not error git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9466 f25d12d1-65f4-0310-ae8a-bbce733d8d8e --- Compiler/Util/Error.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiler/Util/Error.mo b/Compiler/Util/Error.mo index 06462413352..ae6bda4bd69 100644 --- a/Compiler/Util/Error.mo +++ b/Compiler/Util/Error.mo @@ -710,7 +710,7 @@ protected constant list> errorTabl (LINSPACE_ILLEGAL_SIZE_ARG,TRANSLATION(),ERROR(),"In expression %s, third argument to linspace must be >= 2"), (INTERACTIVE_ASSIGN, SCRIPTING(),ERROR(), "Interactive assignment of %s failed for expression %s."), (MATCH_SHADOWING, TRANSLATION(),ERROR(), " Local variable '%s' shadows input or result variables in a {match,matchcontinue} expression."), - (MATCH_SHADOWING_OPTIMIZER, TRANSLATION(),ERROR(), "Cannot optimize function due to a local variable having the same name as an input variable: %s."), + (MATCH_SHADOWING_OPTIMIZER, TRANSLATION(),WARNING(), "Cannot optimize function due to a local variable having the same name as an input variable: %s."), (META_POLYMORPHIC, TRANSLATION(),ERROR(), " %s uses invalid subtypeof syntax. Only subtypeof Any is supported."), (META_FUNCTION_TYPE_NO_PARTIAL_PREFIX, TRANSLATION(),ERROR(), "%s is used as a function reference, but doesn't specify the partial prefix."), (IF_EQUATION_WARNING,SYMBOLIC(),WARNING(), "If-equations are only partially supported. Ignoring %s"),