about summary refs log tree commit diff stats
path: root/miasm/core/parse_asm.py
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2012-06-29 09:04:58 +0200
committerserpilliere <devnull@localhost>2012-06-29 09:04:58 +0200
commit9447ee34926461b933cd7eb915a8318aa3a777ea (patch)
tree855c54985d98878e5c643a1b45458475e3834937 /miasm/core/parse_asm.py
parent04821c88e1c582b831ae24b408c996292680c545 (diff)
downloadfocaccia-miasm-9447ee34926461b933cd7eb915a8318aa3a777ea.tar.gz
focaccia-miasm-9447ee34926461b933cd7eb915a8318aa3a777ea.zip
modint: fix int bug
Diffstat (limited to 'miasm/core/parse_asm.py')
-rw-r--r--miasm/core/parse_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/parse_asm.py b/miasm/core/parse_asm.py
index 64618626..430df537 100644
--- a/miasm/core/parse_asm.py
+++ b/miasm/core/parse_asm.py
@@ -89,7 +89,7 @@ def parse_txt(mnemo, txt, symbol_pool = None, gen_label_index = 0):
                 lines.append(asm_raw(line.strip()))
                 continue
             
-            raise "unknown directive %s"%str(directive)
+            raise ValueError("unknown directive %s"%str(directive))
         
         #label
         r = re.match(r'\s*(\S+)\s*:', line)