Skip to content
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

Merged
merged 3 commits into from
Jan 28, 2021
Merged

Conversation

macintoshpie
Copy link
Contributor

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

@macintoshpie macintoshpie requested a review from nllong January 28, 2021 01:21
Copy link
Member

@nllong nllong left a 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(
Copy link
Member

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;
Copy link
Member

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()
Copy link
Member

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?

Copy link
Contributor Author

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

@macintoshpie macintoshpie merged commit a6d8e4b into develop Jan 28, 2021
@macintoshpie macintoshpie deleted the refactor/mbl-misc-updates branch January 28, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants