Literal quote character causes exception.
Nicolas Pelletier <[email protected]> Thu, 14 May 2009 20:02:07 +0900
| Newsgroups | gmane.comp.gnu.prolog.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I found the following behaviour both in GNU Prolog 1.3.1 and GNU
Prolog 20090310, which I believe is incorrect:
nicolas@tamago:~/tmp$ gprolog
GNU Prolog 1.3.2
By Daniel Diaz
Copyright (C) 1999-2009 Daniel Diaz
| ?- X = 0''.
uncaught exception: error(syntax_error('user_input:1 (char:8) quote
character expected here'),read_term/3)
I expected the substitution X = 39 as the result of my query. Would
you please look into this problem ?
Thanks in advance.
--
Nicolas