-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor/mbl misc updates #21
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm no a go developer, but the output files look right. Good jorrb.
</html>"), | ||
Icon( | ||
graphics={ | ||
Rectangle( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice
function destructor | ||
"Some comment" | ||
extends Modelica.Icons.Function; | ||
input Integer input2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
@@ -77,6 +77,7 @@ func main() { | |||
} | |||
if flag.NArg() == 0 { | |||
fmt.Fprintln(os.Stderr, "error: must provide at least one file or directory") | |||
usage() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usage reports the command line arguments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, previously it would just say "error: ..." but having usage below the error will be helpful
Background
MBL requires some edits after running modelica-fmt. This attempts to address a few of those changes they require.
This PR does not address the need to break on long lines inside of non-model level annotations, which is known to be desired (see here: lbl-srg/modelica-buildings@7a2cc97#diff-cc373b9f69fcbc72e7c1ac989931c40bbd538461512f666dc9ca977bc28018a8R51-R54).
Changes