On Sun, Jul 25, 1999 at 12:00:32PM +0200, Peter Gerwinski wrote:
Multiple compilations in one file.
One source file contains one program and several units, or an interface and an implementation module, or whatever which has more than one `end.' (please note the dot).
Well the problem is, of course, going to be that extended pascal does allow the interface and implementation of a module in the same file so someone trying to 'port' their extended code to gpc could potentially run into a nest of a problems as they split apart all of their modules and then modify their modules (probably so the implementation IMPORTs the interface) or their actual programs.
On the other hand, extended modules can be written fairly easy without the double 'end.' problem. I'm also not sure that the change will really affect that many people, so perhaps it would be worth it for the sake of integration.
This will also be an issue if anyone ever plans to use gpc (or write their own frontend) to develop say a Modula-2 compiler on top of the gcc/egcc backend. [Actually any later Wirthian language would probably be affected] It is unfortunate that the gpc/egcc people aren't more responsive to these types of changes.
-Kevin