SWI-Prolog / swipl-devel

SWI-Prolog Main development repository
http://www.swi-prolog.org
Other
976 stars 176 forks source link

Missing set_prolog_flag(double_quotes,codes) directive? #516

Closed pmoura closed 5 years ago

pmoura commented 5 years ago

The progman module seems to require a set_prolog_flag(double_quotes,codes) directive, which is missing:

https://github.com/SWI-Prolog/swipl-devel/blob/6718ecfeba1f0ea793e18876b326300313efb6ac/library/progman.pl#L218

This possible issue was raised by the Logtalk linter:

*     No matching clause for goal: char(",",A,B)
*       while compiling object progman
*       in file /Users/pmoura/Documents/Prolog/swipl-devel/library/progman.pl between lines 217-220
JanWielemaker commented 5 years ago

Updated the source to avoid the need for char//1. Thanks.