When compiling a goal, always check if it's a clause body goal (and not, e.g. an initialization goal or a lambda expression).
When compiling a goal, always check if it's a clause body goal (and not, e.g. an initialization goal or a lambda expression).

git-svn-id: 4c7b768bc2e2a56aa1c56b1b5a9454ba68342430@5981 ac9c905b-388a-4ddf-9b6a-4063a022bc57

LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2