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

lcmgen: Emit comments for java and python #497

Merged
merged 5 commits into from
Mar 31, 2024

Conversation

judfs
Copy link
Contributor

@judfs judfs commented Mar 21, 2024

No description provided.

emit_continue("[]");
emit_end(";");
emit_end(";\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change does add an unnecessary newline in between the constructor and the last member, but I can't think of a good alternative. It could be removed from here and emit(0, ""); could be added on L124 before the emit(indent, "/**"); in emit_member_comment, but then that just adds an unnecessary extra newline in between the class line and its members.

I'm inclined to just merge as-is since this PR adds a lot of value; we can always open a follow-on PR if we want to change it and can think of a better solution.

@nosracd nosracd merged commit 12c234f into lcm-proj:master Mar 31, 2024
11 checks passed
@judfs judfs deleted the emit-comments branch September 23, 2024 18:17
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