[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: forall on fd
From: |
Hector Palacios |
Subject: |
Re: forall on fd |
Date: |
Wed, 24 Oct 2001 11:15:20 -0400 (VET) |
Ok. After look inside the generated code, I think the
problem is that macros: fd_forall, fd_forall_end
weren't defined in fd_to_c.h
like the others: fd_load_max, fd_tell_interval.
They report a parse problem because the lack of ";"
So, forall is in the FD_SYNTAX but actually it is NOT
support by fd2c, isn't it?
Thanks for all.
On Wed, 24 Oct 2001, Hector Palacios wrote:
> I had the following error. Any idea???
> It seems like an error of fd2c.
> -------------------
> address@hidden planner]$ gplc stp_fd.fd
> `-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro'
> instead.
> /tmp/gplcMySErO.c: In function `fd_minlist_bloc_1':
> /tmp/gplcMySErO.c:31: parse error before '{' token
> /tmp/gplcMySErO.c:31: label `lab_exit' used but not defined
> /tmp/gplcMySErO.c: At top level:
> /tmp/gplcMySErO.c:33: parse error before "lab_exit"
> compilation failed
> address@hidden planner]$ gplc --version
> Prolog compiler (GNU Prolog) 1.2.8
> By Daniel Diaz
> -------------------------
>
> /* stp_fd.fd */
> fd_minlist(fdv M, l_fdv L)
>
> {
> start forall Li of L do M in 0 .. max(Li)
> }
> ------------
>
> Thanks.
--
/--------------------------------------------------------------------------\
| Artificial Intelligence Group | He venido para que tengan vida, y la |
| Universidad Simon Bolivar | tengan en abundancia. Jesus de Nazaret |
|---------------------------------------------------------------------------|
| Hector Luis Palacios Verdes | address@hidden, address@hidden |
\--------------------------------------------------------------------------/