[fpc-pascal] uses in 'filename'

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 22 17:11:48 CET 2018


On Thu, 22 Feb 2018 12:48:21 +0100 (CET)
Michael Van Canneyt <michael at 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


More information about the fpc-pascal mailing list