mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 02:30:08 +01:00
first basic analysis version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user