mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
flags: use nick instead of name
This commit is contained in:
parent
bb0178fab5
commit
3feec43b46
2 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ class Flag(AstNode):
|
|||
if not isinstance(type, Enumeration):
|
||||
return None
|
||||
elif member := type.members.get(self.name):
|
||||
return member.name
|
||||
return member.nick
|
||||
else:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue