From d83e9aaaae1bfbb5b40c6c0d7539988d083b837e Mon Sep 17 00:00:00 2001 From: Marko Durkovic Date: Sat, 3 Jul 2021 13:03:58 +0200 Subject: [PATCH] Support multi-line comments in idl files --- src/rosbags/typesys/idl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rosbags/typesys/idl.py b/src/rosbags/typesys/idl.py index acc6bafa..b9542272 100644 --- a/src/rosbags/typesys/idl.py +++ b/src/rosbags/typesys/idl.py @@ -34,7 +34,8 @@ definition / type_dcl ';' comment - = r'[/][/][^\n]*' + = r'/\*.*?\*/' + / r'[/][/][^\n]*' macro = ifndef