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

Improve insn option parsing

parent ea56ed69
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ def expand_defines_in_expr(expr, defines):
INSN_RE = re.compile(
"\s*(?:\<(?P<temp_var_type>.*?)\>)?"
"\s*(?P<lhs>.+?)\s*(?<!\:)=\s*(?P<rhs>.+?)"
"\s*?(?:\{(?P<options>[\s\w_=,:]+)\}\s*)?$"
"\s*?(?:\{(?P<options>.+)\}\s*)?$"
)
SUBST_RE = re.compile(
r"^\s*(?P<lhs>.+?)\s*:=\s*(?P<rhs>.+)\s*$"
......
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