about summary refs log tree commit diff stats
path: root/miasm2/core/cpu.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2017-02-13 09:48:32 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2017-02-13 15:04:25 +0100
commita7c9a7f769094d0af3b7a98bdb7319bcb3921e11 (patch)
treef26149c559b32c700a8d7fb7c2a74693229d9f58 /miasm2/core/cpu.py
parentf5368a9521470401fb396a0532904055379743a8 (diff)
downloadmiasm-a7c9a7f769094d0af3b7a98bdb7319bcb3921e11.tar.gz
miasm-a7c9a7f769094d0af3b7a98bdb7319bcb3921e11.zip
Core/cpu: change ParseAst name
Diffstat (limited to 'miasm2/core/cpu.py')
-rw-r--r--miasm2/core/cpu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py
index ffca318b..1beeeff0 100644
--- a/miasm2/core/cpu.py
+++ b/miasm2/core/cpu.py
@@ -200,7 +200,7 @@ def ast_int2expr(a):
 
 
 
-class parse_ast(object):
+class ParseAst(object):
 
     def __init__(self, id2expr, int2expr, default_size=32):
         self.id2expr = id2expr
@@ -364,7 +364,7 @@ def gen_base_expr():
 
 variable, operand, base_expr = gen_base_expr()
 
-my_var_parser = parse_ast(ast_id2expr, ast_int2expr)
+my_var_parser = ParseAst(ast_id2expr, ast_int2expr)
 base_expr.setParseAction(my_var_parser)
 
 default_prio = 0x1337