From: Jamey Sharp Date: Thu, 15 Jun 2006 17:25:46 +0000 (-0700) Subject: Bugfix: Make type shadowing go the right way in type.py. X-Git-Tag: 1.0-RC1~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bd636fd64940e62d101d690468e9979d2716dfa;p=platform%2Fupstream%2Fxcb-proto.git Bugfix: Make type shadowing go the right way in type.py. --- diff --git a/src/type.py b/src/type.py index c2f3cdf..8338232 100755 --- a/src/type.py +++ b/src/type.py @@ -25,7 +25,7 @@ class AnnotateType(XMLFilterBase): def declareType(self, name): assert ':' not in name qname = self.scopes[0] + ':' + name - self.map.setdefault(name, []).append(qname) + self.map.setdefault(name, []).insert(0, qname) def getQualifiedType(self, name): if ':' in name: return name