> On Oct 7, 2020, at 11:02 AM, Mattias Gaertner via fpc-pascal
> <[email protected]> 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 - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal