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

fix parsing empty string literal #409

Merged
merged 2 commits into from
Sep 9, 2019

Conversation

dirk-thomas
Copy link
Member

Fixes #405.

I am not going to run CI for this since obviously we don't have that case anywhere in the code base atm. Otherwise the following assertion would have failed.

@dirk-thomas dirk-thomas added bug Something isn't working in review Waiting for review (Kanban column) labels Sep 6, 2019
@dirk-thomas dirk-thomas self-assigned this Sep 6, 2019
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas force-pushed the dirk-thomas/fix-empty-string-literal branch from e57b0d4 to d7236a9 Compare September 6, 2019 16:49
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM, but maybe you could add a test case by modifying one of our existing definitions in test_interface_files?

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas
Copy link
Member Author

maybe you could add a test case by modifying one of our existing definitions in test_interface_files?

I added a case for this to the rosidl_parser tests: a182e79.

  • Linux Build Status

@dirk-thomas dirk-thomas merged commit f445d96 into master Sep 9, 2019
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/fix-empty-string-literal branch September 9, 2019 22:12
dirk-thomas added a commit that referenced this pull request Oct 10, 2019
* fix parsing empty string literal

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* add annotation with empty string literal parameter

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
(cherry picked from commit f445d96)
dirk-thomas added a commit that referenced this pull request Oct 10, 2019
* fix parsing empty string literal

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* add annotation with empty string literal parameter

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
(cherry picked from commit f445d96)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in review Waiting for review (Kanban column)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Message generation fails if line ends with #[...]
2 participants