Package: gforth
Version: 0.6.2-7.3
Severity: normal


*** gforth.bug
Subject: gforth: number input conversion sees isolated "-" as valid number
Package: gforth
Version: 0.6.2-7.3
Severity: normal

discovered when the Forth vocabulary (which contains "-") was taken out of
search order, and a vocabulary for an assembly translator was created:
"-" was to become a legal word in translator vocabulary, but gforth should
balk when yet undefined words were used. For that reason was the Forth 
vocabulary
removed from search order.  The translator consequently complained nicely about
missing words, when attempting to use them, such as +, but produced garbage
instead of error when trying to use "-". Reason of problem was found that an
isolated "-" was interpreted as valid number, and was converted to "0" and 
pushed
on stack. As an isolated "-" character doesn't strike me as a legal number, I
view this as undesirable behaviour. it's a bug, not a feature :P


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.27 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages gforth depends on:
hi  libc6                         2.7-16     GNU C Library: Shared libraries

gforth recommends no packages.

gforth suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to