Skip to content

Commit

Permalink
Fix bug wjwwood#3
Browse files Browse the repository at this point in the history
  • Loading branch information
arjo129 authored Nov 16, 2020
1 parent 51daaef commit 9672b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse_cmake/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def attach_comment_to_command(lnums_command, lnums_comment):


def parse_command(start_line_num, command_name, toks):
cmd = Command(name=command_name, body=[], comment=None)
cmd = Command(name=command_name, body=[], comment=[])
expect('left paren', toks)
for line_num, (typ, tok_contents) in toks:
if typ == 'right paren':
Expand Down

0 comments on commit 9672b3f

Please sign in to comment.