Skip to content

Commit 0d5e40e

Browse files
committed
Forgot to commit changes to Error.mo in previous commit.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6535 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 3194e0b commit 0d5e40e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Compiler/Error.mo

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ public constant ErrorID GENERATECODE_INVARS_HAS_FUNCTION_PTR=142;
230230
public constant ErrorID LOOKUP_COMP_FOUND_TYPE=143;
231231
public constant ErrorID DUPLICATE_ELEMENTS_NOT_SYNTACTICALLY_IDENTICAL=144;
232232
public constant ErrorID TUPLE_ASSIGN_CREFS_ONLY=145;
233+
public constant ErrorID NON_STREAM_OPERAND_IN_STREAM_OPERATOR = 146;
234+
public constant ErrorID UNBALANCED_CONNECTOR = 147;
233235

234236

235237
public constant ErrorID UNBOUND_PARAMETER_WITH_START_VALUE_WARNING=499;
@@ -496,6 +498,10 @@ protected constant list<tuple<Integer, MessageType, Severity, String>> errorTabl
496498
"Duplicate class definitions (due to inheritance) not equivalent, first definiton is: %s, second definition is: %s"),
497499
(PACKAGE_VARIABLE_NOT_CONSTANT, TRANSLATION(),ERROR(),"Variable %s in package %s is not constant"),
498500
(RECURSIVE_DEFINITION,TRANSLATION(),ERROR(),"Class %s has a recursive definition, i.e. contains an instance of itself"),
501+
(NON_STREAM_OPERAND_IN_STREAM_OPERATOR(), TRANSLATION(), ERROR(),
502+
"Operand %s to operator %s in component %s is not a stream variable."),
503+
(UNBALANCED_CONNECTOR(), TRANSLATION(), WARNING(),
504+
"Connector %s is not balanced: %s"),
499505
(UNBOUND_PARAMETER_WARNING,TRANSLATION(),WARNING(),
500506
"Parameter %s has neither value nor start value, and is fixed during initialization (fixed=true)"),
501507
(UNBOUND_PARAMETER_WITH_START_VALUE_WARNING,TRANSLATION(),WARNING(),

0 commit comments

Comments
 (0)