about summary refs log tree commit diff stats
path: root/miasm/core/cpu.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2024-01-12 14:47:35 +0100
committerGitHub <noreply@github.com>2024-01-12 14:47:35 +0100
commitec29f74614b2906af63cf57ec2bc64652d342025 (patch)
tree2504bbf4541b4850dffc56995e3aaba3bc153cdc /miasm/core/cpu.py
parent3a2fb2472c0e8e01f84ed29be29a929775ed07ab (diff)
parent64df992e382d32b51e6ea2d455510250db77e70b (diff)
downloadfocaccia-miasm-ec29f74614b2906af63cf57ec2bc64652d342025.tar.gz
focaccia-miasm-ec29f74614b2906af63cf57ec2bc64652d342025.zip
Merge pull request #1467 from WilliamBruneau/pyparsing_bump
Unlock pyparsing version
Diffstat (limited to 'miasm/core/cpu.py')
-rw-r--r--miasm/core/cpu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/cpu.py b/miasm/core/cpu.py
index dae93bf9..7df9f991 100644
--- a/miasm/core/cpu.py
+++ b/miasm/core/cpu.py
@@ -393,7 +393,7 @@ variable = pyparsing.Word(pyparsing.alphas + "_$.", pyparsing.alphanums + "_")
 variable.setParseAction(cb_parse_id)
 operand = str_int | variable
 
-base_expr = pyparsing.operatorPrecedence(operand,
+base_expr = pyparsing.infixNotation(operand,
                                [(notop,   1, pyparsing.opAssoc.RIGHT, cb_op_not),
                                 (andop, 2, pyparsing.opAssoc.RIGHT, cb_op_and),
                                 (xorop, 2, pyparsing.opAssoc.RIGHT, cb_op_xor),