diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-05-05 22:59:20 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-05-09 12:27:17 +0200 |
| commit | db4fd7f58d6a4ed87fc7d6f28c7c2af31e61fb65 (patch) | |
| tree | d9b3e4a9889c3ee02f57ad8b6f346ea19cab277a /miasm2/arch/sh4/arch.py | |
| parent | 8f5a42ae2b659f10bdf52adbd8e382e0784f74a1 (diff) | |
| download | miasm-db4fd7f58d6a4ed87fc7d6f28c7c2af31e61fb65.tar.gz miasm-db4fd7f58d6a4ed87fc7d6f28c7c2af31e61fb65.zip | |
Cpu: fix fromstring arg name
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): |