Subversion Repositories Kolibri OS

Rev

Rev 8957 | Rev 8961 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8957 Rev 8958
Line 1481... Line 1481...
1481
		# Build doxycomment
1481
		# Build doxycomment
1482
		doxycomment = ''
1482
		doxycomment = ''
1483
		doxycomment += self.comment
1483
		doxycomment += self.comment
1484
		if '@brief' not in doxycomment:
1484
		if '@brief' not in doxycomment:
1485
			doxycomment = '@brief ' + doxycomment
1485
			doxycomment = '@brief ' + doxycomment
-
 
1486
		doxycomment += '\n'
1486
		# Build declaration
1487
		# Build declaration
1487
		declaration = f"struct {self.name}" + " {};"
1488
		declaration = f"struct {self.name}" + " {\n"
-
 
1489
		for member in self.members:
-
 
1490
			if type(member) == AsmVariable:
-
 
1491
				declaration += f'\t{member.type} {member.name}; /**< {member.comment} */\n'
-
 
1492
		declaration += '};'
1488
		# Emit this
1493
		# Emit this
1489
		super().emit(dest, doxycomment, declaration)
1494
		super().emit(dest, doxycomment, declaration)
Line 1490... Line 1495...
1490
 
1495
 
1491
class AsmUnion(AsmElement):
1496
class AsmUnion(AsmElement):