first basic analysis version

This commit is contained in:
JanLJL
2019-07-24 10:57:19 +02:00
parent e5cad0154e
commit 34fe8ad142
8 changed files with 179 additions and 23 deletions

View File

@@ -28,7 +28,7 @@ class BaseParser(object):
asm_instructions = []
lines = file_content.split('\n')
for i, line in enumerate(lines):
if line == '':
if line.strip() == '':
continue
asm_instructions.append(self.parse_line(line, i + 1 + start_line))
return asm_instructions