[fpc-pascal] unit name with dots

Florian Klaempfl florian at freepascal.org
Thu May 25 10:39:54 CEST 2006


mariano podesta wrote:
> hi,
> does fpc support unit names with more than one dot or is planned?
> 
> in delphi 7 you can compile this:

This looks to me like a delphi bug. A unit must be a valid pascal
identifier. Or is there any use in supporting this?

> 
> // unit main.dpr
> program main;
> 
> uses
>   test.sec;
> 
> begin
>   test.sec.doit;
> end.
> 
> // unit test.sec.pas
> unit test.sec;
> 
> interface
> 
> procedure doit;
> 
> implementation
> 
> procedure doit;
> begin
>   writeln('anda');
> end;
> 
> end.
> 
> thanks,
> marianop
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list