ERROR: end of file under quasi quotation

407 views
Skip to first unread message

Jorge G Forero

unread,
May 20, 2016, 2:36:02 PM5/20/16
to SWI-Prolog
Dear All
I was working normally using Textwrangler to edit the source file in my path and some-how eventually this message appears when I tried a few predicates for syntax errors. true is shown at the end after consulting my file.
Is it a bug? How to avoid it?
Thanks
Jorge

Wouter Beek

unread,
May 20, 2016, 6:38:25 PM5/20/16
to Jorge G Forero, SWI-Prolog
Hi Jorge,

Textwrangler seems to be some kind of text editor.  Can you share the text file you've edited with it?  Purely based on the error message I'm expecting you have a `{|...||...' appearing somewhere.  Specifically, if I put (only) the following in a Prolog source file I get the same error:

```
{|aap||noot
```

The quasi-quotation syntax is documented over here: http://www.swi-prolog.org/pldoc/man?section=quasiquotations

---
Cheers!,
Wouter.

--
You received this message because you are subscribed to the Google Groups "SWI-Prolog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swi-prolog+...@googlegroups.com.
Visit this group at https://groups.google.com/group/swi-prolog.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages