Mercurial > lcfOS
comparison python/c3/analyse.py @ 217:8b2e5f3cd579
Removed some stale python source files
author | Windel Bouwman |
---|---|
date | Fri, 05 Jul 2013 14:13:59 +0200 |
parents | c1ccb1cb4cef |
children | 3f6c30a5d234 |
comparison
equal
deleted
inserted
replaced
216:57c032c5e753 | 217:8b2e5f3cd579 |
---|---|
42 self.addSymbol(sym) | 42 self.addSymbol(sym) |
43 | 43 |
44 # Create subscope: | 44 # Create subscope: |
45 if type(sym) in [Package, Function]: | 45 if type(sym) in [Package, Function]: |
46 self.curScope = Scope(self.curScope) | 46 self.curScope = Scope(self.curScope) |
47 sym.innerScope = self.curScope | |
47 | 48 |
48 def quitScope(self, sym): | 49 def quitScope(self, sym): |
49 # Pop out of scope: | 50 # Pop out of scope: |
50 if type(sym) in [Package, Function]: | 51 if type(sym) in [Package, Function]: |
51 self.curScope = self.curScope.parent | 52 self.curScope = self.curScope.parent |