Package: z80asm
Version: 1.2-1
Severity: normal

When the last operand of an instruction is an immediate value, any
unclosed parenthesis in a comment following the instruction causes
an "unexpected end of line" error.

Example source file that demonstrates this bug:

label:
        nop             ; some comment ( more text
        ld b,a          ; some comment ( more text
        ld a,0xab       ; some comment ( more text
        jp label        ; some comment ( more text
        jr label        ; some comment ( more text
        jr z,label      ; some comment ( more text

z80asm output:

b.asm:4: unexpected end of line
b.asm:5: unexpected end of line
b.asm:6: unexpected end of line
b.asm:7: unexpected end of line

The correct behavior would be to completely ignore all text (including
parenthesis) from the ';' character to the end of the line. The example
above should assemble without errors.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages z80asm depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries

z80asm recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to