On Thu, 22 Feb 2018 12:48:21 +0100 (CET)
Michael Van Canneyt <mich...@freepascal.org> wrote:

>[...]
> home:~/source/testsub> fpc a.pp  
> unit1.pas(1,9) Error: Illegal unit name: foo (expecting FOO)
> unit1.pas(7,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> 
> Where
> 
> a.pp:
> -----
> uses foo in 'unit1.pas', bar in 'sub/unit1.pas';
> 
> begin
>    dofoo;
>    dobar;
> end.
> 
> Unit1.pp:

This does not fit: Unit1.pp and unit1.pas.


Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to