Skip to content
Snippets Groups Projects
Commit c7cb059c authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix alternative matches in insn/subst rule match

parent 55287adb
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,8 @@ def parse_id_match(id_matches):
id_matches = id_matches.split(",")
if len(id_matches) > 1:
return AlternativeMatch(parse_id_match(im) for im in id_matches)
return AlternativeMatch([
parse_id_match(im) for im in id_matches])
if len(id_matches) == 0:
return AllMatch()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment