Added new comment feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@3388 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -251,10 +251,14 @@ static void OneOpcode (unsigned RemainingBytes)
|
||||
/* Get the output style for the current PC */
|
||||
attr_t Style = GetStyleAttr (PC);
|
||||
|
||||
/* If we have a label at this address, output the label, provided that
|
||||
* we aren't in a skip area.
|
||||
/* If we have a label at this address, output the label and an attached
|
||||
* comment, provided that we aren't in a skip area.
|
||||
*/
|
||||
if (Style != atSkip && MustDefLabel (PC)) {
|
||||
const char* Comment = GetComment (PC);
|
||||
if (Comment) {
|
||||
UserComment (Comment);
|
||||
}
|
||||
DefLabel (GetLabel (PC));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user