[fpc-devel]{$I 'xxx'} does not seem to work in 1.0.4 linux/i386
Peter Vreman
peter at freepascal.org
Sun Apr 14 18:10:06 CEST 2002
At 15:50 14-4-2002, you wrote:
>Hi.
>
>The include command does not seem to work. Here are:
>
> * directory listing
> * program source
> * fpc error message
>
>
>
>$> ls -l
>
>-rw-r--r-- 1 ralf ralf 210 Apr 14 16:18 commandchecker.pas
>-rw-r--r-- 1 ralf ralf 978 Apr 14 15:58 commandchecker_lex.l
>-rw-r--r-- 1 ralf ralf 9623 Apr 14 15:59 commandchecker_lex.pas
>-rw-r--r-- 1 ralf ralf 6098 Apr 14 16:00 commandchecker_yacc.pas
>-rw-r--r-- 1 ralf ralf 234 Apr 14 15:58 commandchecker_yacc.y
>
>---SNAP------------------------------------------------------------------------
>
>$> cat commandchecker.pas
>(* $Header$ *)
>
>program commandchecker;
>
>
>{$I 'commandchecker_yacc.pas'}
>{$I 'commandchecker_lex.pas'}
You need to specify the file without quotes: {$i commandcheck_yacc.pas}
Peter
More information about the fpc-devel
mailing list