diff options
Diffstat (limited to 'miasm2/arch/sh4/arch.py')
| -rw-r--r-- | miasm2/arch/sh4/arch.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/arch/sh4/arch.py b/miasm2/arch/sh4/arch.py index ecfc9502..6d43bd3e 100644 --- a/miasm2/arch/sh4/arch.py +++ b/miasm2/arch/sh4/arch.py @@ -149,8 +149,8 @@ class sh4_freg(sh4_reg): class sh4_dgpreg(m_arg): parser = dgpregs_base - def fromstring(self, s, parser_result=None): - start, stop = super(sh4_dgpreg, self).fromstring(s, parser_result) + def fromstring(self, text, parser_result=None): + start, stop = super(sh4_dgpreg, self).fromstring(text, parser_result) if start is None: return start, stop self.expr = ExprMem(self.expr.arg, self.sz) @@ -175,8 +175,8 @@ class sh4_dgpreg(m_arg): class sh4_dgpregpinc(m_arg): parser = dgpregs_p - def fromstring(self, s, parser_result=None): - start, stop = super(sh4_dgpregpinc, self).fromstring(s, parser_result) + def fromstring(self, text, parser_result=None): + start, stop = super(sh4_dgpregpinc, self).fromstring(text, parser_result) if self.expr is None: return None, None if not isinstance(self.expr.arg, ExprOp): |