Var.py (6657:ef5fae93a3b2) Var.py (9219:258753d3bc47)
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 30 unchanged lines hidden (view full) ---

39
40 self.machine = machine
41 self.type = type
42 self.code = code
43
44 def __repr__(self):
45 return "[Var id: %s]" % (self.c_ident)
46
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 30 unchanged lines hidden (view full) ---

39
40 self.machine = machine
41 self.type = type
42 self.code = code
43
44 def __repr__(self):
45 return "[Var id: %s]" % (self.c_ident)
46
47 def writeCodeFiles(self, path):
47 def writeCodeFiles(self, path, includes):
48 pass
49
50__all__ = [ "Var" ]
48 pass
49
50__all__ = [ "Var" ]