|
From: | Dave Sworin |
Subject: | Maybe this is another bug? |
Date: | Fri, 27 Jun 2008 07:27:12 -0700 (PDT) |
Hello,
It seems that if I put the following (bad) code in a file and try to compile it, that gprolog goes into an infinite loop. I have only tried this on Fedora Core 4. A predicate without arguments is fine, but not with empty parentheses. This is fine with me. However, I am an old C programmer and did this by accident in a much larger file. I'm not sure this is a bug, but maybe you want to fix it. By-the-way, the problem does not occur if a predicate does not preceed it in the file. For example, without the predicate mypred/1 below, the bug does not occur. Can you reproduce this problem also?
Dave ----------------------------------------------
mypred(ARG1) :-
test_case() :-
---------------------------------------------- |
[Prev in Thread] | Current Thread | [Next in Thread] |