On 13 Aug 2004 at 20:04, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
Yes. The difficulty is that the compiler error messages often run into several lines, many of which are part of the same error. It sometimes gets a bit difficult to do something with them in the IDE.
For this purpose GPC inserts an additional space in the continuation lines:
foo.pas: In main program: foo.pas:4: undeclared identifier `sdf' (first use in this routine) foo.pas:4: (Each undeclared identifier is reported only once foo.pas:4: for each routine it appears in.) ^
Thanks for the tip. I actually discovered that the parsing code was doing strange things in places (the places that I introduced to cater for GPC's error reporting format). I never really bothered much to do anything with this part of the code after some initial forays about 2 years ago. I have given it a good look today and have given it a serious facelift.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/