Skip to content

Commit

Permalink
Merge pull request #1467 from WilliamBruneau/pyparsing_bump
Browse files Browse the repository at this point in the history
Unlock pyparsing version
  • Loading branch information
serpilliere committed Jan 12, 2024
2 parents 3a2fb24 + 64df992 commit ec29f74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion miasm/core/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def cb_op_mul(tokens):
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),
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyparsing~=2.0
pyparsing>=2.4.1
future
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def build_all():
"VERSION"
]
},
install_requires=["future", "pyparsing~=2.0"],
install_requires=["future", "pyparsing>=2.4.1"],
cmdclass={"install_data": smart_install_data},
ext_modules = ext_modules,
# Metadata
Expand Down

0 comments on commit ec29f74

Please sign in to comment.