Skip to content

Commit

Permalink
Set maybe_placeholders to False for lark 1.+ compatibility (#664)
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
  • Loading branch information
sloretz committed Feb 18, 2022
1 parent 3cfdb4c commit 90a74c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosidl_parser/rosidl_parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def parse_idl_string(idl_string, png_file=None):
def get_ast_from_idl_string(idl_string):
global _parser
if _parser is None:
_parser = Lark(grammar, start='specification')
_parser = Lark(grammar, start='specification', maybe_placeholders=False)
return _parser.parse(idl_string)


Expand Down

0 comments on commit 90a74c3

Please sign in to comment.