Exception on quote character literal input

Nicolas Pelletier <[email protected]> Wed, 13 May 2009 22:03:18 +0900
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
Hello,

I noticed the following behaviour with both GNU Prolog 1.3.1 and GNU
Prolog 20090310, on:

Linux tamago 2.6.26-2-amd64 #1 SMP Fri Mar 27 04:02:59 UTC 2009 x86_64 GNU/Linux

Here is what I get:

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