> On Oct 7, 2020, at 11:02 AM, Mattias Gaertner via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> Only in FPC:
> 
> {$unitpath sources}
> interface
> uses
>  TOMLParser, TOMLTypes;

Some interesting stuff here, thanks. Almost there but for some reason 
Scanner.pas is not found even though it's in the same directory as 
TOMLParser.pas. The compiler did find TOMLParser despite /sources not being 
explicitly included as -Fu option.


unit TOMLParser;
interface
uses
  Classes, 
  Scanner,    // error: Can't find unit Scanner used by TOMLParser
  TOMLTypes;

We get to TOMLParser like this:


unit TOML;
interface
uses
  TOMLParser in 'sources/TOMLParser.pas',


Regards,
        Ryan Joseph

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

Reply via email to