Mercurial > lcfOS
diff python/asmnodes.py @ 225:1c7364bd74c7
Fixed pointer deref
author | Windel Bouwman |
---|---|
date | Thu, 11 Jul 2013 07:42:30 +0200 |
parents | 6c6bf8890d8a |
children | 83781bd10fdb |
line wrap: on
line diff
--- a/python/asmnodes.py Tue Jul 09 17:59:15 2013 +0200 +++ b/python/asmnodes.py Thu Jul 11 07:42:30 2013 +0200 @@ -11,6 +11,12 @@ def __repr__(self): return '{0}:'.format(self.name) +class AComment(ANode): + def __init__(self, name): + self.txt = name + def __repr__(self): + return '; {}'.format(self.txt) + class AInstruction(ANode): def __init__(self, mnemonic, operands): self.mnemonic = mnemonic