ros / genmsg

Standalone Python library for generating ROS message and service data structures for various languages
http://wiki.ros.org/genmsg
29 stars 74 forks source link

Fixed comment handling in service spec string constants. #92

Closed StefanFabian closed 4 years ago

StefanFabian commented 4 years ago

This PR fixes #88. I've simply removed the line that strips the comments since the load_msg_from_string function will handle them anyway. No need for code duplication. Additionally, I've added a test that failed before the change and passes after it.

dirk-thomas commented 4 years ago

Thanks for the patch.