mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-08 04:18:06 +02:00
Bugfix: Make type shadowing go the right way in type.py.
This commit is contained in:
parent
ab4393d3a6
commit
1bd636fd64
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue