about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-03-20 14:24:56 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-03-20 16:35:40 +0100
commitbd324bc83c043b1bb46240d2f91e96ac73b0ef02 (patch)
tree54a7fe20ace79ff45376c01442a8978999db8411
parent0f559212d30b58a4b9ee15491f7d0a684e59b257 (diff)
downloadmiasm-bd324bc83c043b1bb46240d2f91e96ac73b0ef02.tar.gz
miasm-bd324bc83c043b1bb46240d2f91e96ac73b0ef02.zip
ParseAsm: dont generate parasite line on 'dontsplit' directive
-rw-r--r--miasm2/core/parse_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/parse_asm.py b/miasm2/core/parse_asm.py
index 09003ed9..b42bdbcc 100644
--- a/miasm2/core/parse_asm.py
+++ b/miasm2/core/parse_asm.py
@@ -124,7 +124,7 @@ def parse_txt(mnemo, attrib, txt, symbol_pool=None, gen_label_index=0):
                 lines.append(x)
                 continue
             if directive == 'dontsplit':  # custom command
-                lines.append(asmbloc.asm_raw(line.strip()))
+                lines.append(asmbloc.asm_raw())
                 continue
             if directive in ['file', 'intel_syntax', 'globl', 'local',
                              'type', 'size', 'align', 'ident', 'section']: