Mercurial > lcfOS
diff python/ppci/c3/codegenerator.py @ 336:d1ecc493384e
Added spiffy armtoken class for bit fiddeling. Added cool test that checks for build repeatability
author | Windel Bouwman |
---|---|
date | Wed, 19 Feb 2014 22:32:15 +0100 |
parents | 6f4753202b9a |
children | b8ad45b3a573 |
line wrap: on
line diff
--- a/python/ppci/c3/codegenerator.py Mon Feb 17 20:41:30 2014 +0100 +++ b/python/ppci/c3/codegenerator.py Wed Feb 19 22:32:15 2014 +0100 @@ -312,7 +312,7 @@ if type(tg) is not ast.Function: raise SemanticError('cannot call {}'.format(tg)) ftyp = tg.typ - fname = tg.name + fname = tg.package.name + '_' + tg.name ptypes = ftyp.parametertypes if len(expr.args) != len(ptypes): raise SemanticError('{} requires {} arguments, {} given'