From 5b0323771a6e36844e665ab41efec203f8093087 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 6 Jul 2009 20:33:06 +0000 Subject: [PATCH] Add some code that avoids outputing a forward label in the same line as a normal label. It works but looks bad. git-svn-id: svn://svn.cc65.org/cc65/trunk@3971 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/da65/output.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/da65/output.c b/src/da65/output.c index 3b4ffe47f..851157405 100644 --- a/src/da65/output.c +++ b/src/da65/output.c @@ -183,6 +183,12 @@ void DefForward (const char* Name, const char* Comment, unsigned Offs) */ { if (Pass == PassCount) { + /* Flush existing output if necessary */ + if (Col > 1) { + LineFeed (); + } + + /* Output the forward definition */ Output ("%s", Name); Indent (ACol); if (UseHexOffs) { -- 2.39.5