Package: z80asm
Version: 1.8-2
Severity: normal
Tags: patch

Dear Maintainer,

The 1.8-2 version of z80asm fails to accept the `? foo` label test
expression, despite being documented syntax in the man page.

An example test case:

  $ cat > test.z80
  if ?foo
  endif
  $ z80asm test.z80
  test.z80:1: error: using undefined label foo
  test.z80:1: error: expression expected (not )

Looking at the source, this seems to be a case of a missing `++*p;` in
the case handling the expression, and has been fixed upstream in the
following commit:

https://git.savannah.nongnu.org/cgit/z80asm.git/commit/?id=320cce79f8ec862fc5d750d05519113d741871b2

As far as I can determine, there have been no official upstream
releases as such, but if possible, it would still be convenient to
incorporate this fix in the Debian package as well.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages z80asm depends on:
ii  libc6  2.37-12

z80asm recommends no packages.

Versions of packages z80asm suggests:
pn  openmsx  <none>

-- no debconf information

Reply via email to