Skip to content

Commit

Permalink
[Flat] Use loop keyword for while loops
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Jun 3, 2020
1 parent 2c23e69 commit 85508bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/Compiler/NFFrontEnd/NFStatement.mo
Expand Up @@ -789,7 +789,7 @@ public
algorithm
s := IOStream.append(s, "while ");
s := IOStream.append(s, Expression.toFlatString(stmt.condition));
s := IOStream.append(s, " then\n");
s := IOStream.append(s, " loop\n");
s := toFlatStreamList(stmt.body, indent + " ", s);
s := IOStream.append(s, indent);
s := IOStream.append(s, "end while");
Expand Down

0 comments on commit 85508bb

Please sign in to comment.