From b20cc4cc6e1bab8f11dabc2cb114e378315a5b27 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 3 Nov 2003 16:25:31 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2604 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/da65/main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/da65/main.c b/src/da65/main.c index 95101f40b..8fa43ca9a 100644 --- a/src/da65/main.c +++ b/src/da65/main.c @@ -266,14 +266,17 @@ static void OneOpcode (unsigned RemainingBytes) */ if (Style == atDefault) { if (D->Size > RemainingBytes) { - MarkAddr (PC, atIllegal); + Style = atIllegal; + MarkAddr (PC, Style); } else if (D->Flags & flIllegal) { - MarkAddr (PC, atIllegal); + Style = atIllegal; + MarkAddr (PC, Style); } else { unsigned I; for (I = 1; I < D->Size; ++I) { if (HaveLabel (PC+I)) { - MarkAddr (PC, atIllegal); + Style = atIllegal; + MarkAddr (PC, Style); break; } } -- 2.39.5