Hi, David!
i figured out problematic case:
if included file ends with comment and there is no '\n' at the end of file,
say something like
a=1
b=5
###EOF
then i got this error, otherwise, everything goes ok.
a=1
b=5
###\n
EOF
this runs ok.
2009/5/15 David Baelde
Can you send me a (minimal) version of the problematic including file?
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution
okay, but i put %include at the very begining of the file and i got this
issue. maybe %include waits some other definitions after it, and if it
doesn't find it then it fails
2009/5/14 David Baelde
> For the record, I saw the files and figured the problem: there is a
> syntax error if the %includ
For the record, I saw the files and figured the problem: there is a
syntax error if the %include directive is at the very end of the
including file.
For example if I have a file romeo.liq, possibly empty or containing
only comments, and I include it in the following file:
===
%include "romeo.liq"
Maybe you could show us your files. Try to simplify them before (and
you might even find the problem by yourself when doing so).
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanni
2009/5/14 Romeo
> Hi, Savonet Team!
>
> is there a proper way to use includes?
>
> if i write
>
> %include "/path/to/script.liq"
>
> liquidsoap says something about unbound symbols. if script.liq is empty, it
> points on %include line, otherwise it points to the last symbol of
> script.liq
>
> i
2009/5/13 Romeo :
> is there a proper way to use includes?
> %include "/path/to/script.liq"
This is the proper way. But the order matters: what is defined in the
including script before the %include is not visible from the included
script. In other words, an %include is like in C, it's rigorously
Hi, Savonet Team!
is there a proper way to use includes?
if i write
%include "/path/to/script.liq"
liquidsoap says something about unbound symbols. if script.liq is empty, it
points on %include line, otherwise it points to the last symbol of
script.liq
i want to write some common definitions i