Bug in Sun Pascal 1.10 (Sun 4)
Dan Trottier
dan at maccs.McMaster.ca
Wed Feb 1 17:20:51 AEST 1989
Well it's been 4 months since I reported a bug in the Sun Pascal 1.10
distribution and I haven't had a reply yet. Perhaps this will illicit a
response.
PROBLEM:
If you try to declare a variable as a VARYING string of size 1 the
compiler craps out with an internal error.
Likewise if you declare a variable as VARYING string of size > 1 and
then try to test against a string containing a single character the
compiler craps out.
Ex: name : varying [1..8] of char ;
if name = 'a' then begin ... end
else ...
What I need to know is if this behaviour is normal and if not when will
Sun be sending me a BUG fix for this problem. Personnaly I don't care for
vendor added features (like varying) but if they are going to put
extensions in a language they better make sure they behave properly!
--
Dan Trottier dan at maccs.McMaster.CA
Dept of Computer Science ...!uunet!utai!utgpu!maccs!dan
McMaster University (416) 525-9140 x3444
More information about the Comp.sys.sun
mailing list