Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Belonging to [master]: - OpenModelica/OMCompiler#2122 - OpenModelica/OpenModelica-testsuite#831
- Loading branch information
1 parent
5ab0f64
commit 5637847
Showing
4 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// name: Comment1 | ||
// keywords: | ||
// status: correct | ||
// cflags: -d=newInst | ||
// | ||
|
||
model Comment1 "class comment" | ||
Real x "component comment"; | ||
equation | ||
x = 1 "equation comment"; | ||
algorithm | ||
x := 1 "statement comment"; | ||
end Comment1; | ||
|
||
// Result: | ||
// class Comment1 "class comment" | ||
// Real x "component comment"; | ||
// equation | ||
// x = 1.0 "equation comment"; | ||
// algorithm | ||
// x := 1.0 "statement comment"; | ||
// end Comment1; | ||
// endResult |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters