From 9f04c551bddbc7fcab1921a2081a6ee9ea50a2f2 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Wed, 15 Feb 2017 16:01:40 +0100 Subject: Asmbloc: rename asm_bloc to AsmBlock --- miasm2/core/parse_asm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'miasm2/core/parse_asm.py') diff --git a/miasm2/core/parse_asm.py b/miasm2/core/parse_asm.py index 11fa4040..ce982b48 100644 --- a/miasm2/core/parse_asm.py +++ b/miasm2/core/parse_asm.py @@ -254,9 +254,9 @@ def parse_txt(mnemo, attrib, txt, symbol_pool=None): # First line must be a label. If it's not the case, generate # it. label = guess_next_new_label(symbol_pool) - cur_block = asmbloc.asm_bloc(label, alignment=mnemo.alignment) + cur_block = asmbloc.AsmBlock(label, alignment=mnemo.alignment) else: - cur_block = asmbloc.asm_bloc(line, alignment=mnemo.alignment) + cur_block = asmbloc.AsmBlock(line, alignment=mnemo.alignment) i += 1 # Generate the current bloc blocks.add_node(cur_block) -- cgit 1.4.1