Folks:
Here is a bad chunk of code:
ri := ri + end;
This is what GPC has to say about it:
ridi.p:1531: parse error before `End'
Here is what the Sun Pascal compiler has to say about it:
pc0: WorkShop Compilers 4.2 01/04/00 Pascal 4.2 patch 104632-11 Fri Nov 1 02:52:33 2002 ridi.p: 1531 end; E 18480----------------^--- Inserted identifier
I always find the Sun display much easier to interpret instantly. It would be nice to have GPC show the line and show the point of the error.
The Sun compiler is not supported and so will go away eventually and at that point I will rely on GPC so having strong diagnostics will help.
Thanks,
Tom
Dr. Thomas D. Schneider National Cancer Institute Laboratory of Experimental and Computational Biology Frederick, Maryland 21702-1201 toms@ncifcrf.gov permanent email: toms@alum.mit.edu (use only if first address fails) http://www.lecb.ncifcrf.gov/~toms/