File: BUGS

package info (click to toggle)
ratfor 1.07-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 624 kB
  • sloc: ansic: 3,622; sh: 1,248; makefile: 147
file content (17 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This is not a bug but a design error
in both AT&T ratfor
and this public domain ratfor:

The problem is with the switch statment.
It switches on an integer valued expression.
It should switch on an integer variable.

The reason is that
	"implicit undefined"
	"implicit null"
is unusable because the switch is done
on a new variable that is not declared or declarable
by the programmer who cannot guess its name.

Please let me know if you fix this.
			jon@sep.stanford.edu.us