/kernel/trunk/asmxygen.py |
---|
1357,6 → 1357,8 |
class AsmElement: |
def __init__(self, location, name, comment): |
global warnings |
self.location = location |
self.file = self.location.split(':')[0].replace('\\', '/') |
self.line = self.location.split(':')[1] |
1363,6 → 1365,9 |
self.name = name |
self.comment = comment |
if self.comment == '': |
warnings += f'{self.location}: Undocumented element\n' |
def dump(self): |
print(f"{self.comment}") |
print(f"{self.location}: {self.name}") |