diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-02-15 16:01:40 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-03-13 14:13:13 +0100 |
| commit | 9f04c551bddbc7fcab1921a2081a6ee9ea50a2f2 (patch) | |
| tree | 1dee93cb415b8cc271637e332c09d223655929f2 /miasm2/core/parse_asm.py | |
| parent | 287cb1bb182112ad8b476a9631f0099163041fdc (diff) | |
| download | miasm-9f04c551bddbc7fcab1921a2081a6ee9ea50a2f2.tar.gz miasm-9f04c551bddbc7fcab1921a2081a6ee9ea50a2f2.zip | |
Asmbloc: rename asm_bloc to AsmBlock
Diffstat (limited to 'miasm2/core/parse_asm.py')
| -rw-r--r-- | miasm2/core/parse_asm.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |