|
|
@@ -32,6 +32,7 @@ class Fragment:
|
|
|
def __init__(self, name: str, entries: Set[Union[str, Tuple[str]]]):
|
|
|
self.name = name
|
|
|
self.entries = entries
|
|
|
+ self.path = ''
|
|
|
|
|
|
def __repr__(self):
|
|
|
return str(self.__dict__)
|
|
|
@@ -470,4 +471,7 @@ def parse_fragment_file(path, sdkconfig):
|
|
|
fragment_file = parser.parse_file(path, parse_all=True)[0]
|
|
|
fragment_file.path = path
|
|
|
|
|
|
+ for frag in fragment_file.fragments:
|
|
|
+ frag.path = path
|
|
|
+
|
|
|
return fragment_file
|