minor update

This commit is contained in:
Miroslav Stampar 2011-06-15 12:04:30 +00:00
parent 1d93a03eeb
commit e0ad72031f

View File

@ -2642,7 +2642,7 @@ def expandMnemonics(mnemonics, parser, args):
for mnemonic in mnemonics.split(','): for mnemonic in mnemonics.split(','):
found = None found = None
name = mnemonic.split('=')[0].replace("-", "") name = mnemonic.split('=')[0].replace("-", "").strip()
value = mnemonic.split('=')[1] if len(mnemonic.split('=')) > 1 else None value = mnemonic.split('=')[1] if len(mnemonic.split('=')) > 1 else None
pointer = head pointer = head
for char in name: for char in name: