mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
parent
5bd4aa6bb3
commit
9b54dd8e18
@ -447,6 +447,9 @@ class macros:
|
||||
if key in self.macros[map]:
|
||||
del self.macros[map][key]
|
||||
|
||||
def defined(self, key, globals = True, maps = None):
|
||||
return self.get(key, globals, maps) is not None
|
||||
|
||||
def expand(self, _str):
|
||||
"""Simple basic expander of config file macros."""
|
||||
expanded = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user