Skip to content

Commit f0f5a35

Browse files
committed
- conform to Modelica grammar unary operators has to be enclosed in ( -x ) if they appear in the right side of an binary operator
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2329 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent f5bdf7d commit f0f5a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Exp.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6059,7 +6059,7 @@ algorithm
60596059
case (str,0) then ""; /* n */
60606060
case (str,level)
60616061
equation
6062-
new_level = level + -1;
6062+
new_level = level + (-1);
60636063
new_str = genStringNTime(str, new_level);
60646064
res_str = stringAppend(str, new_str);
60656065
then

0 commit comments

Comments
 (0)